[perl-Net-SSLeay] make module Kwalitee conditional on distribution

Marcela Mašláňová mmaslano at fedoraproject.org
Thu Apr 19 12:54:35 UTC 2012


commit e2b5365ff62f94cbd5d6be048dd08b09960cf156
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Thu Apr 19 14:54:06 2012 +0200

    make module Kwalitee conditional on distribution

 perl-Net-SSLeay.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec
index 6b512de..060062e 100644
--- a/perl-Net-SSLeay.spec
+++ b/perl-Net-SSLeay.spec
@@ -1,6 +1,6 @@
 Name:		perl-Net-SSLeay
 Version:	1.47
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Perl extension for using OpenSSL
 Group:		Development/Libraries
 License:	OpenSSL
@@ -17,8 +17,10 @@ BuildRequires:	perl(Socket)
 BuildRequires:	perl(Test::Exception)
 # Test::Kwalitee => Module::CPANTS::Analyze => Net::HTTP => IO::Socket::SSL => Net::SSLeay
 %if 0%{!?perl_bootstrap:1}
+%if 0%{?fedora} || 0%{?rhel} < 7
 BuildRequires:	perl(Test::Kwalitee)
 %endif
+%endif
 BuildRequires:	perl(Test::NoWarnings)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
@@ -80,6 +82,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Net::SSLeay::Handle.3pm*
 
 %changelog
+* Thu Apr 19 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.47-2
+- make module Kwalitee conditional
+
 * Wed Apr  4 2012 Paul Howarth <paul at city-fan.org> - 1.47-1
 - update to 1.47
   - fixed overlong lines and spelling errors in pod


More information about the scm-commits mailing list