Blob Blame History Raw
# Generated by go2rpm 1.8.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/onsi/ginkgo
%global goipath         github.com/onsi/ginkgo
Version:                1.16.5

%gometa

%global common_description %{expand:
BDD Testing Framework for Go.}

%global golicenses      LICENSE
%global godocs          CHANGELOG.md CONTRIBUTING.md README.md RELEASING.md

Name:           %{goname}
Release:        %autorelease
Summary:        BDD Testing Framework for Go

License:        MIT
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
export ACK_GINKGO_DEPRECATIONS=1.16.5
export ACK_GINKGO_RC=true
# Skip integration, requires network.
# With network enabled 126/128 test pass.
# Remaining failures are due unavailable go flags in current go releases.
%gocheck -d integration
%endif

%gopkgfiles

%changelog
%autochangelog