diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2006-08-21 15:06:20 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2006-08-21 15:06:20 +0000 |
commit | 46115309e7ea179b8f9b9a135e7f92cb106a4645 (patch) | |
tree | a1e9c321cdfe0523a53899ccf7f0a54a699207d8 /Makefile.PL | |
parent | 449d447d3a930c5fa2c74466fa62111c4bf16928 (diff) | |
download | rpmtools-46115309e7ea179b8f9b9a135e7f92cb106a4645.tar rpmtools-46115309e7ea179b8f9b9a135e7f92cb106a4645.tar.gz rpmtools-46115309e7ea179b8f9b9a135e7f92cb106a4645.tar.bz2 rpmtools-46115309e7ea179b8f9b9a135e7f92cb106a4645.tar.xz rpmtools-46115309e7ea179b8f9b9a135e7f92cb106a4645.zip |
- do no longer use specfile from here
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Makefile.PL b/Makefile.PL index 3a2fe55..028430a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,17 +3,7 @@ use strict; use ExtUtils::MakeMaker; -my $spec; -{ - local $/ = undef; - open my $specfh, 'rpmtools.spec' or die "Can't open rpmtools.spec: $!\n"; - $spec = <$specfh>; - close $specfh; -} - -(my $rpmtools_version) = $spec =~ /define\s+version\s+(\d+\.\d+\.\d+)/ - or die "no version found\n"; -warn "building rpmtools version v$rpmtools_version\n"; +my $rpmtools_version = "5.0.29"; # to generate the ChangeLog depending on the checkout layout my $commonusername = "../common/"; @@ -45,8 +35,6 @@ ChangeLog: LC_ALL=C svn2cl --accum --strip-prefix=soft/rpm/rpmtools/trunk --authors ${commonusername}username.xml rm -f *.bak -rpm: dist - rpm --define "_sourcedir `pwd`" -ba --clean --rmsource rpmtools.spec MAKEMAKEFILE } |