From Fedora Project Wiki

Revision as of 17:32, 17 April 2023 by Bcotton (talk | contribs) (Add trackers)

RPM 4.19

Summary

Update RPM to the 4.19 release.

Owner


Current status

Detailed Description

RPM 4.19 contains various improvements over previous versions. Many of them are internal in nature such as moving from automake to cmake, improvements to the test suite, stripping copies of system functions, splitting translations into a separate project and more. There are still several user facing changes:

  • New rpmsort(8) utility for sorting RPM versions
  • x86-64 architecture levels (v2-v4) as architectures
  • Support for %preuntrans and %postuntrans scriptlets
  • Creating User and Groups from sysusers.d files including Provides and Requires or Recommends
  • Dynamic Spec generation
    • find_lang now being able to generate language sub packages

The 4.19 alpha release is expected in April and the final release is expected in time for the Fedora 39 release cycle as usual.

Feedback

Benefit to Fedora

This release comes with many improvements. It opens the possibility for Fedora to adopt the new major features mentioned above.

Scope

  • Proposal owners:
    • Release RPM 4.19 alpha
    • Rebase RPM
    • Assist with dealing with incompatibilities
    • Integrate/Disable new User/Group handling
      • Conflicts with the current one including the Provides generation in systemd-rpm-macros
      • Switching this on will need another global change (if Fedora decides to do so)
  • Other developers:
    • Test new release, report issues and bugs
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Community Initiatives:

Upgrade/compatibility impact

  • %patch without arguments and options is an error
  • %patchN syntax is deprecated
  • File globbing is now more consistent


How To Test

Rpm receives a thorough and constant testing via every single package build, system installs and updates. New features can be tested specifically as per their documentation.


User Experience

There are no major differences in the normal user experience.

Dependencies

  • Deprecated APIs are removed. This may require adjustments to software still using them.
  • so-name of librpm changes. Packages depending on it are expected to need a re-build
  • Packages running in the changes mentioned in the Upgrade/compatibility impact section might need adjusting. This should be relatively rare, though.

Contingency Plan

  • Contingency mechanism: Revert back to RPM 4.18
  • Contingency deadline: Beta freeze
  • Blocks release? No

Documentation

Release notes at https://rpm.org/wiki/Releases/4.19.0 and reference manual at https://rpm-software-management.github.io/rpm/manual/

Release Notes

https://rpm.org/wiki/Releases/4.19.0 (still work in progress)