[Rpm-maint] [rpm-software-management/rpm] Document how to easily use `%{uncompress}` to expand source archives (Issue #4148)
Panu Matilainen
notifications at github.com
Wed Mar 18 07:21:27 UTC 2026
pmatilai left a comment (rpm-software-management/rpm#4148)
Frankly, I don't expect anybody to use, much less remember, the esoteric multi-source extract options of %setup 😄 I don't remember them either.
%uncompress as a macro is more of a historical artifact now, but I agree the double-underscore %__rpmuncompress isn't inviting to use. Perhaps the right thing to do is move rpmuncompress out of /usr/lib/rpm into /usr/bin to one doesn't "need" silly macros to call it. I was on a crusade to solve something else when splitting it into a separate command, and while the case of packagers using it directly was on the back of my mind, I didn't really think it through it seems.
So ... lets do just that. There's nothing about rpmuncompress that demands it be only called from inside rpm(build).
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4148#issuecomment-4080277763
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/4148/4080277763 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260318/1a809766/attachment.htm>
More information about the Rpm-maint
mailing list