## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.9.0 %bcond_with check # https://github.com/spdx/tools-golang %global goipath github.com/spdx/tools-golang Version: 0.5.0 %gometa %global common_description %{expand: Collection of Go packages to work with SPDX files.} %global golicenses LICENSE.docs LICENSE.code docs/licensediff-\\\ assumptions.md\\\ spdx/v2/v2_2/rdf/reader/license_utils_test.go\\\ spdx/v2/v2_2/rdf/reader/license_utils.go\\\ spdx/v2/v2_3/rdf/reader/license_utils_test.go\\\ spdx/v2/v2_3/rdf/reader/license_utils.go\\\ licensediff/licensediff_test.go\\\ licensediff/licensediff.go %global godocs docs examples SECURITY.md CONTRIBUTING.md RELEASE-\\\ NOTES.md README.md example example Name: %{goname} Release: %autorelease Summary: Collection of Go packages to work with SPDX files License: CC-BY-4.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/anchore/go-struct-converter) BuildRequires: golang(github.com/spdx/gordf/rdfloader) BuildRequires: golang(github.com/spdx/gordf/rdfloader/parser) BuildRequires: golang(github.com/spdx/gordf/rdfwriter) BuildRequires: golang(github.com/spdx/gordf/uri) BuildRequires: golang(sigs.k8s.io/yaml) %if %{with check} # Tests BuildRequires: golang(github.com/spdx/gordf/rdfloader/xmlreader) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Apr 25 2023 John Doe - 0.5.0-1 - Uncommitted changes