From c1bd76a59c2542f8468dd429472c3cab9082801f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org> Date: Sun, 31 Jan 2016 06:06:10 +0100 Subject: Modernize spec.
--- perl-File-Copy-Recursive.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/perl-File-Copy-Recursive.spec b/perl-File-Copy-Recursive.spec index 899fece..95ddaa8 100644 --- a/perl-File-Copy-Recursive.spec +++ b/perl-File-Copy-Recursive.spec @@ -1,12 +1,12 @@ Name: perl-File-Copy-Recursive Version: 0.38 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Extension for recursively copying files and directories License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Copy-Recursive/ Source0: http://www.cpan.org/modules/by-module/File/File-Copy-Recursive-%{version}.tar.gz -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Exporter) @@ -22,13 +22,11 @@ attempts to preserve each file or directory's mode. %setup -q -n File-Copy-Recursive-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* %check @@ -40,6 +38,9 @@ make test %{_mandir}/man3/* %changelog +* Sun Jan 31 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.38-21 +- Modernize spec. + * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> - 0.38-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-File-Copy-Recursive.git/commit/?h=master&id=c1bd76a59c2542f8468dd429472c3cab9082801f -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org