aboutsummaryrefslogtreecommitdiffstats
path: root/perl.prov
diff options
context:
space:
mode:
authorJerome Quelin <jquelin@mageia.org>2011-02-26 12:04:53 +0000
committerJerome Quelin <jquelin@mageia.org>2011-02-26 12:04:53 +0000
commit0f1dd7bebbea6916dc5d698099a8a4cbfb829e81 (patch)
treed4f7f7841551904547aa5407efbb808eee83d7c4 /perl.prov
parent870a2752cd199aa54e5315b3b495bf40ecbbb9a9 (diff)
downloadrpm-setup-0f1dd7bebbea6916dc5d698099a8a4cbfb829e81.tar
rpm-setup-0f1dd7bebbea6916dc5d698099a8a4cbfb829e81.tar.gz
rpm-setup-0f1dd7bebbea6916dc5d698099a8a4cbfb829e81.tar.bz2
rpm-setup-0f1dd7bebbea6916dc5d698099a8a4cbfb829e81.tar.xz
rpm-setup-0f1dd7bebbea6916dc5d698099a8a4cbfb829e81.zip
1.118 - support for _ in perl module version1.118
Diffstat (limited to 'perl.prov')
-rwxr-xr-xperl.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.prov b/perl.prov
index a6d68bb..85b8e81 100755
--- a/perl.prov
+++ b/perl.prov
@@ -159,7 +159,7 @@ sub process_file {
if (m/(\$Revision: (\d+[.0-9]+))/) {
$version= $2;
- } elsif (m/[\'\"]?(\d+[.0-9]+)[\'\"]?/) {
+ } elsif (m/[\'\"]?(\d+[._0-9]+)[\'\"]?/) {
# look for a static number hard coded in the script