commit 4c971129fdcb01088f26afd8ff7d35cf094954f9 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Jan 28 15:13:33 2013 +0100 Modernize spec file perl-DateTime-Format-Duration.spec | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) --- diff --git a/perl-DateTime-Format-Duration.spec b/perl-DateTime-Format-Duration.spec index 55958e7..6236500 100644 --- a/perl-DateTime-Format-Duration.spec +++ b/perl-DateTime-Format-Duration.spec @@ -11,6 +11,7 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/%{cpan_name}/ Source0: http://www.cpan.org/modules/by-module/DateTime/%{cpan_name}-%{version}%{postversion}.tgz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(Carp) @@ -24,7 +25,7 @@ BuildRequires: perl(Params::Validate) BuildRequires: perl(Test::More) # Optional tests: BuildRequires: perl(Test::Pod) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Data::Dumper) Requires: perl(DateTime) >= 0.30 @@ -43,7 +44,7 @@ for F in Changes; do done %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -- 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