[perl-Text-ExtractWords: 3/9] Replace usage of the %{_perl} macro by the plain perl command

Mathieu Bridon bochecha at fedoraproject.org
Wed Feb 6 05:25:25 UTC 2013


commit 37d452bad980fe2f027f13e716cd7357125b19a6
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Tue Feb 5 11:37:15 2013 +0800

    Replace usage of the %{_perl} macro by the plain perl command

 perl-Text-ExtractWords.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 08b28d4..57364bf 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -12,7 +12,7 @@ BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(vars)
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -29,7 +29,7 @@ chmod -x examples/*
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 
@@ -54,5 +54,7 @@ make test
 
 
 %changelog
+- Replace usage of the %%{_perl} macro by the plain perl command.
+
 * Mon Feb 04 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.08-1
 - Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list