[perl-Test-EOL] Nobody else likes macros for commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit c446e409fde2c70ea563d1f568764ac48b3f1473
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Thu Jun 30 10:53:12 2011 +0100

    Nobody else likes macros for commands

 perl-Test-EOL.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Test-EOL.spec b/perl-Test-EOL.spec
index b6ef803..04b424c 100644
--- a/perl-Test-EOL.spec
+++ b/perl-Test-EOL.spec
@@ -1,5 +1,5 @@
 # We don't really need ExtUtils::MakeMaker ≥ 6.31
-%global old_eumm %(%{__perl} -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.31 ? 1 : 0;' 2>/dev/null || echo 0)
+%global old_eumm %(perl -MExtUtils::MakeMaker -e 'printf "%d\\n", $ExtUtils::MakeMaker::VERSION < 6.31 ? 1 : 0;' 2>/dev/null || echo 0)
 
 Name:		perl-Test-EOL
 Version:	0.9
@@ -11,7 +11,7 @@ URL:		http://search.cpan.org/dist/Test-EOL/
 Source0:	http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Test-EOL-%{version}.tar.gz
 Patch0:		Test-EOL-0.8-old-EU::MM.patch
 Patch1:		Test-EOL-0.9-rt59877.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(Test::More)
@@ -24,7 +24,7 @@ BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Pod::Coverage::TrustPod)
 %endif
 %endif
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -68,6 +68,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Test::EOL.3pm*
 
 %changelog
+* Thu Jun 30 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.9-5
+- Nobody else likes macros for commands
+
 * Tue Jun 28 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.9-4
 - Perl mass rebuild
 - Add macro perl_bootstrap
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux