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

Panu Matilainen notifications at github.com
Wed Sep 24 06:34:41 UTC 2025


@pmatilai commented on this pull request.



> +specific programming language.
+
+These attributes are distinct from the file attributes in the filesystem and are
+only kept in memory during package builds. A single file may have an arbitrary
+number of attributes, and a single attribute may be assigned to an arbitrary
+number of files.
+
+A valid file attribute called _NAME_ is introduced with an *rpm-macrofile*(5),
+_NAME.attr_, dropped into the *%{\_fileattrsdir}* directory, that defines at
+least one of the following macros:
+
+```
+%__NAME_path
+%__NAME_magic
+%__NAME_exclude_path
+%__NAME_exclude_magic

Hmm. Another way to describe all these macros that would be more consistent with eg. rpm-config(5) :

```
*%\_\_*_NAME_*\_path* _REGEX_
        Matched against the packaged path, that is, without the
        *%buildroot* prefix (for  example, _/bin/bash_).

*%\_\_*_NAME_*\_magic* _REGEX_
        _REGEX_ matched against the result of *magic*(5).
```

(the descriptions are just terse placeholders, pay no attention :smile: )

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

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


More information about the Rpm-maint mailing list