public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/stress-ng] rawhide: Enable darn on RHEL
Date: Tue, 03 Nov 2026 12:54:35 GMT	[thread overview]
Message-ID: <179371047595.1.12056802105240835644.rpms-stress-ng-6a189a342bda@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/stress-ng
            Branch : rawhide
            Commit : 6a189a342bda288254ade89b23df5cfc8e5c21a1
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-21T12:09:44-04:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/stress-ng/c/6a189a342bda288254ade89b23df5cfc8e5c21a1?branch=rawhide

            Log:
            Enable darn on RHEL

RHEL 9 targets POWER9 (Power ISA 3.0), and RHEL 10 targets POWER10 (3.1),
so darn is actually required for this to build on ppc64le.

---
diff --git a/stress-ng.spec b/stress-ng.spec
index bae2d8a..b93b1cd 100644
--- a/stress-ng.spec
+++ b/stress-ng.spec
@@ -6,8 +6,10 @@ Summary:	Stress test a computer system in various ways
 License:	GPL-2.0-or-later
 URL:		https://github.com/ColinIanKing/stress-ng
 Source0:	https://github.com/ColinIanKing/stress-ng/archive/V%{version}/%{name}-%{version}.tar.gz
+## Fedora-specific patches
 # darn is not supported in Power ISA < 3.0, while Fedora aims for Power ISA 2.07
-Patch0:     0_21_01-poewrpc-remove-darn.patch
+# RHEL 9+ does target POWER9+ and therefore requires darn
+Patch1000:      0_21_01-poewrpc-remove-darn.patch
 
 BuildRequires:	make
 BuildRequires:	gcc
@@ -32,7 +34,8 @@ various physical subsystems of a computer as well as the various operating
 system kernel interfaces.
 
 %prep
-%autosetup -n %{name}-%{version}
+%autosetup -n %{name}-%{version} -N
+%autopatch -p0 %{?rhel:-M 999}
 
 %build
 %make_build

                 reply	other threads:[~2026-11-03 12:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179371047595.1.12056802105240835644.rpms-stress-ng-6a189a342bda@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox