[perl-Test-EOL] Nobody else likes macros for commands
Paul Howarth
pghmcfc at fedoraproject.org
Thu Jun 30 18:43:16 UTC 2011
commit c446e409fde2c70ea563d1f568764ac48b3f1473
Author: Paul Howarth <paul at city-fan.org>
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 at city-fan.org> - 0.9-5
+- Nobody else likes macros for commands
+
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.9-4
- Perl mass rebuild
- Add macro perl_bootstrap
More information about the perl-devel
mailing list