You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
3.1 KiB
100 lines
3.1 KiB
## 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 <s.cherevko@msvsphere-os.ru> - 0.4.0-3
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Sat Jul 23 2022 Robert-André Mauchin <zebob.m@gmail.com> - 0.4.0-1
|
|
- Update to 0.4.0 - Close: rhbz#2074450
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 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 <zebob.m@gmail.com> - 0.3.0-1
|
|
- Update to 0.3.0
|
|
- Close: rhbz#1908224
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 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 <zebob.m@gmail.com> - 0.2.0-1
|
|
- Update to 0.2.0
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 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 <zebob.m@gmail.com> - 0.1.0-1
|
|
- Initial package
|
|
|