aboutsummaryrefslogtreecommitdiffstats
path: root/perl.prov
diff options
context:
space:
mode:
authorJérôme Quelin <jquelin@mandriva.org>2009-07-07 17:06:14 +0000
committerJérôme Quelin <jquelin@mandriva.org>2009-07-07 17:06:14 +0000
commitaa90328c785b709a23239fe8d718e2c609374cb4 (patch)
tree0edb18c7d5c5c1181ec4b4c0749ef812be059f78 /perl.prov
parentc67d31bc47a5c7aa5d5e254b5f5fb367826217d0 (diff)
downloadrpm-setup-aa90328c785b709a23239fe8d718e2c609374cb4.tar
rpm-setup-aa90328c785b709a23239fe8d718e2c609374cb4.tar.gz
rpm-setup-aa90328c785b709a23239fe8d718e2c609374cb4.tar.bz2
rpm-setup-aa90328c785b709a23239fe8d718e2c609374cb4.tar.xz
rpm-setup-aa90328c785b709a23239fe8d718e2c609374cb4.zip
making sure automatic provides & requires for perl package are using the
new macro %perl_convert_version cf http://lists.mandriva.com/maintainers/2009-06/msg00050.php
Diffstat (limited to 'perl.prov')
-rwxr-xr-xperl.prov3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.prov b/perl.prov
index b366f64..18739c4 100755
--- a/perl.prov
+++ b/perl.prov
@@ -72,7 +72,8 @@ foreach $module (sort keys %require) {
# operators. Also I will need to change the processing of the
# $RPM_* variable when I upgrade.
- print "perl($module) = $require{$module}\n";
+ my $v = qx{ rpm --eval '%perl_convert_version $require{$module}' };
+ print "perl($module) = $v\n";
}
}