rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
27 stars 33 forks source link

Update rpmprep to handle %patchN for rpm >= 4.20 #320

Closed danigm closed 4 months ago

danigm commented 4 months ago

The usage of %patchN is not supported by RPM >= 4.20. The preferred way to apply patches are, in order:

This patch changes the usage of "%patchN" with the new format "%patch -P N"

Thanks to Stefan Seyfried (@seife) for the initial patch.

Fix https://github.com/rpm-software-management/spec-cleaner/issues/319

kstreitova commented 4 months ago

Thank you, @danigm!

DimStar77 commented 3 months ago

Are there plans to submit this into packages in the distro? So far, users are not benefitting from it yet afaict

DimStar77 commented 3 months ago

Created an SR for this update - https://build.opensuse.org/request/show/1164119, but unfortunately that also gets no traction. Any chance to get this fix delivered to users?

kstreitova commented 3 months ago

I'm sorry for the delay. I agreed with @danigm that he will take over this project since I don't have time for it anymore. He will take care of the new release soon. Thanks!