diff options
author | Jerome Quelin <jquelin@mageia.org> | 2011-03-02 17:50:42 +0000 |
---|---|---|
committer | Jerome Quelin <jquelin@mageia.org> | 2011-03-02 17:50:42 +0000 |
commit | fd524c2a0adc3204f43e8db1cda805f7c92abd52 (patch) | |
tree | b8c5c5a332e90e843338b78461213205cd227a93 /perl.prov | |
parent | 0f1dd7bebbea6916dc5d698099a8a4cbfb829e81 (diff) | |
download | rpm-setup-fd524c2a0adc3204f43e8db1cda805f7c92abd52.tar rpm-setup-fd524c2a0adc3204f43e8db1cda805f7c92abd52.tar.gz rpm-setup-fd524c2a0adc3204f43e8db1cda805f7c92abd52.tar.bz2 rpm-setup-fd524c2a0adc3204f43e8db1cda805f7c92abd52.tar.xz rpm-setup-fd524c2a0adc3204f43e8db1cda805f7c92abd52.zip |
make v1.118 work with perl modules having a number followed by a _ in1.119
their name, and a fully qualified VERSION (eg $l1_cache::VERSION = ...)
Diffstat (limited to 'perl.prov')
-rwxr-xr-x | perl.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ sub process_file { if (m/(\$Revision: (\d+[.0-9]+))/) { $version= $2; - } elsif (m/[\'\"]?(\d+[._0-9]+)[\'\"]?/) { + } elsif (m/VERSION.*?[\'\"]?(\d+[._0-9]+)[\'\"]?/) { # look for a static number hard coded in the script |