From 87dc4020033449170d98f9a24cd124a4853a021c Mon Sep 17 00:00:00 2001 From: Robin Norwood Date: Tue, 27 Feb 2007 16:37:50 +0000 Subject: [PATCH] fix lib directory for 'CGI' in %install section. --- perl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl.spec b/perl.spec index 2e204a0..23933b9 100644 --- a/perl.spec +++ b/perl.spec @@ -390,7 +390,7 @@ find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -exec rm -f {} ';' # Cleanup binary paths and make cgi files executable -pushd $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/CGI/eg/ +pushd $RPM_BUILD_ROOT/usr/lib/perl5/%{version}/CGI/eg/ for i in *.cgi make_links.pl RunMeFirst ; do sed -i 's|/usr/local/bin/perl|/usr/bin/perl|g' $i chmod +x $i