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

Mathieu Bridon bochecha at fedoraproject.org
Fri Jan 25 04:53:08 UTC 2013


commit 36b37f45f79702aa9addcf73f1db385b4ca0967b
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Thu Jan 24 12:30:58 2013 +0800

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

 perl-Text-Ngram.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-Text-Ngram.spec b/perl-Text-Ngram.spec
index 59ba783..f558cb7 100644
--- a/perl-Text-Ngram.spec
+++ b/perl-Text-Ngram.spec
@@ -11,7 +11,7 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -28,7 +28,7 @@ and perform spelling correction.
 
 
 %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.
+
 * Fri Jan 18 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.14-1
 - Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list