From dea2e64cccee1c111d5e8eefe4847ee9b59e374d Mon Sep 17 00:00:00 2001 From: Sohan Kunkerkar Date: Mon, 24 Jan 2022 15:47:25 -0500 Subject: [PATCH] Conditionalize %gocheck for RHEL/CentOS %gocheck isn't currently provided on CentOS/RHEL https://bugzilla.redhat.com/show_bug.cgi?id=1982298 --- butane.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/butane.spec b/butane.spec index befc919..264f188 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