Product SiteDocumentation Site

4.2.10.7. 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
acroread - rpm 2.5.5
canvas - rpm 3.0.3
jikes - rpm 4.0.2
SDL - rpm 2.5.1
ted - rpm 2.5.5
Cross Reference
See Chapter 24, RPM Package File Structure for a listing of all the tags in an RPM file.