Simplify Test::Kwalitee conditional
This commit is contained in:
parent
e2b5365ff6
commit
21741bcfca
@ -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@city-fan.org> - 1.47-3
|
||||
- simplify Test::Kwalitee conditional
|
||||
|
||||
* Thu Apr 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.47-2
|
||||
- make module Kwalitee conditional
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user