The following tags were defined at the time this book was written. For the latest list of available queryformat tags, please issue the following command:
rpm --querytags
Keep in mind that the list of tags produced by the --querytags option is the complete list of all tags used by RPM internally; for instance, during package builds. Because of this, some tags do not produce meaningful output when used in a --queryformat format string.