Product SiteDocumentation Site

4.2.17. Other Query Format Tags

In addition to all these tags, there are a number of other miscellaneous tags, many of which are listed in Table 5-6.
Table 5-6 Other query tags
Tag
Holds
ARCHIVESIZE
Uncompressed size of the payload section
COOKIE
Holds an opaque string
RPMVERSION
Holds the version of the RPM tool used to create the package
OPTFLAGS
Compiler optimization flags used to build the package
PAYLOADFORMAT
Must be cpio for LSB-compliant packages
PAYLOADCOMPRESSOR
Must be gzip for LSB-compliant packages
PAYLOADFLAGS
Must be 9 for LSB-compliant packages
RHNPLATFORM
Holds an opaque string
FILEVERIFYFLAGS
Bitmask that specifies which tests to perform to verify the files after an install
For example, you can list the version of RPM that created a package with a command like the following:
$ rpm -qp --qf "%{name} - rpm %{rpmversion}\n" *.rpm
qt - rpm 4.7.2
qt - rpm 4.7.2
qt-devel - rpm 4.7.2
qt-mysql - rpm 4.7.2
qt-sqlite - rpm 4.7.2
qt-sqlite - rpm 4.7.2
qt-x11 - rpm 4.7.2
qt-x11 - rpm 4.7.2        

Cross Reference

See Chapter 24, RPM Package File Structure for a listing of all the tags in an RPM file.