From 793093253335a0ef5510dac48897976ad387e65c Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 23 Apr 2024 16:13:33 +0300 Subject: [PATCH] import golang-uber-goleak-1.2.1-2.el9 --- .gitignore | 1 + .golang-uber-goleak.metadata | 1 + SPECS/golang-uber-goleak.spec | 99 +++++++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 .gitignore create mode 100644 .golang-uber-goleak.metadata create mode 100644 SPECS/golang-uber-goleak.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54f9ede --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/goleak-1.2.1.tar.gz diff --git a/.golang-uber-goleak.metadata b/.golang-uber-goleak.metadata new file mode 100644 index 0000000..dd0195a --- /dev/null +++ b/.golang-uber-goleak.metadata @@ -0,0 +1 @@ +874cb985663b114a6763b0a69020edc2a01576ea SOURCES/goleak-1.2.1.tar.gz diff --git a/SPECS/golang-uber-goleak.spec b/SPECS/golang-uber-goleak.spec new file mode 100644 index 0000000..fc8bb3f --- /dev/null +++ b/SPECS/golang-uber-goleak.spec @@ -0,0 +1,99 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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.8.2 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/uber-go/goleak +%global goipath go.uber.org/goleak +%global forgeurl https://github.com/uber-go/goleak +Version: 1.2.1 + +%gometa + +%global common_description %{expand: +Goroutine leak detector.} + +%global golicenses LICENSE +%global godocs CHANGELOG.md README.md + +Name: %{goname} +Release: %autorelease +Summary: Goroutine leak detector + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue Apr 23 2024 Sergey Cherevko - 1.2.1-2 +- Rebuilt for MSVSphere 9.4 + +* Thu Jul 20 2023 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Feb 19 2023 Fabian Affolter - 1.2.1-1 +- UPdate to latest upstream release 1.2.1 (closes rhbz#2169588) + +* Thu Jan 19 2023 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Oct 16 2022 Robert-André Mauchin - 1.2.0-2 +- SPEC cleanup + +* Sun Sep 18 2022 Fabian Affolter - 1.2.0-1 +- Update to latest upstream release 1.2.0 (closes rhbz#2125365) + +* Thu Jul 21 2022 Fedora Release Engineering - 1.1.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Oct 05 2021 Fabian Affolter - 1.1.12-1 +- Update to latest upstream release 1.1.12 (closes rhbz#2010578) + +* Thu Sep 09 2021 Fabian Affolter - 1.1.11-1 +- * Thu Sep 09 2021 Fabian Affolter - 1.1.11-1 - + Update to latest upstream release 1.1.11 (closes rhbz#2002766) + +* Thu Jul 22 2021 Fedora Release Engineering - 1.1.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.1.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 2021 Robert-André Mauchin - 1.1.10-1 +- Update to 1.1.10 + +* Sat Aug 08 2020 Fabian Affolter - 1.0.0-1 +- * Thu Jul 16 2020 Fabian Affolter - 1.0.0-1 - + Initial package for Fedora