Modernize spec file
This commit is contained in:
parent
c0d0de8d63
commit
4e70561955
@ -1,13 +1,16 @@
|
|||||||
Name: perl-LWP-Protocol-https
|
Name: perl-LWP-Protocol-https
|
||||||
Version: 6.04
|
Version: 6.04
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Provide HTTPS support for LWP::UserAgent
|
Summary: Provide HTTPS support for LWP::UserAgent
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/LWP-Protocol-https/
|
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
|
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Getopt::Long)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
# Run-requires
|
# Run-requires
|
||||||
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
||||||
BuildRequires: perl(LWP::Protocol::http)
|
BuildRequires: perl(LWP::Protocol::http)
|
||||||
@ -16,7 +19,7 @@ BuildRequires: perl(Net::HTTPS) >= 6
|
|||||||
# Tests
|
# Tests
|
||||||
BuildRequires: perl(LWP::UserAgent) >= 6.04
|
BuildRequires: perl(LWP::UserAgent) >= 6.04
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(IO::Socket::SSL) >= 1.54
|
Requires: perl(IO::Socket::SSL) >= 1.54
|
||||||
Requires: perl(Mozilla::CA) >= 20110101
|
Requires: perl(Mozilla::CA) >= 20110101
|
||||||
Requires: perl(Net::HTTPS) >= 6
|
Requires: perl(Net::HTTPS) >= 6
|
||||||
@ -34,13 +37,12 @@ access sites using HTTP over SSL/TLS.
|
|||||||
%setup -q -n LWP-Protocol-https-%{version}
|
%setup -q -n LWP-Protocol-https-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -52,6 +54,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 6.04-4
|
||||||
|
- Modernize spec file
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user