Este contenido no está disponible en el idioma seleccionado.

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() and os.exit() extensions embedded in %{lua:…​} scripts fail the script unless called from a child process created with the posix.fork() scriptlet.
  • The %pretrans scriptlet 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) and Requires(posttrans) scriptlets.
  • The OrderWithRequires tag for supplying additional ordering hints has been added. The tag follows Requires tag syntax, but does not generate actual dependencies. The ordering hints are treated as if they were Requires when calculating the transaction order, only if the involved packages are present in the same transaction.
  • The %license flag can be used in the %files section. This flag can be used similar to the %doc flag to mark files as licenses, which need to be installed despite the --nodocs option.
  • The %autosetup macro 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.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat, Inc.