commit 378476ab65d7047e379b7d7f0c329d36f9bf2966 Author: Sergey Cherevko Date: Mon Apr 22 12:20:49 2024 +0300 import golang-x-vuln-0-0.7.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f1c362 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/vuln-6ad3e3d0781578532aaedbed543b25d7d586c746.tar.gz diff --git a/.golang-x-vuln.metadata b/.golang-x-vuln.metadata new file mode 100644 index 0000000..7d13959 --- /dev/null +++ b/.golang-x-vuln.metadata @@ -0,0 +1 @@ +27f2442d36abf6df7d109a8b91d880f57933f3fe SOURCES/vuln-6ad3e3d0781578532aaedbed543b25d7d586c746.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..753bdc6 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-x-vuln + +The golang-x-vuln package diff --git a/SPECS/golang-x-vuln.spec b/SPECS/golang-x-vuln.spec new file mode 100644 index 0000000..b33ca70 --- /dev/null +++ b/SPECS/golang-x-vuln.spec @@ -0,0 +1,93 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 7; + 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.6.0 +%bcond_without check + +# https://github.com/golang/vuln +%global goipath golang.org/x/vuln +%global forgeurl https://github.com/golang/vuln +%global commit 6ad3e3d0781578532aaedbed543b25d7d586c746 + +%gometa + +%global common_description %{expand: +The database client and tools for the Go vulnerability database.} + +%global golicenses LICENSE PATENTS +%global godocs doc CONTRIBUTING.md README.md + +Name: %{goname} +Version: 0 +Release: %autorelease -p +Summary: Database client and tools for the Go vulnerability database + +# Upstream license specification: BSD-3-Clause +License: BSD-3-Clause +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%build +for cmd in cmd/* ; do + %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd +done + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck -t cmd +%endif + +%files +%license LICENSE PATENTS +%doc doc CONTRIBUTING.md README.md +%{_bindir}/govulncheck + +%gopkgfiles + +%changelog +* Mon Apr 22 2024 Sergey Cherevko 0-0.7 +- Rebuilt for MSVSphere 9.4 + +* Tue Dec 19 2023 Michel Lind - 0-0.7 +- Revert commit matching unpushed update + +* Mon Aug 07 2023 Alejandro Sáez - 0-0.6 +- Update to fix FTBFS + +* Thu Jul 20 2023 Fedora Release Engineering - 0-0.5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Feb 21 2023 Elliott Sales de Andrade - 0-0.4 +- Update to commit 6ad3e3d0781578532aaedbed543b25d7d586c746 + +* Thu Jan 19 2023 Fedora Release Engineering - 0-0.3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Aug 01 2022 Robert-André Mauchin - 0-0.2 +- Fix typo + +* Mon Aug 01 2022 Robert-André Mauchin - 0-0.1 +- Initial import - Close: rhbz#2110130