commit b9055ac781c9f521e24e714ef96f221ace03bc69 Author: Sergey Cherevko Date: Mon Apr 22 14:13:03 2024 +0300 import golang-x-mod-0.14.0-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..adc9ed1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mod-0.14.0.tar.gz diff --git a/.golang-x-mod.metadata b/.golang-x-mod.metadata new file mode 100644 index 0000000..78197da --- /dev/null +++ b/.golang-x-mod.metadata @@ -0,0 +1 @@ +ca443754e1129897d7f805c99ccfe881722fc000 SOURCES/mod-0.14.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..f2fed04 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-x-mod + +The golang-x-mod package \ No newline at end of file diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..a184be3 --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,26 @@ +* 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) diff --git a/SPECS/golang-x-mod.spec b/SPECS/golang-x-mod.spec new file mode 100644 index 0000000..a362e5c --- /dev/null +++ b/SPECS/golang-x-mod.spec @@ -0,0 +1,142 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 +* Mon Apr 22 2024 Sergey Cherevko - 0.14.0-1 +- Rebuilt for MSVSphere 9.4 + +* Mon Nov 20 2023 Mark E. Fuller - 0.14.0-1 +- update to v0.14.0, close rhbz#2247966 + +* 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) +