[perl-Net-IDN-Nameprep: 3/10] Replace the usage of the %{__perl} macro by the plain perl command

Mathieu Bridon bochecha at fedoraproject.org
Thu Feb 7 02:57:25 UTC 2013


commit 3b2a12edfa74ca8175ab6618fe9b46bd29b610d5
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Wed Jan 23 12:30:30 2013 +0800

    Replace the usage of the %{__perl} macro by the plain perl command
    
    This was suggested by Petr during the review.

 perl-Net-IDN-Nameprep.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/perl-Net-IDN-Nameprep.spec b/perl-Net-IDN-Nameprep.spec
index 5256a5d..764bc01 100644
--- a/perl-Net-IDN-Nameprep.spec
+++ b/perl-Net-IDN-Nameprep.spec
@@ -13,7 +13,7 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::NoWarnings)
 BuildRequires:  perl(Unicode::Stringprep) >= 1.1
 
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -31,7 +31,7 @@ for internationalizing the Domain Name System (DNS).
 
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 
@@ -52,5 +52,7 @@ for internationalizing the Domain Name System (DNS).
 
 
 %changelog
+- Replace the usage of the %%{__perl} macro by the plain perl command.
+
 * Fri Jan 04 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.101-1
 - Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list