aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Quelin <jquelin@mandriva.org>2010-07-16 10:30:29 (GMT)
committerJérôme Quelin <jquelin@mandriva.org>2010-07-16 10:30:29 (GMT)
commitf92d0e23dc753ed10afa5a7b1366f157fe63ac07 (patch)
tree5e3df4b95afefb15323422f9701aa7436ccbdfa5
parentb8df618f7c537959d6765c08f4a48f535944a92b (diff)
extract perl module version when $Full::Package::VERSION is set1.106
-rw-r--r--NEWS3
-rw-r--r--configure.ac2
-rwxr-xr-xperl.prov3
3 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5e3e79b..78a8aab 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/perl.prov b/perl.prov
index 3113cb2..b2748e8 100755
--- a/perl.prov
+++ b/perl.prov
@@ -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