[Mageia-sysadm] [147] do not add rpm extension when building packages list

root at mageia.org root at mageia.org
Thu Nov 25 19:07:24 CET 2010


Revision: 147
Author:   blino
Date:     2010-11-25 19:07:24 +0100 (Thu, 25 Nov 2010)
Log Message:
-----------
do not add rpm extension when building packages list

Modified Paths:
--------------
    build_system/iurt/trunk/lib/Iurt/Chroot.pm

Modified: build_system/iurt/trunk/lib/Iurt/Chroot.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Chroot.pm	2010-11-25 12:13:11 UTC (rev 146)
+++ build_system/iurt/trunk/lib/Iurt/Chroot.pm	2010-11-25 18:07:24 UTC (rev 147)
@@ -541,7 +541,7 @@
     sudo($run, $config, "--rm", "$tmp_chroot/etc/urpmi/urpmi.cfg");
     sudo($run, $config, "--rm", "$tmp_chroot/var/lib/urpmi/*");
 
-    system("rpm -qa --root $tmp_chroot --qf '\%{NAME}-\%{VERSION}-\%{RELEASE}.\%{ARCH}.rpm\n' | sort > $tmp_chroot/tmp/qa");
+    system("rpm -qa --root $tmp_chroot --qf '\%{NAME}-\%{VERSION}-\%{RELEASE}.\%{ARCH}\n' | sort > $tmp_chroot/tmp/qa");
     sudo($run, $config, "--cp", "$tmp_chroot/tmp/qa", "$tmp_chroot/var/log/qa");
     unlink("$tmp_chroot/tmp/qa");
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101125/2ff8d7ce/attachment-0001.html>


More information about the Mageia-sysadm mailing list