commit 2c3a49055697efafd33450d9d11a37c253a5e9de Author: Jvle Date: Fri Jul 10 11:14:36 2026 +0800 SPECS: Add go-github-github-go-spdx-v2 Signed-off-by: Jvle diff --git a/go-github-github-go-spdx-v2.spec b/go-github-github-go-spdx-v2.spec new file mode 100644 index 0000000..2e32c36 --- /dev/null +++ b/go-github-github-go-spdx-v2.spec @@ -0,0 +1,51 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: Jvle +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%define _name go-spdx +%define go_import_path github.com/github/go-spdx/v2 + +Name: go-github-github-go-spdx-v2 +Version: 2.7.0 +Release: %autorelease +Summary: Go library packaged for syft dependency resolution +License: MIT +URL: https://github.com/github/go-spdx +#!RemoteAsset: sha256:a6954d98e4c6e6f6e416c771037caac7a61affdc3f4203c32870700816db793f +Source0: %{url}/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: golangmodules + +BuildOption(prep): -n %{_name}-%{version} + +BuildRequires: go +BuildRequires: go-rpm-macros +BuildRequires: go(github.com/davecgh/go-spew) +BuildRequires: go(github.com/inconshreveable/mousetrap) +BuildRequires: go(github.com/pmezard/go-difflib) +BuildRequires: go(github.com/spf13/cobra) +BuildRequires: go(github.com/spf13/pflag) +BuildRequires: go(github.com/stretchr/testify) +BuildRequires: go(gopkg.in/yaml.v3) + +Provides: go(github.com/github/go-spdx/v2) = %{version} + +Requires: go(github.com/davecgh/go-spew) +Requires: go(github.com/inconshreveable/mousetrap) +Requires: go(github.com/pmezard/go-difflib) +Requires: go(github.com/spf13/cobra) +Requires: go(github.com/spf13/pflag) +Requires: go(github.com/stretchr/testify) +Requires: go(gopkg.in/yaml.v3) + +%description +Go library packaged for syft dependency resolution. + +%files +%license LICENSE* +%{go_sys_gopath}/%{go_import_path} + +%changelog +%autochangelog