[Rpm-maint] [rpm-software-management/rpm] Add a man page for RPM dependency generators (PR #3957)

Michal Domonkos notifications at github.com
Wed Sep 24 14:52:51 UTC 2025


@dmnks commented on this pull request.



> +from being added:
+
+```
+%define __provides_exclude_from ^%{_libdir}/mypkg/.*.so$
+```
+
+The *exclude* variants operate on generated dependency strings. For example, the
+following macro will prevent all typical library requires from being added,
+regardless of which files they originate from:
+
+```
+%define __requires_exclude ^lib.*$
+```
+
+Note that, within spec files, any backslashes need to be double-escaped in order
+to prevent the spec parser from consuming them.

Added to the troubleshooting section.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3957#discussion_r2376073926
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3957/review/3263316488 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250924/66d25853/attachment-0001.htm>


More information about the Rpm-maint mailing list