Actions
action #156775
closedcpanspec should adopt new %patch syntax size:S
Start date:
2024-03-06
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Motivation¶
%patchN
is deprecated and should be replaced with %patch -PN
.
In cpanspec we are using %autosetup
if possible, but otherwise we still use %patchN
.
Acceptance criteria¶
- AC1: Perl packages in Factory (especially openQA ones) continue to build after the RPM change
Acceptance tests¶
- AT1-1: Given RPM 4.20 is available all packages in devel:languages:perl still build without an error related to (at least)
%patchN
Suggestions¶
- Check all packages in devel:languages:perl to ensure that they don't use
%patchN
- Look into
https://github.com/openSUSE/cpanspec/blob/master/cpanspec#L1356-L1358
and adapt/extend to use explicit
%patch -PN
instead - Ensure all packages devel:languages:perl use that, e.g. with individual batch creation of submit requests. Possibly most are done already or don't rely on
%patch
- Ensure that all submit requests are accepted and also forwarded into openSUSE:Factory accordingly
- Crosscheck with scripting that no packages are left in d:l:p (and possibly openSUSE:Factory) using
%patchN
Out of scope¶
- Ignore devel:languages:perl:CPAN-[A-Z] as they would be only updated on new releases on CPAN but we don't care because those are not accepted (yet) into devel:languages:perl
Updated by tinita 10 months ago
https://github.com/openSUSE/cpanspec/pull/50 Adapt %patch syntax for rpm 4.20 release
Updated by tinita 10 months ago ยท Edited
I fixed 40 modules in https://build.opensuse.org/project/show/devel:languages:perl that were still using %patchN
(none of them in Factory; those were already handled by someone else).
5 have unrelated failures or unresolvable dependencies that I couldn't fix.
https://build.opensuse.org/project/requests/devel:languages:perl
Actions