Re: another one



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 gnu org>
+
+	* extfs/trpm: update to work with rpm 4.x.
+	Reported by m lusini palazzochigi it
+	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
+
 2002-04-12  Andrew V. Samoilov  <kai 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]