summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--perl-MDK-Common.spec8
2 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 8fbd289..05253a1 100644
--- a/Makefile
+++ b/Makefile
@@ -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"