]> git.pld-linux.org Git - packages/perl-CGI.git/commitdiff
- fixed (there is subdir in examples), use perl instead of sed 4.0
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 31 Jan 2004 15:07:34 +0000 (15:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-CGI.spec -> 1.51

perl-CGI.spec

index 39db5c07bdc120ace3315762037619d302f7aa29..b3c268e17a906fa85a51283eb20e3767439296f2 100644 (file)
@@ -48,6 +48,8 @@ Przyk
 %prep
 %setup -q -n %{pnam}.pm-%{version}
 
+%{__perl} -pi -e 's|/usr/local/bin/perl|/usr/bin/perl|g' examples/*.cgi
+
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
@@ -55,10 +57,6 @@ Przyk
 
 %{?with_tests:%{__make} test}
 
-cd examples
-sed -i -e 's|/usr/local/bin/perl|/usr/bin/perl|g' *
-cd ..
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}
This page took 0.061568 seconds and 4 git commands to generate.