6.03 bump
This commit is contained in:
parent
5c0cbde119
commit
5ec931db4e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/LWP-Protocol-https-6.02.tar.gz
|
||||
/LWP-Protocol-https-6.03.tar.gz
|
||||
|
@ -1,7 +1,6 @@
|
||||
%bcond_with tests # Tests require network access
|
||||
Name: perl-LWP-Protocol-https
|
||||
Version: 6.02
|
||||
Release: 5%{?dist}
|
||||
Version: 6.03
|
||||
Release: 1%{?dist}
|
||||
Summary: Provide HTTPS support for LWP::UserAgent
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -9,25 +8,20 @@ URL: http://search.cpan.org/dist/LWP-Protocol-https/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
%if %{with tests}
|
||||
# Tests:
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.38
|
||||
# Run-requires
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
||||
BuildRequires: perl(LWP::Protocol::http)
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.02
|
||||
BuildRequires: perl(Mozilla::CA) >= 20110101
|
||||
BuildRequires: perl(Net::HTTPS) >= 6
|
||||
%endif
|
||||
# Tests
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.04
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(IO::Socket::SSL) >= 1.38
|
||||
Requires: perl(LWP::UserAgent) >= 6.02
|
||||
Requires: perl(IO::Socket::SSL) >= 1.54
|
||||
Requires: perl(Mozilla::CA) >= 20110101
|
||||
Requires: perl(Net::HTTPS) >= 6
|
||||
|
||||
# Remove underspecified dependencies
|
||||
# RPM 4.8 style
|
||||
%filter_from_requires /^perl(Net::HTTPS)\s*$/d
|
||||
%filter_setup
|
||||
# RPM 4.9 style
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$
|
||||
|
||||
%description
|
||||
@ -50,15 +44,18 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
%{?with_tests:make test}
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1
|
||||
- 6.03 bump
|
||||
- Enable tests by default, they detect connectivity now
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user