From 515e5f53a25a336d8c36fcf2f7cbad47bea13198 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 23 Apr 2024 15:52:34 +0300 Subject: [PATCH] import golang-uber-multierr-1.11.0-2.el9 --- .gitignore | 1 + .golang-uber-multierr.metadata | 1 + SPECS/golang-uber-multierr.spec | 109 ++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 .gitignore create mode 100644 .golang-uber-multierr.metadata create mode 100644 SPECS/golang-uber-multierr.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b24d0e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/multierr-1.11.0.tar.gz diff --git a/.golang-uber-multierr.metadata b/.golang-uber-multierr.metadata new file mode 100644 index 0000000..3a9e309 --- /dev/null +++ b/.golang-uber-multierr.metadata @@ -0,0 +1 @@ +32a845666f215fd3a68261004bddf44fdb5503a5 SOURCES/multierr-1.11.0.tar.gz diff --git a/SPECS/golang-uber-multierr.spec b/SPECS/golang-uber-multierr.spec new file mode 100644 index 0000000..e76b5ab --- /dev/null +++ b/SPECS/golang-uber-multierr.spec @@ -0,0 +1,109 @@ +## 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.9.0 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/uber-go/multierr +%global goipath go.uber.org/multierr +%global forgeurl https://github.com/uber-go/multierr +Version: 1.11.0 + +%gometa + +%global common_description %{expand: +Combine one or more Go errors together.} + +%global golicenses LICENSE.txt +%global godocs CHANGELOG.md README.md + +Name: %{goname} +Release: %autorelease +Summary: Combine one or more Go errors together + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%autopatch -p1 + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Tue Apr 23 2024 Sergey Cherevko - 1.11.0-2 +- Rebuilt for MSVSphere 9.4 + +* Thu Jul 20 2023 Fedora Release Engineering - 1.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Mikel Olasagasti Uranga - 1.11.0-1 +- Update to 1.11.0 - Closes rhbz#2153044 + +* Thu Jan 19 2023 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Aug 26 2022 Anthony Rabbito - 1.8.0-1 +- Update to 1.8.0 use generate_buildrequires + +* Thu Jul 21 2022 Fedora Release Engineering - 1.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 26 13:16:38 CET 2020 Robert-André Mauchin - 1.6.0-1 +- Update to 1.6.0 +- Close: rhbz#1878906 + +* Fri Aug 07 16:58:29 CEST 2020 Robert-André Mauchin - 1.5.0-1 +- Update to 1.5.0 + +* Tue Jul 28 2020 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Feb 16 2020 Elliott Sales de Andrade - 1.4.0-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Apr 26 21:29:11 CEST 2019 Robert-André Mauchin - 1.1.0-2 +- Update to new macros + +* Thu Mar 14 2019 Robert-André Mauchin - 1.1.0-1 +- First package for Fedora +