
On Tue, Feb 27, 2024 at 5:14 AM Ben Greiner <code@bnavigator.de> wrote:
Am 27.02.24 um 11:05 schrieb Björn Bidar:
Martin Wilck via openSUSE Factory <factory@lists.opensuse.org> writes:
On Tue, 2024-02-20 at 17:29 +0100, Dominique Leuenberger wrote:
So far we have come across one change that will impact a log of packages: RPM 4.20 will no longer support %patchN (e.g %patch0); RPM 4.19 has warned about this during the build already. I appreciate your efforts, but seeing the massive fallout this has, it looks very much like a thoughtless move of the upstream maintainer. This syntax has been supported for more than 25 years, and while it has always been kind of strange, it's easy to remember and widely used. By deprecating this syntax, they are causing hundreds of maintainers pointless work. It does sound like quite fast change IMHO. The warning should have been added at least a few versions earlier.
From my point of the upstream rpm was often very Redhat/Fedora focused, such a quick change without a longer warning follows that manner in my opinion.
There has been one year between the upstream releases of 4.18 and 4.19 [1]. RPM 4.19 came out in 2023Q3. RPM 4.20 is projected to come out in 2024Q3 [2]. Even the ever fast rolling Tumbleweed took some time to adopt 4.19 [3].
Extrapolating this to 4.20, you now have almost a year to fix your specfile. For a rolling release distro, this is not a fast change.
- Ben
[1] https://github.com/rpm-software-management/rpm/tags [2] https://rpm.org/roadmap.html [3] https://build.opensuse.org/request/show/1132932
To the point about upstream rpm being "Red Hat/Fedora focused", this is actually our fault in openSUSE. The openSUSE RPM maintainers do not participate as much as I would like, and have historically patched RPM to kingdom come. This also has made adopting new RPM versions hard. (The situation around rpm's patch load in openSUSE is much higher than I would like it to be still...) I participate in RPM upstream mostly to support non-RH rpm usage, particularly as someone who helps maintain RPM in Mageia, OpenMandriva, and at one point working on RPM on macOS. They don't prevent me from being represented there. It's really a matter of wanting to show up and engage productively. As an aside, RPM has warned about this since 4.18, and nobody noticed? RPM 4.18 entered Factory near Christmas 2022: https://code.opensuse.org/package/rpm/c/e0a517c3a535feeec345f19d1d3fdd19b59c... -- 真実はいつも一つ!/ Always, there's only one truth!