Changed files:
perl.spec -> 1.55
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*