summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-13 19:10:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-13 19:10:58 +0000
commitb7db31a0dafc4c87883dbdd99b88222cc97566d6 (patch)
tree95ba15b1ba579d1037d2de0f22afe93f35e201ab /perl-install
parentf7b05108a6f910aef3095835c5ef6662aeb272ca (diff)
downloaddrakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar.gz
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar.bz2
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.tar.xz
drakx-backup-do-not-use-b7db31a0dafc4c87883dbdd99b88222cc97566d6.zip
use PerlIO-gzip
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile3
-rw-r--r--perl-install/share/list3
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index d62ad5390..aa40d5275 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -57,6 +57,7 @@ install_pms: $(DIRS)
for i in `perl -ne 's/sub (\w+?)_? {.*/$$1/ and print' commands.pm` sync; do ln -sf commands $(DEST)/usr/bin/$$i; done
install -d $(DESTREP4PMS)
+ find $(DESTREP4PMS) -name "*.gz.pm" | xargs rm -f
for i in $(PMS); do \
dest=$(DESTREP4PMS)/`dirname $$i`; \
install -d $$dest; \
@@ -191,6 +192,8 @@ full_stage2:
stage2:
$(MAKE) install_pms
+ find $(DEST)/usr -name "*.pm" | xargs gzip -9f
+ cd $(DEST)/usr/lib/perl5 ; gunzip 5.*/{PerlIO,Exporter}.pm.gz 5.*/*-linux-thread-multi/{XSLoader,lib}.pm.gz vendor_perl/*/*-linux-thread-multi/PerlIO/gzip.pm.gz
$(ROOTDEST)/misc/make_mdkinst_stage2 $(DEST) $(ROOTDEST)/Mandrake/base/mdkinst_stage2
# rules to build a test rpm
diff --git a/perl-install/share/list b/perl-install/share/list
index e5cf9c024..11fa3f799 100644
--- a/perl-install/share/list
+++ b/perl-install/share/list
@@ -72,6 +72,7 @@
/usr/lib/perl5/PERL_VERSION/Exporter.pm
/usr/lib/perl5/PERL_VERSION/Exporter/Heavy.pm
/usr/lib/perl5/PERL_VERSION/FileHandle.pm
+/usr/lib/perl5/PERL_VERSION/PerlIO.pm
/usr/lib/perl5/PERL_VERSION/SelectSaver.pm
/usr/lib/perl5/PERL_VERSION/SelfLoader.pm
/usr/lib/perl5/PERL_VERSION/Symbol.pm
@@ -142,6 +143,8 @@
/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/URPM.pm
/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/URPM/Resolve.pm
/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/auto/URPM/URPM.so
+/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/PerlIO/gzip.pm
+/usr/lib/perl5/vendor_perl/PERL_VERSION/ARCH-linux-thread-multi/auto/PerlIO/gzip/gzip.so
/usr/LIB/rpm/rpmrc
/usr/LIB/rpm/macros
/sbin/rescuept