[Rpm-maint] [rpm-software-management/rpm] [RFE] Please provide `%excludes` section (Issue #1852)
Vít Ondruch
notifications at github.com
Tue Oct 31 13:14:30 UTC 2023
> > Note that the `%{gem_instdir}/config` is excluded form the main package, but then it is not obvious if it should not be included elsewhere. Therefore it is listed for the second time in the `%excludes` section to make it clear it is not forgotten and it should really be excluded.
>
> This seems redundant, though. Why would you need an `%exclude` in the `%files` section at all in this case?
Please note that in this specific case, the whole `%{gem_instdir}` is included in the package, except the `%{gem_instdir}/config` entry. However, it does not make clear in global context if `%{gem_instdir}/config` should be included elsewhere. To make it clear, it would need to be listed in other package or in `%excludes` section, otherwise it would be reported as an error (similarly if you miss some file).
IOW, this is to prevent mistakes.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1852#issuecomment-1787195946
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/1852/1787195946 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20231031/4f1eff62/attachment.html>
More information about the Rpm-maint
mailing list