From b1940d336e581c18b41ddcc9156f786e5df30a27 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Fri, 19 Apr 2024 16:42:11 +0300 Subject: [PATCH] import golang-github-stretchr-testify-1.8.4-2.el9 --- .gitignore | 1 + .golang-github-stretchr-testify.metadata | 1 + SOURCES/changelog | 122 ++++++++++++ SPECS/golang-github-stretchr-testify.spec | 229 ++++++++++++++++++++++ 4 files changed, 353 insertions(+) create mode 100644 .gitignore create mode 100644 .golang-github-stretchr-testify.metadata create mode 100644 SOURCES/changelog create mode 100644 SPECS/golang-github-stretchr-testify.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b68234a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/testify-1.8.4.tar.gz diff --git a/.golang-github-stretchr-testify.metadata b/.golang-github-stretchr-testify.metadata new file mode 100644 index 0000000..d6eef93 --- /dev/null +++ b/.golang-github-stretchr-testify.metadata @@ -0,0 +1 @@ +d23209dc33a154c13b81cf80f7c8f6b2da26e4d2 SOURCES/testify-1.8.4.tar.gz diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..618ef98 --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,122 @@ +* Thu Jan 20 2022 Fedora Release Engineering - 1.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 14:35:59 CET 2021 Robert-André Mauchin - 1.7.0-1 +- Update to 1.7.0 + +* Sun Aug 02 22:20:45 CEST 2020 Robert-André Mauchin - 1.6.1-1 +- Update to 1.6.1 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 09 2020 Elliott Sales de Andrade - 1.5.1-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Aug 18 2019 Elliott Sales de Andrade - 1.4.0-1 +- Update to latest version + +* Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Apr 15 18:18:14 CEST 2019 Robert-André Mauchin - 1.3.0-2 +- Update to new macros + +* Sat Feb 09 2019 Elliott Sales de Andrade - 1.3.0-1 +- Update to latest version + +* Fri Feb 01 2019 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 26 2018 Robert-André Mauchin - 1.2.2-1 +- Update to upstream v1.2.2 + +* Tue Oct 23 2018 Nicolas Mailhot - 1.2.1-3 +- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias +- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ + +* Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Mar 26 2018 Robert-André Mauchin - 1.2.1-1 +- Update to upstream v1.2.1 +- Update to new guidelines for Go + +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.4-0.2.git69483b4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Sep 12 2017 Jan Chaloupka - 1.1.4-0.1.git69483b4 +- Update to upstream v1.1.4 + resolves: #1490397 + +* Wed Aug 02 2017 Fedora Release Engineering - 1.0-0.11.git976c720 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0-0.10.git976c720 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Mar 16 2017 Jan Chaloupka - 1.0-0.9.git976c720 +- Bump to upstream 976c720a22c8eb4eb6a0b4348ad85ad12491a506 + related: #1246684 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0-0.8.git089c718 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Dec 17 2016 Jan Chaloupka - 1.0-0.7.git089c718 +- Polish the spec file + related: #1246684 + +* Thu Jul 21 2016 Fedora Release Engineering - 1.0-0.6.git089c718 +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Mon Feb 22 2016 Fedora Release Engineering - 1.0-0.5.git089c718 +- https://fedoraproject.org/wiki/Changes/golang1.6 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.0-0.4.git089c718 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Aug 11 2015 jchaloup - 1.0-0.3.git089c718 +- Add missing license in unit-test, BR of devel can be uncommented out + relates: #1246684 + +* Mon Aug 10 2015 Fridolin Pokorny - 1.0-0.2.git089c718 +- Update spec file to spec-2.0 + relates: #1246684 + +* Fri Jul 24 2015 jchaloup - 1.0-0.1.git089c718 +- Bump to upstream 089c7181b8c728499929ff09b62d3fdd8df8adff + resolves: #1246684 + +* Wed Jun 17 2015 Fedora Release Engineering - 0-0.8.gite4ec815 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Mar 06 2015 jchaloup - 0-0.7.gite4ec815 +- update URL to point to github repository + related: #1141872 + +* Thu Mar 05 2015 jchaloup - 0-0.6.gite4ec815 +- Bump to upstream e4ec8152c15fc46bd5056ce65997a07c7d415325 + related: #1141872 + +* Thu Oct 23 2014 jchaloup - 0-0.5.gitd6577e0 +- Bump to upstream d6577e08ec30538639ac0ea38b562b6f250e9055 +- Spec file polishing to follow go draft + related: #1141872 + +* Mon Sep 15 2014 Lokesh Mandvekar - 0-0.3.gitda775f0 +- preserve timestamps of copied files + +* Wed Aug 06 2014 Adam Miller - 0-0.2.gitda775f0 +- Fix up devel package listing + +* Wed Aug 06 2014 Adam Miller - 0-0.1.gitda775f0 +- First package for Fedora. diff --git a/SPECS/golang-github-stretchr-testify.spec b/SPECS/golang-github-stretchr-testify.spec new file mode 100644 index 0000000..d4d29da --- /dev/null +++ b/SPECS/golang-github-stretchr-testify.spec @@ -0,0 +1,229 @@ +## 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/stretchr/testify +%global goipath github.com/stretchr/testify +Version: 1.8.4 + +%gometa + +%global goaltipaths gopkg.in/stretchr/testify.v1 + +%global common_description %{expand: +Golang set of packages that provide many tools for testifying +that your code will behave as you intend. + +Features include: + + - Easy assertions + - Mocking + - Testing suite interfaces and functions} + +%global golicenses LICENSE +%global godocs CONTRIBUTING.md MAINTAINERS.md README.md + +Name: %{goname} +Release: %autorelease +Summary: Toolkit with common assertions and mocks + +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 +%ifarch %{ix86} %{arm} s390x +# TestFailfastSuiteFailFastOn fails on i686 and s390x +for test in "TestFailfastSuiteFailFastOn" \ +; do +awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) +done +%endif +%gocheck +%endif + +%gopkgfiles + +%changelog +* Thu Apr 18 2024 Sergey Cherevko - 1.8.4-2 +- Rebuilt for MSVSphere 9.4 + +* Thu Jul 20 2023 Fedora Release Engineering - 1.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Mikel Olasagasti Uranga - 1.8.4-1 +- Update to 1.8.4 - Closes rhbz#2137258 + +* Thu Jan 19 2023 Fedora Release Engineering - 1.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Sep 18 2022 Robert-André Mauchin - 1.8.0-3 +- SPEC cleanup + +* Sun Jul 24 2022 Robert-André Mauchin - 1.8.0-2 +- Disable for ARM too + +* Sun Jul 24 2022 Robert-André Mauchin - 1.8.0-1 +- Update to 1.8.0 - Close: rhbz#2099409 + +* Thu Jul 21 2022 Fedora Release Engineering - 1.7.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jun 09 2022 Fabio Alessandro Locati - 1.7.2-2 +- forgot source + +* Wed Jun 08 2022 Fabio Alessandro Locati - 1.7.2-1 +- update to 1.7.2, fixes rhbz#2094145 + +* Thu Mar 17 2022 Mikel Olasagasti Uranga - 1.7.1-1 +- Update to 1.7.1 - Closes rhbz#2064489 + +* Thu Jan 20 2022 Fedora Release Engineering - 1.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 14:35:59 CET 2021 Robert-André Mauchin - 1.7.0-1 +- Update to 1.7.0 + +* Sun Aug 02 22:20:45 CEST 2020 Robert-André Mauchin - 1.6.1-1 +- Update to 1.6.1 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat May 09 2020 Elliott Sales de Andrade - 1.5.1-1 +- Update to latest version + +* Wed Jan 29 2020 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Aug 18 2019 Elliott Sales de Andrade - 1.4.0-1 +- Update to latest version + +* Thu Jul 25 2019 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Apr 15 18:18:14 CEST 2019 Robert-André Mauchin - 1.3.0-2 +- Update to new macros + +* Sat Feb 09 2019 Elliott Sales de Andrade - 1.3.0-1 +- Update to latest version + +* Fri Feb 01 2019 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 26 2018 Robert-André Mauchin - 1.2.2-1 +- Update to upstream v1.2.2 + +* Tue Oct 23 2018 Nicolas Mailhot - 1.2.1-3 +- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias +- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ + +* Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Mar 26 2018 Robert-André Mauchin - 1.2.1-1 +- Update to upstream v1.2.1 +- Update to new guidelines for Go + +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.4-0.2.git69483b4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Sep 12 2017 Jan Chaloupka - 1.1.4-0.1.git69483b4 +- Update to upstream v1.1.4 + resolves: #1490397 + +* Wed Aug 02 2017 Fedora Release Engineering - 1.0-0.11.git976c720 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0-0.10.git976c720 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Mar 16 2017 Jan Chaloupka - 1.0-0.9.git976c720 +- Bump to upstream 976c720a22c8eb4eb6a0b4348ad85ad12491a506 + related: #1246684 + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0-0.8.git089c718 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Dec 17 2016 Jan Chaloupka - 1.0-0.7.git089c718 +- Polish the spec file + related: #1246684 + +* Thu Jul 21 2016 Fedora Release Engineering - 1.0-0.6.git089c718 +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Mon Feb 22 2016 Fedora Release Engineering - 1.0-0.5.git089c718 +- https://fedoraproject.org/wiki/Changes/golang1.6 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.0-0.4.git089c718 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Aug 11 2015 jchaloup - 1.0-0.3.git089c718 +- Add missing license in unit-test, BR of devel can be uncommented out + relates: #1246684 + +* Mon Aug 10 2015 Fridolin Pokorny - 1.0-0.2.git089c718 +- Update spec file to spec-2.0 + relates: #1246684 + +* Fri Jul 24 2015 jchaloup - 1.0-0.1.git089c718 +- Bump to upstream 089c7181b8c728499929ff09b62d3fdd8df8adff + resolves: #1246684 + +* Wed Jun 17 2015 Fedora Release Engineering - 0-0.8.gite4ec815 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Mar 06 2015 jchaloup - 0-0.7.gite4ec815 +- update URL to point to github repository + related: #1141872 + +* Thu Mar 05 2015 jchaloup - 0-0.6.gite4ec815 +- Bump to upstream e4ec8152c15fc46bd5056ce65997a07c7d415325 + related: #1141872 + +* Thu Oct 23 2014 jchaloup - 0-0.5.gitd6577e0 +- Bump to upstream d6577e08ec30538639ac0ea38b562b6f250e9055 +- Spec file polishing to follow go draft + related: #1141872 + +* Mon Sep 15 2014 Lokesh Mandvekar - 0-0.3.gitda775f0 +- preserve timestamps of copied files + +* Wed Aug 06 2014 Adam Miller - 0-0.2.gitda775f0 +- Fix up devel package listing + +* Wed Aug 06 2014 Adam Miller - 0-0.1.gitda775f0 +- First package for Fedora. +