From 386bedee49cb887626140f2c60522751ec620f1d Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 28 Sep 2017 16:52:11 +0200 Subject: [PATCH] Adapt ExcludeArch depending on Fedora release --- criu.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/criu.spec b/criu.spec index 16928b6..d7f4974 100644 --- a/criu.spec +++ b/criu.spec @@ -36,7 +36,12 @@ BuildRequires: asciidoc xmlto # user-space and kernel changes are only available for x86_64, arm, # ppc64le, aarch64 and s390x # https://bugzilla.redhat.com/show_bug.cgi?id=902875 +%if 0%{?fedora} > 26 ExclusiveArch: x86_64 %{arm} ppc64le aarch64 s390x +%else +# kernel support for s390x was only enabled for > f26 +ExclusiveArch: x86_64 %{arm} ppc64le aarch64 +%endif %description criu is the user-space part of Checkpoint/Restore in User-space