[perl-Email-Received: 4/9] Replace usage of the %{__perl} macro by the plain perl command

Mathieu Bridon bochecha at fedoraproject.org
Mon Jan 28 04:34:37 UTC 2013


commit 7b29652bd9fc6a3e39c592b88132073d451b066e
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Thu Jan 24 13:04:50 2013 +0800

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

 perl-Email-Received.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-Email-Received.spec b/perl-Email-Received.spec
index cb188e3..2d4bf95 100644
--- a/perl-Email-Received.spec
+++ b/perl-Email-Received.spec
@@ -18,7 +18,7 @@ BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Text::Balanced)
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module is a Perl Email Project rewrite of SpamAssassin's email header
@@ -32,7 +32,7 @@ other than SpamAssassin itself.
 
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 
@@ -55,6 +55,7 @@ make test
 
 %changelog
 - Add missing build requirements.
+- Replace usage of the %%{__perl} macro by the plain perl command.
 
 * Fri Jan 18 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.00-1
 - Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list