Conditionalize %gocheck for RHEL/CentOS

%gocheck isn't currently provided on CentOS/RHEL
https://bugzilla.redhat.com/show_bug.cgi?id=1982298
This commit is contained in:
Sohan Kunkerkar 2022-01-24 15:47:25 -05:00 committed by Sohan Kunkerkar
parent e7c62b5f82
commit dea2e64ccc

View File

@ -1,5 +1,11 @@
# Originally generated by go2rpm 1.3 # Originally generated by go2rpm 1.3
%if 0%{?fedora}
%bcond_without check %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 # https://github.com/coreos/butane
%global goipath github.com/coreos/butane %global goipath github.com/coreos/butane