diff options
author | Jérôme Quelin <jquelin@mandriva.org> | 2010-07-16 10:30:29 +0000 |
---|---|---|
committer | Jérôme Quelin <jquelin@mandriva.org> | 2010-07-16 10:30:29 +0000 |
commit | f92d0e23dc753ed10afa5a7b1366f157fe63ac07 (patch) | |
tree | 5e3df4b95afefb15323422f9701aa7436ccbdfa5 | |
parent | b8df618f7c537959d6765c08f4a48f535944a92b (diff) | |
download | rpm-setup-f92d0e23dc753ed10afa5a7b1366f157fe63ac07.tar rpm-setup-f92d0e23dc753ed10afa5a7b1366f157fe63ac07.tar.gz rpm-setup-f92d0e23dc753ed10afa5a7b1366f157fe63ac07.tar.bz2 rpm-setup-f92d0e23dc753ed10afa5a7b1366f157fe63ac07.tar.xz rpm-setup-f92d0e23dc753ed10afa5a7b1366f157fe63ac07.zip |
extract perl module version when $Full::Package::VERSION is set1.106
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rwxr-xr-x | perl.prov | 3 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,6 @@ +Version 1.106 - 16 July 2010, by Jerome Quelin +- extract perl module version when $Full::Package::VERSION is set + Version 1.105 - 14 July 2010, by Jerome Quelin - support to extract perl runtime requires from meta spec 2 diff --git a/configure.ac b/configure.ac index 36ac112..252ba78 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ # $Id$ AC_PREREQ(2.59) -AC_INIT(rpm-mandriva-setup, 1.105, nanardon@mandriva.org) +AC_INIT(rpm-mandriva-setup, 1.106, nanardon@mandriva.org) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(1.9 -Wno-portability) AC_CONFIG_SRCDIR @@ -146,10 +146,11 @@ sub process_file { #ExtUtils/Install.pm:$VERSION = substr q$Revision$, 10; #CGI/Apache.pm:$VERSION = (qw$Revision$)[1]; #DynaLoader.pm:$VERSION = $VERSION = "1.03"; # avoid typo warning + #$Locale::Maketext::Simple::VERSION = '0.21'; if ( ($package) && - (m/^(.*;)?\s*((my|our)\s+)?\$VERSION\s*=\s+/) + (m/^(.*;)?\s*((my|our)\s+)?\$(${package}::)?VERSION\s*=\s+/) ) { # first see if the version string contains the string |