From aa90328c785b709a23239fe8d718e2c609374cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Quelin?= Date: Tue, 7 Jul 2009 17:06:14 +0000 Subject: 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 --- perl.req | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl.req') diff --git a/perl.req b/perl.req index 2a4a320..3f85193 100755 --- a/perl.req +++ b/perl.req @@ -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"; } } -- cgit v1.2.1