## START: Set by rpmautospec ## (rpmautospec version 0.3.8) ## 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.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.14.0 %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-3-Clause 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}/gosumcheck %gopkgfiles %changelog ## START: Generated by rpmautospec * Mon Nov 20 2023 Mark E. Fuller - 0.14.0-1 - Uncommitted changes * Sat Oct 07 2023 Mark E. Fuller - 0.13.0-1 - update to v0.13.0, close rhbz#2242566 * Sat Aug 12 2023 Mark E. Fuller - 0.12.0-1 - update to v0.12.0, close rhbz#2175444 * Thu Jul 20 2023 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 22 2023 Mark E. Fuller - 0.11.0-1 - update to v0.11.0, close rhbz#2175444 * Sun Jun 11 2023 Mark E. Fuller - 0.10.0-1 - update to v0.10.0 * Tue Feb 21 2023 Elliott Sales de Andrade - 0.8.0-1 - Update to latest version (#2136475) * Thu Jan 19 2023 Fedora Release Engineering - 0.6.0~dev-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.6.0~dev-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 0.6.0~dev-4 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * 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) ## END: Generated by rpmautospec