From 161f3b9ac37a771319d40e428aa89818a0800aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= Date: Tue, 25 Jan 2022 20:03:44 +0100 Subject: [PATCH] Disable gocheck %gocheck isn't currently provided on CentOS/RHEL See https://bugzilla.redhat.com/show_bug.cgi?id=1982298 Resolves: rhbz#2013681 --- butane.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/butane.spec b/butane.spec index ead2bc2..88d7c51 100644 --- a/butane.spec +++ b/butane.spec @@ -1,5 +1,11 @@ # Originally generated by go2rpm 1.3 +%if 0%{?fedora} %bcond_without check +%else +# %%gocheck isn't currently provided on CentOS/RHEL +# https://bugzilla.redhat.com/show_bug.cgi?id=1982298 +%bcond_with check +%endif # https://github.com/coreos/butane %global goipath github.com/coreos/butane