Fridrich Strba via openSUSE Factory wrote:
On 27/02/2024 11:14, Ben Greiner wrote:
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.
Besides the fact that a simple
sed -i "/^%patch[0-9]/ s/^%patch/%patch -P /g" *.spec
does the thing just right. Provided that spec-cleaner is fixed not to revert that change :)
We did it on those ~800 packages in Java:packages in something like 1 afternoon and 1 following morning.
Still pretty annoying. With the alternative syntax '*' in vim doesn't work. Packages should be switched to %autosetup or %autopatch instead IMO. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Software Solutions Germany GmbH; GF: Ivo Totev, Andrew McDonald, Werner Knoblich; HRB 36809 (AG Nürnberg)