For every tag in this section, there can be as many as three different pieces of information:
The NAME tag is used to display the name of the package.
Array: No
Used with modifiers: N/A
The VERSION tag is used to display the version of the packaged software.
Array: No
Used with modifiers: N/A
The RELEASE tag is used to display the release number of the package.
Array: No
Used with modifiers: N/A
The SERIAL tag is used to display the serial number of the package.
Array: No
Used with modifiers: N/A
The SUMMARY tag is used to display a one-line summation of the packaged software.
Array: No
Used with modifiers: N/A
The DESCRIPTION tag is used to display a detailed summation of the packaged software.
Array: No
Used with modifiers: N/A
The BUILDTIME tag is used to display the time and date the package was created.
Array: No
Used with modifiers: :date
The BUILDHOST tag is used to display the hostname of the system that built the package.
Array: No
Used with modifiers: N/A
The INSTALLTIME tag is used to display the time and date the package was installed.
Array: No
Used with modifiers: :date
The SIZE tag is used to display the total size, in bytes, of every file installed by this package.
Array: No
Used with modifiers: N/A
The DISTRIBUTION tag is used to display the distribution this package is a part of.
Array: No
Used with modifiers: N/A
The VENDOR tag is used to display the organization responsible for marketing the package.
Array: No
Used with modifiers: N/A
The GIF tag is not available for use with --queryformat.
The XPM tag is not available for use with --queryformat.
The COPYRIGHT tag is used to display the copyright terms of the package.
Array: No
Used with modifiers: N/A
The PACKAGER tag is used to display the person or persons responsible for creating the package.
Array: No
Used with modifiers: N/A
The GROUP tag is used to display the group to which the package belongs.
Array: No
Used with modifiers: N/A
The CHANGELOG tag is reserved for a future version of RPM.
The SOURCE tag is used to display the source archives contained in the source package file.
Array: Yes (Size: One entry per source)
Used with modifiers: N/A
The PATCH tag is used to display the patch files contained in the source package file.
Array: Yes (Size: One entry per patch)
Used with modifiers: N/A
The URL tag is used to display the Uniform Resource Locator that points to additional information on the packaged software.
Array: No
Used with modifiers: N/A
The OS tag is used to display the operating system for which the package was built.
Array: No
Used with modifiers: N/A
The ARCH tag is used to display the architecture for which the package was built.
Array: No
Used with modifiers: N/A
The PREIN tag is used to display the package's pre-install script.
Array: No
Used with modifiers: N/A
The POSTIN tag is used to display the package's post-install script.
Array: No
Used with modifiers: N/A
The PREUN tag is used to display the package's pre-uninstall script.
Array: No
Used with modifiers: N/A
The POSTUN tag is used to display the package's post-uninstall script.
Array: No
Used with modifiers: N/A
The FILENAMES tag is used to display the names of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILESIZES tag is used to display the size, in bytes, of each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILESTATES tag is used to display the state of each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A1
The FILEMODES tag is used to display the permissions of each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: :perms
The FILEUIDS tag is used to display the user ID, in numeric form, of each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILEGIDS tag is used to display the group ID, in numeric form, of each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILERDEVS tag is used to display the major and minor numbers for each of the files that comprise the package. It will only be non-zero for device special files.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILEMTIMES tag is used to display the modification time and date for each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: :date
The FILEMD5S tag is used to display the MD5 checksum for each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILELINKTOS tag is used to display the link string for symlinks.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The FILEFLAGS tag is used to indicate whether the files that comprise the package have been flagged as being documentation or configuration.
Array: Yes (Size: One entry per file)
Used with modifiers: :fflags
The ROOT tag is not available for use with --queryformat.
The FILEUSERNAME tag is used to display the owner, in alphanumeric form, of each of the files that comprise the package.
Array: No
Used with modifiers: N/A
The FILEGROUPNAME tag is used to display the group, in alphanumeric form, of each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A
The EXCLUDE tag is deprecated and should no longer be used.
The EXCLUSIVE tag is deprecated and should no longer be used.
The ICON tag is not available for use with --queryformat.
The SOURCERPM tag is used to display the name of the source package from which this binary package was built.
Array: No
Used with modifiers: N/A
The FILEVERIFYFLAGS tag is used to display the numeric value of the file verification flags for each of the files that comprise the package.
Array: Yes (Size: One entry per file)
Used with modifiers: N/A2
The ARCHIVESIZE tag is used to display the size, in bytes, of the archive portion of the original package file.
Array: No
Used with modifiers: N/A
The PROVIDES tag is used to display the capabilities the package provides.
Array: Yes (Size: One entry per provide)
Used with modifiers: N/A
The REQUIREFLAGS tag is used to display the requirement flags for each capability the package requires.
Array: Yes (Size: One entry per require)
Used with modifiers: :depflags
The REQUIRENAME tag is used to display the capabilities the package requires.
Array: Yes (Size: One entry per require)
Used with modifiers: N/A
The REQUIREVERSION tag is used to display the version-related aspect of each capbility the package requires.
Array: Yes (Size: One entry per require)
Used with modifiers: N/A
The NOSOURCE tag is used to display the source archives that are not contained in the source package file.
Array: Yes (Size: One entry per nosource)
Used with modifiers: N/A
The NOPATCH tag is used to display the patch files that are not contained in the source package file.
Array: Yes (Size: One entry per nopatch)
Used with modifiers: N/A
The CONFLICTFLAGS tag is used to display the conflict flags for each capability the package conflicts with.
Array: Yes (Size: One entry per conflict)
Used with modifiers: :depflags
The CONFLICTNAME tag is used to display the capabilities that the package conflicts with.
Array: Yes (Size: One entry per conflict)
Used with modifiers: N/A
The CONFLICTVERSION tag is used to display the version-related aspect of each capability the package conflicts with.
Array: Yes (Size: One entry per conflict)
Used with modifiers: N/A
The DEFAULTPREFIX tag is used to display the path that will, by default, be used to install a relocatable package.
Array: No
Used with modifiers: N/A
The BUILDROOT tag is not available for use with --queryformat.
The INSTALLPREFIX tag is used to display the actual path used when a relocatable package was installed.
Array: No
Used with modifiers: N/A
The EXCLUDEARCH tag is used to display the architectures that should not install this package.
Array: Yes (Size: One entry per excludearch)
Used with modifiers: N/A
The EXCLUDEOS tag is used to display the operating systems that should not install this package.
Array: Yes (Size: One entry per excludeos)
Used with modifiers: N/A
The EXCLUSIVEARCH tag is used to display the architectures that are the only ones that should install this package.
Array: Yes (Size: One entry per exclusivearch)
Used with modifiers: N/A
The EXCLUSIVEOS tag is used to display the operating systems that are the only one that should install this package.
Array: Yes (Size: One entry per exclusiveos)
Used with modifiers: N/A
The AUTOREQPROV tag is not available for use with --queryformat.
The RPMVERSION tag is used to display the version of RPM that was used to build the package.
Array: No
Used with modifiers: N/A
The TRIGGERSCRIPTS tag is reserved for a future version of RPM.
The TRIGGERNAME tag is reserved for a future version of RPM.
The TRIGGERVERSION tag is reserved for a future version of RPM.
The TRIGGERFLAGS tag is reserved for a future version of RPM.
The TRIGGERINDEX tag is reserved for a future version of RPM.
The VERIFYSCRIPT tag is used to display the script to be used for package verification.
Array: No