import golang-x-vuln-0-0.7.el9

i9ce changed/i9ce/golang-x-vuln-0-0.7.el9
Sergey Cherevko 9 months ago
commit 378476ab65
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/vuln-6ad3e3d0781578532aaedbed543b25d7d586c746.tar.gz

@ -0,0 +1 @@
27f2442d36abf6df7d109a8b91d880f57933f3fe SOURCES/vuln-6ad3e3d0781578532aaedbed543b25d7d586c746.tar.gz

@ -0,0 +1,3 @@
# golang-x-vuln
The golang-x-vuln package

@ -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 <s.cherevko@msvsphere-os.ru> 0-0.7
- Rebuilt for MSVSphere 9.4
* Tue Dec 19 2023 Michel Lind <salimma@fedoraproject.org> - 0-0.7
- Revert commit matching unpushed update
* Mon Aug 07 2023 Alejandro Sáez <asm@redhat.com> - 0-0.6
- Update to fix FTBFS
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Feb 21 2023 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0-0.4
- Update to commit 6ad3e3d0781578532aaedbed543b25d7d586c746
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Aug 01 2022 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.2
- Fix typo
* Mon Aug 01 2022 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1
- Initial import - Close: rhbz#2110130
Loading…
Cancel
Save