Project

General

Profile

Actions

tickets #115868

open

Patch can not be applied in package cpupower

Added by AdaLovelace almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Good First Issues
Target version:
-
Start date:
2022-08-28
Due date:
% Done:

0%

Estimated time:

Description

We have got following error message for s390x:
[ 80s] + echo 'Patch #1 (cpupower_rapl.patch):'
[ 80s] Patch #1 (cpupower_rapl.patch):
[ 80s] + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
[ 80s] patching file Makefile
[ 80s] Hunk #2 FAILED at 143.

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:zSystems/cpupower/standard/s390x
We have to exclude this patch in the spec file for the s390x architecture.

1) Branch https://build.opensuse.org/package/show/hardware/cpupower
2) Checkout your home directory
3) Edit cpupower.spec
4) Use "%ifnarch s390x" together with "%endif" around the applying of the referenced patch
5) "osc commit"

No data to display

Actions

Also available in: Atom PDF