]> git.pld-linux.org Git - packages/perl.git/commitdiff
- release 11, perl-5_6_0-11
authorkloczek <kloczek@pld-linux.org>
Sun, 26 Nov 2000 21:34:46 +0000 (21:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -Dcccdlflags='-fPIC',
- use -Dcc=%%{__cc} instead directly -Dcc=gcc (potentialy this allow build
  perl on axp using ccc),
- removed -Duseshrplib (this disallow compile perl on sparc),
- use conditionaly on sparc -Ud_longdbl,
- added using new rpm automation.

Changed files:
    perl.spec -> 1.61

perl.spec

index cca6936f73407ad63cfb830f6be1aa967cf30df2..0cd7f70f732fbf803934405afb7f52d0b068148c 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -7,7 +7,7 @@ Summary(pl):    Practical Extraction and Report Language (Perl)
 Summary(tr):   Kabuk yorumlama dili
 Name:          perl
 Version:       5.6.0
-Release:       2
+Release:       11
 Epoch:         1
 License:       GPL
 Group:         Utilities/Text
@@ -126,27 +126,24 @@ EOF
 
 sh Configure \
        -des \
-       -Dcc=gcc \
+       -Dcc=%{__cc} \
        -Darchname=%{_target_platform} \
+       -Dcccdlflags='-fPIC' \
        -Dprefix=%{_prefix} \
        -Dscriptdir=%{_bindir} \
        -Dman1dir=%{_mandir}/man1 \
        -Dman3dir=%{_mandir}/man3 \
        -Dman3ext=3pm \
        -Doptimize="$RPM_OPT_FLAGS" \
-       -Duseshrplib \
        -Dusethreads \
        -Uuselargefiles \
-       -Dd_dosuid \
-       -Ud_setresuid \
-       -Ud_setresgid 
+%ifarch sparc sparc64
+       -Ud_longdbl \
+%endif
+       -Dd_dosuid
 
 %{__make}
 
-## Strip binaries (done now rather than at install)
-
-strip {perl,suidperl,x2p/a2p}
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
@@ -197,11 +194,7 @@ mv -f .packlist.new .packlist
 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*
-
-find $RPM_BUILD_ROOT%{_libdir}/perl5 -name \*.so \
-       -exec strip --strip-unneeded {} \;
+gzip -9nf README Change*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.263063 seconds and 4 git commands to generate.