diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | perl.prov | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ by glibc for five years now and can safely be assumed that there's no longer any need for it, reducing ~8K packages' dependency on it during next rebuild. (Per Oyvind, mdv) +- perl.prov: sync with upstream rpm.org - use upstream fonconfig.prov as we had exactly the same file Version 1.147-12 - 24 Jul 2012, by Colin @@ -157,8 +157,8 @@ sub process_file { # '$Revision' this often causes bizzare strings and is the most # common method of non static numbering. - if (m/(\$Revision: (\d+[.0-9]+))/) { - $version= $2; + if (m/\$Revision: (\d+[.0-9]+)/) { + $version= $1; } elsif (m/VERSION.*?[\'\"]?(\d+[._0-9]+)[\'\"]?/) { # look for a static number hard coded in the script |