Update RPM to the 4.19 release.
- Name: Florian Festi
- Email: firstname.lastname@example.org
- Targeted release: Fedora Linux 39
- Last updated: 2023-10-06
- devel thread
- FESCo issue: #2980
- Tracker bug: #2187480
- Release notes tracker: #979
- Acquire a side tag: f39-build-side-67564
- Build rpm with bundling old libraries
- Rebuild reverse dependencies (current state):
- anaconda-39.16-2.fc39 - build-requires s390utils, run-requires dnf
- freeipa - dlopens librpm for an unchanged rpmvercmp() , skipped.
- frr-8.5.1-2.fc39 - build-requires net-snmp
- libdnf-plugin-swidtags-0.8.8-8.fc39 - build-requires libdnf
- microdnf-3.9.0-3.fc39 - build-requires libnf, run-requires dnf
- PackageKit-1.2.6-8.fc39 - build-requires libappstream-glib, libdnf
- rpmconf-1.1.10-1.fc39 - needs adapting to RPM 4.19 Python API, patch proposed upstream and downstream, this one can wait until later (not critical for the RPM update)
- rpm-ostree-2023.4-3.fc39 - build-requires libsolv, frequent updates
- s390utils-2.26.0-2.fc39 - build-requires net-snmp
- Synchronize packages updated in parallel in Rawhide
- Create a Bodhi update from the side-tag
- Check update test results
- Push the update into Rawhide
- Rebuild rpm without old libraries and push into rawhide
- Final rpm 4.19 release and update package in Fedora
In progress items
To be done items
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.
Benefit to Fedora
This release comes with many improvements. It opens the possibility for Fedora to adopt the new major features mentioned above.
- 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
- Release engineering: #Releng issue number
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- Alignment with Community Initiatives:
- %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.
There are no major differences in the normal user experience.
- 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 mechanism: Revert back to RPM 4.18
- Contingency deadline: Beta freeze
- Blocks release? No
Release notes at https://rpm.org/wiki/Releases/4.19.0 and reference manual at https://rpm-software-management.github.io/rpm/manual/