[perl-Lingua-Identify: 3/11] Replace usage of the %{__perl} macro by the plain perl command

Mathieu Bridon bochecha at fedoraproject.org
Fri Feb 8 06:59:20 UTC 2013


commit 75d9faa8142558b06d4c74cc5130fbbdbf9d671a
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Thu Jan 24 13:17:54 2013 +0800

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

 perl-Lingua-Identify.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-Lingua-Identify.spec b/perl-Lingua-Identify.spec
index 2f28ba5..7810d1e 100644
--- a/perl-Lingua-Identify.spec
+++ b/perl-Lingua-Identify.spec
@@ -16,7 +16,7 @@ BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(Text::Affixes) >= 0.07
 BuildRequires:  perl(Text::Ngram) >= 0.13
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -37,7 +37,7 @@ Tools related to Lingua::Identify.
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 
@@ -66,5 +66,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.51-1
 - Initial package for Fedora, with help from cpanspec.



More information about the perl-devel mailing list