[Rpm-maint] [rpm-software-management/rpm] [RFE] Subpackage for excluded files (#1448)
Vít Ondruch
notifications at github.com
Tue Nov 24 08:47:31 UTC 2020
rubygem- packages exclude cached versions of the .gem package itself (I don't want people to redistribute these, because they differ from the canonical packages available on rubygems.org), so every package contains `%exclude %{gem_cache}`. I don't think this one will be big deal to hide in `%gem_install` macro.
But I was thinking about this again working on Ruby. For example these files [[1]] should belong to the package. They are excluded just because there is external rubygem-racc and there is possible collision. If I remove such files in `%install` section, their exclusion will be less visible. You can note that I keep the files section quite explicit to have control what really goes into the packages. I work with the `%files` section all the time, while I touch the `%install` section quite rarely.
Sometimes I wish there was more control about files in `%{buildroot}` and RPM provided more insights, like "These are all files/directories which are in `%{buildroot}` and should be packaged. From this list, these files were already processed and there are sill few remaining". I know I could use filelists, but they on the other side hides a lot of stuff from the .spec file.
[1]: This package is not the simplest one. I could scatter `rm` around, but still, some files logically belongs somewhere and they are not there just because of coll
--
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/1448#issuecomment-732748376
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201124/90bbff42/attachment.html>
More information about the Rpm-maint
mailing list