[Rpm-maint] [rpm-software-management/rpm] Allow to eclude files from %doc (#1298)

Igor Raits notifications at github.com
Fri Jul 3 11:28:17 UTC 2020


I did take quick look into the code base: for `%doc` the `addSpecialFile()` is used that just inserts file entries. That does not copy files into the %{_docdir}. Rather, it is done from `processPackageFiles() -> processSpecialDir()` at which point it already packages the RPM. The `%exclude` is using `addFile()` with statp argument as NULL that indicates that file/directory does not exist.

Not sure what would be the best solution to this problem code-wise.

-- 
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/1298#issuecomment-653501043
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200703/b66f0d27/attachment.html>


More information about the Rpm-maint mailing list