From e83b7debbccd7d7a4c8e747de4731873a22c4b31 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Mon, 22 Apr 2024 13:40:43 +0300 Subject: [PATCH] import golang-github-rogpeppe-internal-1.11.0-7.el9 --- .gitignore | 1 + .golang-github-rogpeppe-internal.metadata | 1 + SOURCES/README.md | 3 + SOURCES/changelog | 37 ++++++ SPECS/golang-github-rogpeppe-internal.spec | 136 +++++++++++++++++++++ 5 files changed, 178 insertions(+) create mode 100644 .gitignore create mode 100644 .golang-github-rogpeppe-internal.metadata create mode 100644 SOURCES/README.md create mode 100644 SOURCES/changelog create mode 100644 SPECS/golang-github-rogpeppe-internal.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ddfeaa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/go-internal-1.11.0.tar.gz diff --git a/.golang-github-rogpeppe-internal.metadata b/.golang-github-rogpeppe-internal.metadata new file mode 100644 index 0000000..8981b12 --- /dev/null +++ b/.golang-github-rogpeppe-internal.metadata @@ -0,0 +1 @@ +263521c00d681a01a10ae5bc3f90c12c9e98ebc6 SOURCES/go-internal-1.11.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..01e9f84 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-github-rogpeppe-internal + +The golang-github-rogpeppe-internal package \ No newline at end of file diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..50ef070 --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,37 @@ +* Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 27 2021 Fabian Affolter - 1.8.0-1 +- Update to latest upstream release 1.8.0 (closes rhbz#1918257) + +* Thu Jul 22 2021 Fedora Release Engineering - 1.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 21 12:14:27 CET 2020 Robert-André Mauchin - 1.6.2-1 +- Update to 1.6.2 +- Close: rhbz#1875936 + +* Sat Aug 01 23:06:57 CEST 2020 Robert-André Mauchin - 1.6.1-1 +- Update to 1.6.1 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Feb 17 2020 Elliott Sales de Andrade - 1.5.2-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 10 16:48:13 CEST 2019 Robert-André Mauchin - 1.5.0-1 +- Release 1.5.0 (#1747063) +- Disable failing test (#1735296) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue May 07 15:22:23 CEST 2019 Robert-André Mauchin - 1.3.0-1 +- Initial package diff --git a/SPECS/golang-github-rogpeppe-internal.spec b/SPECS/golang-github-rogpeppe-internal.spec new file mode 100644 index 0000000..0f7631d --- /dev/null +++ b/SPECS/golang-github-rogpeppe-internal.spec @@ -0,0 +1,136 @@ +## 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.10.0 +%bcond_without check + +# https://github.com/rogpeppe/go-internal +%global goipath github.com/rogpeppe/go-internal +Version: 1.11.0 + +%gometa + + +%global common_description %{expand: +Selected Go-internal packages factored out from the standard library.} + +%global golicenses LICENSE +%global godocs README.md + +Name: golang-github-rogpeppe-internal +Release: %autorelease +Summary: Selected Go-internal packages factored out from the standard library + +License: BSD-3-Clause +URL: %{gourl} +Source0: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%autopatch -p1 + +%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 +for test in "TestScripts" "TestSimple" "TestScan" "TestTestwork" \ +; do +awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) +done +%gocheck +%endif + +%files +%license LICENSE +%doc README.md +%{_bindir}/* + +%gopkgfiles + +%changelog +* Fri Apr 19 2024 Sergey Cherevko - 1.11.0-7 +- Rebuilt for MSVSphere 9.4 + +* Wed Dec 13 2023 Mikel Olasagasti Uranga +- Update to 1.11.0 - Closes rhbz#2120431 rhbz#2163214 rhbz#2248334 + +* Thu Jul 20 2023 Fedora Release Engineering - 1.8.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 1.8.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 1.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jul 19 2022 Maxwell G - 1.8.1-3 +- Rebuild for + CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang + +* Sat Jun 18 2022 Robert-André Mauchin - 1.8.1-2 +- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, + CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 + +* Wed Feb 23 2022 Robert-André Mauchin - 1.8.1-1 +- Update to 1.8.1 (fix FTBFS) Close: rhbz#2032648 Close: rhbz#2045611 + +* Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Aug 27 2021 Fabian Affolter - 1.8.0-1 +- Update to latest upstream release 1.8.0 (closes rhbz#1918257) + +* Thu Jul 22 2021 Fedora Release Engineering - 1.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 21 12:14:27 CET 2020 Robert-André Mauchin - 1.6.2-1 +- Update to 1.6.2 +- Close: rhbz#1875936 + +* Sat Aug 01 23:06:57 CEST 2020 Robert-André Mauchin - 1.6.1-1 +- Update to 1.6.1 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Feb 17 2020 Elliott Sales de Andrade - 1.5.2-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 10 16:48:13 CEST 2019 Robert-André Mauchin - 1.5.0-1 +- Release 1.5.0 (#1747063) +- Disable failing test (#1735296) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue May 07 15:22:23 CEST 2019 Robert-André Mauchin - 1.3.0-1 +- Initial package +