From b2764f3507f14cd9f3f47561eb7e93ffd791cfd4 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sun, 22 May 2011 21:41:04 +0100 Subject: [PATCH] Don't use macros for system commands --- perl-JSON-PP.spec | 4 ++-- 1 file 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