commit be1a5b5a2cb80b060d1efb7c37cbe04f7edd8bfb Author: Sergey Cherevko Date: Mon Apr 22 16:01:29 2024 +0300 import golang-github-google-cmdtest-0.4.0-3.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc430c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/go-cmdtest-0.4.0.tar.gz diff --git a/.golang-github-google-cmdtest.metadata b/.golang-github-google-cmdtest.metadata new file mode 100644 index 0000000..177c06b --- /dev/null +++ b/.golang-github-google-cmdtest.metadata @@ -0,0 +1 @@ +504f258cdb35a57e38bafb78cdeb5dd9603fb1b1 SOURCES/go-cmdtest-0.4.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..62d8063 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# golang-github-google-cmdtest + +The golang-github-google-cmdtest package \ No newline at end of file diff --git a/SOURCES/changelog b/SOURCES/changelog new file mode 100644 index 0000000..8f88f72 --- /dev/null +++ b/SOURCES/changelog @@ -0,0 +1,27 @@ +* Thu Jul 21 2022 Fedora Release Engineering - 0.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 19 00:51:33 CET 2020 Robert-André Mauchin - 0.3.0-1 +- Update to 0.3.0 +- Close: rhbz#1908224 + +* Mon Jul 27 2020 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jul 26 22:05:59 CEST 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 + +* Sun Sep 22 18:14:09 CEST 2019 Robert-André Mauchin - 0.1.0-1 +- Initial package diff --git a/SPECS/golang-github-google-cmdtest.spec b/SPECS/golang-github-google-cmdtest.spec new file mode 100644 index 0000000..c8d0c56 --- /dev/null +++ b/SPECS/golang-github-google-cmdtest.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 = 3; + 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 +%global debug_package %{nil} + +# https://github.com/google/go-cmdtest +%global goipath github.com/google/go-cmdtest +Version: 0.4.0 + +%gometa + +%global common_description %{expand: +The cmdtest package simplifies testing of command-line interfaces. It provides a +simple, cross-platform, shell-like language to express command execution. It can +compare actual output with the expected output, and can also update a file with +new "golden" output that is deemed correct.} + +%global golicenses LICENSE +%global godocs CONTRIBUTING.md README.md + +Name: %{goname} +Release: %autorelease +Summary: Simplify testing of command-line interfaces + +License: Apache-2.0 +URL: %{gourl} +Source0: %{gosource} + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Mon Apr 22 2024 Sergey Cherevko - 0.4.0-3 +- Rebuilt for MSVSphere 9.4 + +* Thu Jul 20 2023 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Robert-André Mauchin - 0.4.0-1 +- Update to 0.4.0 - Close: rhbz#2074450 + +* Thu Jul 21 2022 Fedora Release Engineering - 0.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 19 00:51:33 CET 2020 Robert-André Mauchin - 0.3.0-1 +- Update to 0.3.0 +- Close: rhbz#1908224 + +* Mon Jul 27 2020 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jul 26 22:05:59 CEST 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 + +* Sun Sep 22 18:14:09 CEST 2019 Robert-André Mauchin - 0.1.0-1 +- Initial package +