Project

General

Profile

Actions

action #175323

closed

openQA 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

Added by tinita 25 days ago. Updated 14 days 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:MIn Progresstinita2024-07-22

Actions
Actions #1

Updated by tinita 25 days ago

  • Copied from action #164314: devel:languages:perl Module version normalizing size:M added
Actions #2

Updated by tinita 25 days ago

  • Description updated (diff)
Actions #3

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

Actions #4

Updated by tinita 18 days ago

  • Status changed from New to In Progress
  • Target version changed from Tools - Next to Ready

This should be done soon, before I work on more version normalization #164314

Actions #5

Updated by tinita 17 days ago

Actions #6

Updated by gpuliti 15 days ago

  • Subject changed from [devel:languages:perl] Fix autosetup handling in cpanspec to [devel:languages:perl] Fix autosetup handling in cpanspec size:S
Actions #7

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

Actions

Also available in: Atom PDF