Project

General

Profile

Actions

action #175323

closed

openQA Project (public) - coordination #127031: [saga][epic] openQA for SUSE customers

openQA Project (public) - coordination #168127: [epic] Up-to-date Perl stack

[devel:languages:perl] Fix autosetup handling in cpanspec size:S

Added by tinita 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Start date:
2025-01-13
Due date:
% Done:

0%

Estimated time:

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


Related issues 1 (1 open0 closed)

Copied from QA (public) - action #164314: devel:languages:perl Module version normalizing size:MWorkabletinita2024-07-22

Actions
Actions

Also available in: Atom PDF