action #175323
closedopenQA Project (public) - coordination #154768: [saga][epic][ux] State-of-art user experience for openQA
openQA Project (public) - coordination #168127: [epic] Up-to-date Perl stack
[devel:languages:perl] Fix autosetup handling in cpanspec size:S
0%
Description
Motivation¶
I was just told by Olaf Hering that %autosetup
always needs to be called with -p1
The reason is that there are other ways to retroactively add patches to a package, without changing the spec file, and for that it is exepected that %autosetup -p1
is in the spec file.
obs cat -u home:olh:SLE_15/zypper _link
, damit wird zusätzlich ein Patch eingefügt, welcher dann von %autosetup erkannt und angewendet wird.
A while ago, cpanspec was changed to be called like
%autosetup
if there are no patches%autosetup
if there are more than one patches, but have different-p
arguments%autosetup -p1
if there is one or more patches which all have the common-p1
%autosetup -p0
if there is one or more patches which all have the common-p0
Acceptance Criteria¶
AC1: %autosetup
in devel:languages:perl specs is always called with -p1
Suggestions¶
- Might be as easy as reverting the change described above
- Make sure all packages are updated at some point, but it is not urgent. #164314 might help with that, as this also needs updating a lot of packages
- Start with patching https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode-IMAPUTF7 as this is the one needing a patch: https://rt.cpan.org/Public/Bug/Display.html?id=149091
Updated by tinita 25 days ago
- Copied from action #164314: devel:languages:perl Module version normalizing size:M added
Updated by tinita 25 days ago
https://build.opensuse.org/requests/1237519 Submit package home:tinita:branches:devel:languages:perl / perl-Encode-IMAPUTF7 to package devel:languages:perl / perl-Encode-IMAPUTF7
Updated by tinita 17 days ago
https://github.com/openSUSE/cpanspec/pull/55 Always use %autosetup -p1
Updated by tinita 14 days ago
- Status changed from In Progress to Resolved
https://github.com/openSUSE/cpanspec/pull/55 merged into master and my normalize-version branch.
https://build.opensuse.org/project/show/devel:languages:perl:autoupdate will now use this for the updates