commit f1b8466479b069665a5a354d83ad09b3f9b23345 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Feb 7 15:16:10 2013 +0100 Modernize spec file perl-podlators.spec | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) --- diff --git a/perl-podlators.spec b/perl-podlators.spec index 62d98c0..9be6e02 100644 --- a/perl-podlators.spec +++ b/perl-podlators.spec @@ -7,6 +7,7 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/podlators/ Source0: http://www.cpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.8 # Run-time: @@ -18,7 +19,7 @@ BuildRequires: perl(Term::ANSIColor) BuildRequires: perl(Term::Cap) # Tests: 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(File::Spec) >= 0.8 Requires: perl(Pod::Simple) >= 3.06 Conflicts: perl < 4:5.16.1-234 @@ -36,7 +37,7 @@ with various capabilities. %setup -q -n podlators-%{version} %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