[Rpm-maint] [rpm-software-management/rpm] Add a man page for rpm queryformat (PR #3789)

Panu Matilainen notifications at github.com
Fri Jun 6 07:15:13 UTC 2025


@pmatilai commented on this pull request.



> +and in runtime scriptlets using the *-q* option in *rpm-spec*(5) files.
+
+## Tags
+
+Every *rpm* package contains a set of meta-data records describing its
+properties, such as the name, version or file list. Each record is either a
+plain string or number, or an array of either type. These records are stored
+inside a package, in a section called the _header_, and are identified by unique
+names called _tags_. The individual records are also referred to as _tag data_.
+
+You can use these tags in the query format to display the individual properties
+of a package. To obtain a list of all the tags supported by the version of *rpm*
+installed on your system, run the following command:
+
+```
+rpm --querytags

I'd use (or at least mention) 'rpm -v --querytags' here as that outputs the types as well - types which affect what formats can be used on the data.

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

Message ID: <rpm-software-management/rpm/pull/3789/review/2904011576 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250606/77a1b9a3/attachment.htm>


More information about the Rpm-maint mailing list