Project

General

Profile

action #156775

Updated by okurz 2 months ago

## 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

Back