# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/onsi/ginkgo %global goipath github.com/onsi/ginkgo/v2 Version: 2.12.1 %gometa -f %global common_description %{expand: A Modern Testing Framework for Go.} %global golicenses LICENSE %global godocs docs CHANGELOG.md README.md CONTRIBUTING.md\\\ RELEASING.md Name: %{goname} Release: %autorelease Summary: A Modern Testing Framework for Go License: MIT URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-github-onsi-ginkgo-2 = %{version}-%{release} Obsoletes: golang-github-onsi-ginkgo-2 < 2.12.1-2 %global godevelheader %{expand: Provides: golang-github-onsi-ginkgo-2-devel = %{version}-%{release} Obsoletes: golang-github-onsi-ginkgo-2-devel < 2.12.1-2} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/ginkgo %{goipath}/ginkgo %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck -d integration %endif %files %license LICENSE %doc docs CHANGELOG.md README.md CONTRIBUTING.md RELEASING.md %{_bindir}/ginkgo %gopkgfiles %changelog %autochangelog