Files
golang-github-sebdah-goldie…/golang-github-sebdah-goldie-2.spec
2025-01-17 00:15:53 +01:00

59 lines
1.0 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/sebdah/goldie
%global goipath github.com/sebdah/goldie/v2
Version: 2.5.5
%global tag v2.5.5
%gometa -f
%global common_description %{expand:
Golden file testing for Go.}
%global golicenses LICENSE v2/LICENSE
%global godocs README.md v2/README.md
Name: golang-github-sebdah-goldie-2
Release: %autorelease
Summary: Golden file testing for Go
License: MIT
URL: %{gourl}
Source: %{gosource}
Patch: 0001-Disable-tests-missing-testdata.patch
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog