summaryrefslogtreecommitdiffstats
path: root/RPM4/src
diff options
context:
space:
mode:
authornanardon <nanardon@971eb68f-4bfb-0310-8326-d2484c010a4c>2006-06-10 16:25:48 +0000
committernanardon <nanardon@971eb68f-4bfb-0310-8326-d2484c010a4c>2006-06-10 16:25:48 +0000
commit72afe471dd6ebc52debefecf1535b57af9193291 (patch)
tree2e66f58878ff4d8a0d91332333e3cb5ff06cf15b /RPM4/src
parent71257a8348937933c868d941092f18c5645fe64f (diff)
downloadperl-RPM4-72afe471dd6ebc52debefecf1535b57af9193291.tar
perl-RPM4-72afe471dd6ebc52debefecf1535b57af9193291.tar.gz
perl-RPM4-72afe471dd6ebc52debefecf1535b57af9193291.tar.bz2
perl-RPM4-72afe471dd6ebc52debefecf1535b57af9193291.tar.xz
perl-RPM4-72afe471dd6ebc52debefecf1535b57af9193291.zip
add rpm 4.4.6 marker, improve the detection
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@99 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/src')
-rw-r--r--RPM4/src/Makefile.PL10
1 files changed, 5 insertions, 5 deletions
diff --git a/RPM4/src/Makefile.PL b/RPM4/src/Makefile.PL
index 133464d..4c15e7f 100644
--- a/RPM4/src/Makefile.PL
+++ b/RPM4/src/Makefile.PL
@@ -35,12 +35,12 @@ foreach (qw(
4.4.2
4.4.3
4.4.4
+ 4.4.6
)) {
- if ($rpmv ge $_) {
- $v = $_;
- $v =~ s/\./_/g;
- print $FH "#define RPM$v\n";
- }
+ $v = $_;
+ $v =~ s/\./_/g;
+ print $FH "#define RPM$v\n";
+ $rpmv eq $_ and last;
}
print $FH "\n#endif\n";
close($FH);