another one

Pavel Roskin proski at gnu.org
Fri Apr 12 16:36:54 UTC 2002


Hi, Havoc!

> Any thoughts on this report?
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306

Thanks! Applied.

rpm has changed its output format several times in the past.  trpm was 
adding "1" (number of links) to the output, which is no longer needed.

The "rpm" filesystem uses rpm2cpio and the output from cpio.  This cannot
be done with trpm.  I'm not trying to placate every rpm version in
existance.  I believe that the future versions of rpm will use the
standard "ls -l" format unless requested to do something else.

I have exactly followed the suggestion of the bug author.  This has been
be applied to CVS and you can apply it to the package.

Good luck with the next RedHat release!

====================================
--- vfs/ChangeLog
+++ vfs/ChangeLog
@@ -1 +1,7 @@
+2002-04-12  Pavel Roskin  <proski at gnu.org>
+
+	* extfs/trpm: update to work with rpm 4.x.
+	Reported by m.lusini at palazzochigi.it
+	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
+
 2002-04-12  Andrew V. Samoilov  <kai at cmail.ru>
--- vfs/extfs/trpm
+++ vfs/extfs/trpm
@@ -103,7 +103,7 @@
         echo "$FILEPREF 0 $DATE INFO/CHANGELOG"
     fi
 
-    rpm -qlv $1 | sed -e 's/^\(..........\) /\1 1 /'
+    rpm -qlv $1
 }
 
 mcrpmfs_copyout ()
====================================

-- 
Regards,
Pavel Roskin




More information about the mc-devel mailing list