diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-09 10:27:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-09 10:27:12 +0000 |
commit | 1b75e72986e264603cd54cf2d28ddbacbdb1c2d1 (patch) | |
tree | 8ad00fed524c847affd087cfe5328e93ae2eb085 | |
parent | f3fd6b5c2a6ba85cc6c301ac76a44a0cb981ae0a (diff) | |
download | perl-MDK-Common-1b75e72986e264603cd54cf2d28ddbacbdb1c2d1.tar perl-MDK-Common-1b75e72986e264603cd54cf2d28ddbacbdb1c2d1.tar.gz perl-MDK-Common-1b75e72986e264603cd54cf2d28ddbacbdb1c2d1.tar.bz2 perl-MDK-Common-1b75e72986e264603cd54cf2d28ddbacbdb1c2d1.tar.xz perl-MDK-Common-1b75e72986e264603cd54cf2d28ddbacbdb1c2d1.zip |
adapt to vendorlib, cleanup
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | perl-MDK-Common.spec | 8 |
2 files changed, 9 insertions, 7 deletions
@@ -3,7 +3,7 @@ TAR = $(NAME).tar.bz2 PREFIX = /usr BINDIR = $(PREFIX)/bin -INSTALLSITEARCH = $(shell eval "`perl -V:installsitelib`"; echo $$installsitelib | sed 's,/usr,$(PREFIX),') +INSTALLVENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib | sed 's,/usr,$(PREFIX),') GENERATED = MDK/Common.pm index.html @@ -23,10 +23,10 @@ clean: find -name "*~" | xargs rm -rf install: clean all - install -d $(BINDIR) $(INSTALLSITEARCH)/MDK/Common + install -d $(BINDIR) $(INSTALLVENDORLIB)/MDK/Common install perl_checker $(BINDIR) - install -m 644 MDK/Common.pm $(INSTALLSITEARCH)/MDK - install -m 644 MDK/Common/*.pm $(INSTALLSITEARCH)/MDK/Common + install -m 644 MDK/Common.pm $(INSTALLVENDORLIB)/MDK + install -m 644 MDK/Common/*.pm $(INSTALLVENDORLIB)/MDK/Common rpm: update tar build commit diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec index bd8e5da..63574fb 100644 --- a/perl-MDK-Common.spec +++ b/perl-MDK-Common.spec @@ -2,8 +2,7 @@ # do not change the version here, change in MDK/Common.pm.pl %define version THEVERSION -%define release 1mdk -%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib) +%define release 2mdk Summary: Various simple functions Name: perl-MDK-Common @@ -41,7 +40,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING -%{perl_sitelib}/MDK +%{perl_vendorlib}/MDK %files devel %defattr(-,root,root) @@ -50,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT # MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common %changelog +* Tue Jul 9 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-2mdk +- rebuild for perl 5.8.0 + * Wed Jul 3 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-1mdk - MDK/Common/Func.pm: add "partition" |