[Rpm-maint] [rpm-software-management/rpm] [RFE] Autogenerate source archive decompression dependencies (#1396)

Panu Matilainen notifications at github.com
Mon Oct 12 12:37:46 UTC 2020


Yup, it's not a new idea, we've even had a ticket for it but that's probably gotten lost in the jump to GH.

I had a PoC that threw sources at %{uncompress:...} and grabbed the result up to the first space, which kinda works but of course has the limitation of not supporting executables with whitespace in the name (dunno if we care...), but also has the issue of whining unnecessarily on spec parse (non-build) where sources are not present. It probably needs a bit of API work to make the required stuff meaningfully available. Incidentally I was just looking around this neighborhood last week or so when adding Lua bindings for rpmio files: rpm doesn't currently know how to convert a result from rpmFileIsCompressed() into a Fopen() mode for that compression type...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1396#issuecomment-707094153
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201012/ec6d58da/attachment.html>


More information about the Rpm-maint mailing list