diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2006-07-20 19:56:19 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2006-07-20 19:56:19 +0000 |
commit | be722146ffc28cd5ea55b70a76d9b74ed207cb14 (patch) | |
tree | 50f6fdaa23414186681d1c49ac4ec8706a909926 /Makefile.PL | |
parent | cba83353a4bda1dda61f0ff9a8388fe92d0c270d (diff) | |
download | perl-MDV-Distribconf-be722146ffc28cd5ea55b70a76d9b74ed207cb14.tar perl-MDV-Distribconf-be722146ffc28cd5ea55b70a76d9b74ed207cb14.tar.gz perl-MDV-Distribconf-be722146ffc28cd5ea55b70a76d9b74ed207cb14.tar.bz2 perl-MDV-Distribconf-be722146ffc28cd5ea55b70a76d9b74ed207cb14.tar.xz perl-MDV-Distribconf-be722146ffc28cd5ea55b70a76d9b74ed207cb14.zip |
- do no longer build rpms from here
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/Makefile.PL b/Makefile.PL index f307990..8fd2249 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,32 +5,15 @@ use strict; use ExtUtils::MakeMaker; # where to find the rpm utility -my $rpm_path = $ENV{RPM_PATH}; # this overrides -unless (defined $rpm_path) { - for (qw(/bin/rpm /usr/bin/rpm)) { - if (-x) { - $rpm_path = $_; - last; - } - } -} sub MY::postamble { <<MAKE; -.PHONY: ChangeLog rpmdist srpm rpm - -ChangeLog: ../common/username - cvs2cl -W 400 -I ChangeLog --accum -U ../common/username - rm -f *.bak - -rpmdist: dist - bzme MDV-Distribconf-*.tar.gz +.PHONY: ChangeLog -srpm: rpmdist - rpmbuild -bs --clean --rmsource perl-MDV-Distribconf.spec --define "_sourcedir `pwd`" +ChangeLog: + svn2cl -o ChangeLog || : + rm -f *.bak || : -rpm: rpmdist - rpmbuild -ba --clean --rmsource perl-MDV-Distribconf.spec --define "_sourcedir `pwd`" MAKE } |