diff options
-rwxr-xr-x | perl.prov | 3 | ||||
-rwxr-xr-x | perl.req | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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"; } } @@ -64,7 +64,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"; } } |