[perl-Net-SSLeay] BR: perl(Test::Kwalitee) if we're not bootstrapping; explicitly BR: pkgconfig

Paul Howarth pghmcfc at fedoraproject.org
Thu Jul 14 08:27:48 UTC 2011


commit 7c6314a3df1c0782515719ab18e21fa70aea380a
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Jul 14 09:15:39 2011 +0100

    BR: perl(Test::Kwalitee) if we're not bootstrapping; explicitly BR: pkgconfig

 perl-Net-SSLeay.spec |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec
index 31cb3a2..af5b8d3 100644
--- a/perl-Net-SSLeay.spec
+++ b/perl-Net-SSLeay.spec
@@ -8,11 +8,18 @@ URL:		http://search.cpan.org/dist/Net-SSLeay/
 Source0:	http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net-SSLeay-%{version}.tar.gz
 Patch0:		Net-SSLeay-1.36-UTF8.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
-Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-BuildRequires:	perl(ExtUtils::MakeMaker), openssl-devel
+BuildRequires:	openssl-devel, pkgconfig
+BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(MIME::Base64)
-BuildRequires:	perl(Test::Exception), perl(Test::NoWarnings), perl(Test::Pod)
+BuildRequires:	perl(Test::Exception)
+# Test::Kwalitee => Module::CPANTS::Analyze => Net::HTTP => IO::Socket::SSL => Net::SSLeay
+%if 0%{!?perl_bootstrap:1}
+BuildRequires:	perl(Test::Kwalitee)
+%endif
+BuildRequires:	perl(Test::NoWarnings)
+BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Warn)
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # don't "provide" private Perl libs or the redundant unversioned perl(Net::SSLeay) one
 %global _use_internal_dependency_generator 0
@@ -70,6 +77,8 @@ rm -rf %{buildroot}
 
 %changelog
 * Thu Jul 14 2011 Paul Howarth <paul at city-fan.org> - 1.36-6
+- BR: perl(Test::Kwalitee) if we're not bootstrapping
+- explicitly BR: pkgconfig
 - use a patch rather than a scripted iconv to fix the character encoding
 - nobody else likes macros for commands
 


More information about the scm-commits mailing list