commit e66a9583e1befc75ad8316e05843bf7002d9f350 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Sun Jul 14 20:11:44 2013 +0200 Update dependencies; Use DESTDIR perl-WWW-Curl.spec | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) --- diff --git a/perl-WWW-Curl.spec b/perl-WWW-Curl.spec index 8d71fc8..9af3b29 100644 --- a/perl-WWW-Curl.spec +++ b/perl-WWW-Curl.spec @@ -1,21 +1,26 @@ Name: perl-WWW-Curl Version: 4.15 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Perl extension interface for libcurl License: MPLv1.1 or MIT Group: Development/Libraries URL: http://search.cpan.org/dist/WWW-Curl/ Source0: http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz +BuildRequires: perl BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) +BuildRequires: perl(lib) +BuildRequires: perl(strict) BuildRequires: perl(Test::More) +# Test::Pod is optional +BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) BuildRequires: libcurl-devel -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -29,15 +34,14 @@ WWW::Curl is a Perl extension interface for libcurl. rm -rf inc/* %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %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 '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* @@ -63,6 +67,11 @@ make test %{_mandir}/man3/* %changelog +* Sun Jul 14 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 4.15-10 +- Update dependencies +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Remove buildroot cleaning + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.15-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel