[Rpm-maint] [rpm-software-management/rpm] Document how to easily use `%{uncompress}` to expand source archives (Issue #4148)

Vít Ondruch notifications at github.com
Tue Mar 17 17:51:46 UTC 2026


voxik left a comment (rpm-software-management/rpm#4148)

> That this works now is basically an unintended side-effect 

I thought that might be the case

> than just call it by that name (%__rpmuncompress)

Frankly, using double underscore macro does not feel any better than then `-x` option.

Just FTR, I am exploring if this is a possibility, because if I remember correctly, rpmlint complains about unused sources when they are expanded by plain tar. Using some standard macro could help to mitigate this (and also I have hard times remembering the `tar` expand options 🙈).

And yes, I am aware of `-b` / `-a` options of `%setup`. But using `-a` I risk inadvertently including something into resulting RPM and using `-b` means that I have to ln / cp / mv test sources into the buildroot in `%check` section. I wish there was some standardized option to expand test archives in there.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4148#issuecomment-4076863283
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/4148/4076863283 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260317/c939fb81/attachment.htm>


More information about the Rpm-maint mailing list