## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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.19.0 %bcond check 1 %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif # https://github.com/golang/vuln %global goipath golang.org/x/vuln %global forgeurl https://github.com/golang/vuln Version: 1.1.4 %global commit a9cf566971d512048614ae269b160fe47a1fceb3 %gometa -L %global common_description %{expand: The database client and tools for the Go vulnerability database.} Name: govulncheck Release: %autorelease Summary: Database client and tools for the Go vulnerability database # Package renamed from golang-x-vuln following vendored packaging guidelines Provides: golang-x-vuln = %{version}-%{release} Obsoletes: golang-x-vuln < 1.1.4 # Generated by go-vendor-tools License: Apache-2.0 AND BSD-3-Clause URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description %{common_description} %prep %goprep -p1 tar -xf %{S:1} %if %{without bootstrap} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %endif %if %{without bootstrap} %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %if %{without bootstrap} %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %if %{without bootstrap} %if %{with check} %check %go_vendor_license_check -c %{S:2} %gocheck -t cmd -t internal %endif %endif %if %{without bootstrap} %files -f %{go_vendor_license_filelist} %doc doc CONTRIBUTING.md README.md %{_bindir}/govulncheck %endif %changelog ## START: Generated by rpmautospec * Mon Feb 23 2026 Alejandro Sáez - 1.1.4-1 - Rename golang-x-vuln to govulncheck ## END: Generated by rpmautospec