X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-Text-Quoted.git;a=blobdiff_plain;f=perl-Text-Quoted.spec;fp=perl-Text-Quoted.spec;h=4c484e6e9ccbdf76fd5bbb382d979303e2c0c665;hp=32f64570d65ecf09a06ef4df0a87368444ecf85b;hb=52c8e06550cd49d9013a97a670a6672cc041e228;hpb=2a20d2acc5f57956a7e03bf68cd4933d6d501278 diff --git a/perl-Text-Quoted.spec b/perl-Text-Quoted.spec index 32f6457..4c484e6 100644 --- a/perl-Text-Quoted.spec +++ b/perl-Text-Quoted.spec @@ -17,6 +17,9 @@ Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version # Source0-md5: cec22ff657590d1e3dbf89ad17f3f94a BuildRequires: perl-devel >= 5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 +%if %{!?_without_tests:1}0 +BuildRequires: perl-Text-Autoformat +%endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -34,7 +37,7 @@ zagnie %setup -q -n %{pdir}-%{pnam}-%{version} %build -find -type f | xargs perl -pi -e 's,/usr/local,/usr,g' +find -type f | xargs %{__perl} -pi -e 's,/usr/local,/usr,g' %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make}