[Rpm-maint] [rpm-software-management/rpm] [RFE] Please provide `%excludes` section (Issue #1852)

rguenth notifications at github.com
Fri Jul 21 08:53:52 UTC 2023


I've opened kind-of a duplicate with https://github.com/rpm-software-management/rpm/issues/2555 since I have
the need to conditionally "drop" built subpackages.  So my idea is to add the ability to do this by turning
an existing %files into what you describe as %excludes section with a new option to %files (which I can then add
conditionally).  Implementation wise (without any of your suggested optimization) it could simply skip the
final .rpm file generation for such subpackages either by turning the name of the subpackage to something special
or by adding a flag to the metadata tracked.

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

Message ID: <rpm-software-management/rpm/issues/1852/1645239714 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230721/e9b8cac7/attachment.html>


More information about the Rpm-maint mailing list