[perl-JSON-PP] Don't use macros for system commands

Paul Howarth pghmcfc at fedoraproject.org
Sun May 22 20:41:56 UTC 2011


commit b2764f3507f14cd9f3f47561eb7e93ffd791cfd4
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun May 22 21:41:04 2011 +0100

    Don't use macros for system commands

 perl-JSON-PP.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/perl-JSON-PP.spec b/perl-JSON-PP.spec
index dc4426e..b972e41 100644
--- a/perl-JSON-PP.spec
+++ b/perl-JSON-PP.spec
@@ -6,12 +6,12 @@ License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/CPAN-Meta-YAML/
 Source0:	http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-PP-%{version}.tar.gz
-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)
 BuildRequires:	perl(Tie::IxHash)
-Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Conflicts:	perl-JSON < 2.50
 
 %description


More information about the scm-commits mailing list