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

2023-11-08 Thread Michal Domonkos
Closed #1298 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1298#event-10898734548 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint m

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

2023-11-08 Thread Michal Domonkos
The `%doc` directive really is just a convenience directive meant to abstract away the details of "where do I put the doc files?". Cherry-picking them into separate subpackages based on the resulting absolute paths using `%exclude` seems to go against the very idea. At that point, you're better

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

2023-11-07 Thread Michal Domonkos
The `%doc` directive is just syntactic sugar for: 1. Install the given file in the build directory into the build root 2. Specify its absolute path in `%files` Now, `%doc` and `%license` are "special" files (as @ignatenkobrain noted) which are only processed *after* the normal file entries, meani