make module Kwalitee conditional on distribution

This commit is contained in:
Marcela Mašláňová 2012-04-19 14:54:06 +02:00
parent 2bbbe67b57
commit e2b5365ff6

View File

@ -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@redhat.com> - 1.47-2
- make module Kwalitee conditional
* Wed Apr 4 2012 Paul Howarth <paul@city-fan.org> - 1.47-1
- update to 1.47
- fixed overlong lines and spelling errors in pod