summaryrefslogtreecommitdiffstats
path: root/RPM4
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4')
-rw-r--r--RPM4/Makefile.PL2
-rw-r--r--RPM4/NEWS1
2 files changed, 2 insertions, 1 deletions
diff --git a/RPM4/Makefile.PL b/RPM4/Makefile.PL
index 0aad8cb..6cf0805 100644
--- a/RPM4/Makefile.PL
+++ b/RPM4/Makefile.PL
@@ -5,7 +5,7 @@ use ExtUtils::MakeMaker;
use Getopt::Long;
#- require at least rpm 4.2
-my $rpm_version = `rpm --version` =~ /version ([0-9.]+)$/ ? version->new("v$1") : ();
+my $rpm_version = `rpm --version` =~ /version ([0-9.]+)(?:-beta.*)$/ ? version->new("v$1") : ();
$rpm_version ge 4.8.0
or die <<BARF;
Unable to build RPM4 with too old (or undetected) rpm version $rpm_version
diff --git a/RPM4/NEWS b/RPM4/NEWS
index b0aa2b2..857de40 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,4 +1,5 @@
- drop support for repackage (not working anymore since rpm-4.6)
+- fix retrieving rpm version with beta versions
- fix srcrpm()
- fix --rpmversion (broken for 6+ years...)