[perl-Net-SSLeay] Simplify Test::Kwalitee conditional

Paul Howarth pghmcfc at fedoraproject.org
Thu Apr 19 13:15:43 UTC 2012


commit 21741bcfcaa781dd962deeeff67ec8a85cf749aa
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Apr 19 14:15:28 2012 +0100

    Simplify Test::Kwalitee conditional

 perl-Net-SSLeay.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec
index 060062e..960f65b 100644
--- a/perl-Net-SSLeay.spec
+++ b/perl-Net-SSLeay.spec
@@ -1,6 +1,6 @@
 Name:		perl-Net-SSLeay
 Version:	1.47
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Perl extension for using OpenSSL
 Group:		Development/Libraries
 License:	OpenSSL
@@ -16,11 +16,10 @@ BuildRequires:	perl(MIME::Base64)
 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
+# Net::SSLeay in RHEL-7 cannot BR: Test::Kwalitee from EPEL-7
+%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7
 BuildRequires:	perl(Test::Kwalitee)
 %endif
-%endif
 BuildRequires:	perl(Test::NoWarnings)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
@@ -82,6 +81,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Net::SSLeay::Handle.3pm*
 
 %changelog
+* Thu Apr 19 2012 Paul Howarth <paul at city-fan.org> - 1.47-3
+- simplify Test::Kwalitee conditional
+
 * Thu Apr 19 2012 Marcela Mašláňová <mmaslano at redhat.com> - 1.47-2
 - make module Kwalitee conditional
 


More information about the scm-commits mailing list