Show Table of Contents
Appendix A. New features of RPM in RHEL 7
This list documents most noticable changes in RPM packaging between Red Hat Enterprise Linux 6 and 7.
-
A new command,
rpmkeys, used for keyring import and signature verification has been added. -
A new command,
rpmspec, used for spec queries and parsed output has been added. -
A new command,
rpmsign, used for package signing has been added. -
The
posix.exec()andos.exit()extensions embedded in%{lua:…}scripts fail the script unless called from a child process created with theposix.fork()scriptlet. -
The
%pretransscriptlet failure causes the package installation to be skipped. - Scriptlets can be macro-expanded and queryformat-expanded at runtime.
-
Pre-transaction and post-transaction scriptlet dependencies can now be correctly expressed with
Requires(pretrans)andRequires(posttrans)scriptlets. -
The
OrderWithRequirestag for supplying additional ordering hints has been added. The tag followsRequirestag syntax, but does not generate actual dependencies. The ordering hints are treated as if they wereRequireswhen calculating the transaction order, only if the involved packages are present in the same transaction. -
The
%licenseflag can be used in the%filessection. This flag can be used similar to the%docflag to mark files as licenses, which need to be installed despite the--nodocsoption. -
The
%autosetupmacro for automating patch application, with optional distributed version control system integration has been added. - The automatic dependency generator has been rewritten into extensible and customizable rule based system with built-in filtering.
- The OpenPGP V3 public keys are no longer supported.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.