From ee1da30e2bc6508a421db6c0b9ae7fd3c3af0e47 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Wed, 2 Feb 2022 11:24:45 +0000 Subject: [PATCH] Disable automatic call to %set_build_flags The flags set by this macro break the build on Fedora 36. https://fedoraproject.org/wiki/Changes/SetBuildFlagsBuildCheck Signed-off-by: Radostin Stoyanov --- criu.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/criu.spec b/criu.spec index 4bc774b..b053156 100644 --- a/criu.spec +++ b/criu.spec @@ -10,6 +10,11 @@ # parasite code breaks if annobin is enabled. %undefine _annotated_build +# Disable automatic call to the set_build_flags macro +# at the beginning of the build, check, and install. +# This change was introduced in Fedora 36. +%undefine _auto_set_build_flags + Name: criu Version: 3.16.1 Release: 6%{?dist}