[Bug debuginfod/25583] Use libarchive to extract .deb packages?

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Mar 3 08:51:00 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=25583

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
            Summary|Use libarchive to extract   |Use libarchive to extract
                   |packages?                   |.deb packages?

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
Great we have .rpm done now.

Lets keep this open in case someone wants to do the .deb variant too.

BTW. It seems we should tweak elfutils.spec too.
rpm isn't needed anymore, but we should recommend/require dpkg?

diff --git a/config/elfutils.spec.in b/config/elfutils.spec.in
index e992812a..ef7fe31f 100644
--- a/config/elfutils.spec.in
+++ b/config/elfutils.spec.in
@@ -157,8 +157,9 @@ Requires(post):   systemd
 Requires(preun):  systemd
 Requires(postun): systemd
 Requires(pre): shadow-utils
-# For /usr/bin/cpio2rpm
-Requires: rpm
+# To extract .deb files with dpkg-deb --fsys-tarfile
+# Can be Recommends if rpm supports that
+Requires: dpkg

 %description debuginfod-client
 The elfutils-debuginfod-client package contains shared libraries

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list