[Rpm-maint] [rpm-software-management/rpm] Cannot auto-generate dependencies for document web assets (Issue #3559)
Florian Weimer
notifications at github.com
Thu Feb 6 17:01:30 UTC 2025
While trying to unbundle static web assets used in HTML documentation under `/usr/share/doc`, I ran into this default:
```
# Following macros for filtering auto deps must not be used in spec files.
# Their purpose is to set up global filtering for all packages. If you need
# to set up specific filtering for your package use %__requires_exclude_from
# and %__provides_exclude_from instead.
%__global_requires_exclude_from %{?_docdir:%{_docdir}}
%__global_provides_exclude_from %{?_docdir:%{_docdir}}
```
I understand why it's there (we don't want script interpreter dependencies for example scripts), but it makes it very hard to auto-generate dependencies on e.g. Javascript asset packages that contain resources that are auto-generated by documentation build tools and that have been automatically unbundled during the RPM build via symbolic links.
This is somewhat related to #3558.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3559
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3559 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250206/2152bed1/attachment.htm>
More information about the Rpm-maint
mailing list