From 7954af4721458f9cf8bd6a01da66e2f063a27f51 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:04:03 +0000 Subject: [PATCH] auto-import perl-5.8.0-64 from perl-5.8.0-64.src.rpm --- perl-5.8.0-libdir64.patch | 46 ++++++++++++++++++ perl.spec | 98 +++++++++++++++++++++++++++++---------- 2 files changed, 119 insertions(+), 25 deletions(-) create mode 100644 perl-5.8.0-libdir64.patch diff --git a/perl-5.8.0-libdir64.patch b/perl-5.8.0-libdir64.patch new file mode 100644 index 0000000..0ab67a0 --- /dev/null +++ b/perl-5.8.0-libdir64.patch @@ -0,0 +1,46 @@ +--- perl-5.8.0/Configure.orig 2002-09-09 11:31:19.000000000 -0400 ++++ perl-5.8.0/Configure 2002-09-09 11:40:37.000000000 -0400 +@@ -6458,8 +6458,8 @@ + : Reproduce behavior of 5.005 and earlier, maybe drop that in 5.7. + case "$installstyle" in + '') case "$prefix" in +- *perl*) dflt='lib';; +- *) dflt='lib/perl5' ;; ++ *perl*) dflt='lib64';; ++ *) dflt='lib64/perl5' ;; + esac + ;; + *) dflt="$installstyle" ;; +@@ -6475,8 +6475,8 @@ + : /opt/perl/lib/perl5... would be redundant. + : The default "style" setting is made in installstyle.U + case "$installstyle" in +-*lib/perl5*) set dflt privlib lib/$package/$version ;; +-*) set dflt privlib lib/$version ;; ++*lib64/perl5*) set dflt privlib lib64/$package/$version ;; ++*) set dflt privlib lib64/$version ;; + esac + eval $prefixit + $cat < MANIFEST.all -find $RPM_BUILD_ROOT -type d -printf "%%%%dir %p\n" | grep -v Filter >> MANIFEST.all +mkdir -p $RPM_BUILD_ROOT/%{_libdir}/perl5/5.8.0/Net +install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT/%{_libdir}/perl5/5.8.0/Net/libnet.cfg + +find $RPM_BUILD_ROOT -name '*HiRes*' | xargs rm -rfv +find $RPM_BUILD_ROOT -name '*Filter*' | xargs rm -rfv +find $RPM_BUILD_ROOT -name '*NDBM*' | xargs rm -rfv + +find $RPM_BUILD_ROOT -type f -or -type l > MANIFEST.all +find $RPM_BUILD_ROOT -type d -printf "%%%%dir %p\n" >> MANIFEST.all %{new_perl} -i -p -e "s|$RPM_BUILD_ROOT||g;" MANIFEST.all cp MANIFEST.all /tmp @@ -362,8 +401,6 @@ done mv MANIFEST.all.tmp MANIFEST.all %endif -install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT/usr/lib/perl5/5.8.0/Net/libnet.cfg - # fix the rest of the stuff find $RPM_BUILD_ROOT%{_libdir}/perl* -name .packlist -o -name perllocal.pod | \ %{new_perl_flags} xargs $RPM_BUILD_ROOT/%{_bindir}/perl -I lib/ -i -p -e "s|$RPM_BUILD_ROOT||g;" MANIFEST.all @@ -373,6 +410,7 @@ find $RPM_BUILD_ROOT%{_libdir}/perl* -name .packlist -o -name perllocal.pod | \ %files -f MANIFEST.all %defattr(-,root,root) +%config %{_libdir}/perl5/5.8.0/Net/libnet.cfg %files -f %{SOURCE5} CPAN %defattr(-,root,root) @@ -389,6 +427,16 @@ find $RPM_BUILD_ROOT%{_libdir}/perl* -name .packlist -o -name perllocal.pod | \ %endif %changelog +* Thu Nov 7 2002 Chip Turner +- multilib support when building noarch perl modules +- integrate upstream bugfix patches + +* Tue Sep 10 2002 Chip Turner +- integrate patch for /usr/lib64 instead of /usr/lib from Than Ngo + +* Mon Sep 9 2002 Chip Turner +- integrate s390/s390x patch from Florian La Roche + * Sun Sep 1 2002 Chip Turner - fix pager issues; default to /usr/bin/less -isr - more work on pager bug (72125)