## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/golang/mod %global goipath golang.org/x/mod %global forgeurl https://github.com/golang/mod Version: 0.6.0~dev %global commit 9b9b3d81d5e39b22d65814a8daf6723f3035d813 %gometa %global common_description %{expand: This packages holds packages for writing tools that work directly with Go module mechanics. That is, it is for direct manipulation of Go modules themselves.} %global golicenses LICENSE PATENTS %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go module mechanics libraries # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build for cmd in gosumcheck; 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 # sumdb/tlog: needs network %gocheck -d golang.org/x/mod/sumdb/tlog %endif %files %license LICENSE PATENTS %doc README.md %{_bindir}/* %gopkgfiles %changelog * Sat Jun 18 2022 Robert-André Mauchin 0.6.0~dev-3 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Wed Apr 06 2022 Maxwell G 0.6.0~dev-2 - Bump to upstream commit 9b9b3d8. * Wed Apr 06 2022 Fabio Alessandro Locati 0.6.0~dev-1 - Update to 0.6.0-dev (rhbz#1916483). * Thu Jan 20 2022 Fedora Release Engineering 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 26 2020 Robert-André Mauchin 0.4.0-1 - Update to 0.4.0 * Fri Aug 07 2020 Robert-André Mauchin 0.3.0-1 - Update to 0.3.0 * Tue Jul 28 2020 Fedora Release Engineering 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Feb 05 2020 Robert-André Mauchin 0.2.0-1 - Update to 0.2.0 * Wed Jan 29 2020 Fedora Release Engineering 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 02 2019 Robert-André Mauchin 0.1.0-1 - Initial import (#1733180)