From d221ca0032957d2f32f74ac9037437b029f046fc Mon Sep 17 00:00:00 2001 From: Christopher Brown Date: Wed, 1 Sep 2021 12:08:06 +0100 Subject: [PATCH] Add sed hack for F35 onwards --- stress-ng.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stress-ng.spec b/stress-ng.spec index 61981e6..9cef8aa 100644 --- a/stress-ng.spec +++ b/stress-ng.spec @@ -7,7 +7,7 @@ License: GPLv2+ URL: https://kernel.ubuntu.com/~cking/%{name} Source0: https://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz -BuildRequires: make +BuildRequires: make BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: kernel-headers @@ -29,6 +29,8 @@ system kernel interfaces. %prep %setup -q +# Nasty sed to get it building on F35 +sed -i '39 i override undefine V' Makefile %build export CFLAGS="%{optflags}"