]> git.pld-linux.org Git - packages/perl.git/commitdiff
- fixed perms
authorpius <pius@pld-linux.org>
Thu, 13 Jul 2000 22:06:39 +0000 (22:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl.spec -> 1.55

perl.spec

index 41659f750a18bd8f58e5704840260d234b3bd365..475958cf64269b378b2297ae2be7ed169efe35ea 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -177,21 +177,19 @@ gcc-headers: \$(GCCH)
 
 EOF
 
+## Fix paths
 (
 cd $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{_target_platform}%{perlthread}
-
-## Fix permissions
-find . -name \*.ph -exec chmod 644 {} \;
-find . -type d -exec chmod 755 {} \;
-
-## Fix paths
 sed -e "s|$RPM_BUILD_ROOT||g" < Config.pm > Config.pm.new
 mv -f Config.pm.new Config.pm
-
 sed -e "s|$RPM_BUILD_ROOT||g" < .packlist > .packlist.new
 mv -f .packlist.new .packlist
 )
 
+## Fix permissions
+find $RPM_BUILD_ROOT%{_libdir}/perl5 -name \*.ph -exec chmod 444 {} \;
+find $RPM_BUILD_ROOT%{_libdir}/perl5 -type d -exec chmod 755 {} \;
+
 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
        README Change*
 
This page took 0.70964 seconds and 4 git commands to generate.