## 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.4.0 %gometa %global common_description %{expand: Collection of Go packages to work with SPDX files.} %global golicenses LICENSE.docs LICENSE.code\\\ rdfloader/parser2v3/license_utils_test.go\\\ rdfloader/parser2v3/license_utils.go\\\ rdfloader/parser2v2/license_utils_test.go\\\ rdfloader/parser2v2/license_utils.go\\\ docs/licensediff-assumptions.md\\\ licensediff/licensediff_test.go\\\ licensediff/licensediff.go %global godocs docs examples SECURITY.md CONTRIBUTING.md RELEASE-\\\ NOTES.md README.md 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/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/google/go-cmp/cmp) BuildRequires: golang(github.com/spdx/gordf/rdfloader/xmlreader) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 22 2023 John Doe - 0.4.0-1 - Uncommitted changes