]> git.pld-linux.org Git - packages/perl.git/blobdiff - perl.spec
d41edb020c64e4f5dbafabab42f82edd perl-CPAN-1.50.patch
[packages/perl.git] / perl.spec
index 41659f750a18bd8f58e5704840260d234b3bd365..b629224c2083b6b4637278527783663152a9b1a9 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -8,19 +8,19 @@ Summary(tr):  Kabuk yorumlama dili
 Name:          perl
 Version:       5.6.0
 Release:       1
-Serial:                1
+Epoch:         1
 License:       GPL
 Group:         Utilities/Text
 Group(fr):     Utilitaires/Texte
 Group(pl):     Narzêdzia/Tekst
 Source:                ftp://ftp.perl.org/pub/perl/CPAN/src/%{name}-%{version}.tar.gz
 Patch0:                perl-noroot_install.patch
-Patch1:                perl-installman.patch
-Patch2:                perl-nodb.patch
-Patch3:                perl-DESTDIR.patch
-Patch4:                perl-CPAN-1.54.patch
-Patch5:                perl-find-provides.patch
-Patch6:                perl-prereq.patch
+Patch1:                perl-nodb.patch
+Patch2:                perl-DESTDIR.patch
+Patch3:                perl-CPAN-1.54.patch
+Patch4:                perl-find-provides.patch
+Patch5:                perl-prereq.patch
+Patch6:                perl-syslog.patch
 URL:           http://www.perl.org/
 #Requires:     csh
 Obsoletes:     perl-ANSIColor
@@ -130,6 +130,7 @@ sh Configure \
        -Doptimize="$RPM_OPT_FLAGS" \
        -Duseshrplib \
        -Dusethreads \
+       -Uuselargefiles \
        -Dd_dosuid \
        -Ud_setresuid \
        -Ud_setresgid 
@@ -177,21 +178,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.056198 seconds and 4 git commands to generate.