Project

General

Profile

Actions

action #156775

closed

cpanspec should adopt new %patch syntax size:S

Added by tinita 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
Start date:
2024-03-06
Due date:
% Done:

0%

Estimated time:

Description

Motivation

https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/YNXIWWHY7E2ZDMLKL44K7RR4Y2LCDV45/

%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
Actions

Also available in: Atom PDF