|
|
21b83b8 |
# Generated by go2rpm
|
|
|
21b83b8 |
%bcond_without check
|
|
|
8d0b3ea |
|
|
|
21b83b8 |
# https://github.com/jacobsa/oglematchers
|
|
|
8d0b3ea |
%global goipath github.com/jacobsa/oglematchers
|
|
|
21b83b8 |
%global commit 141901ea67cd4769c6800aa7bfdfc558fa22bda5
|
|
|
8296312 |
|
|
|
21b83b8 |
%gometa
|
|
|
8d0b3ea |
|
|
|
21b83b8 |
%global common_description %{expand:
|
|
|
21b83b8 |
Oglematchers is a package for the Go programming language containing a set of
|
|
|
21b83b8 |
matchers, useful in a testing or mocking framework, inspired by and mostly
|
|
|
21b83b8 |
compatible with Google Test for C++ and Google JS Test. The package is used by
|
|
|
21b83b8 |
the ogletest testing framework and oglemock mocking framework, which may be more
|
|
|
21b83b8 |
directly useful to you, but can be generically used elsewhere as well.}
|
|
|
21b83b8 |
|
|
|
21b83b8 |
%global golicenses LICENSE
|
|
|
21b83b8 |
%global godocs README.md
|
|
|
21b83b8 |
|
|
|
21b83b8 |
%global gosupfiles glide.lock glide.yaml
|
|
|
4bfd1e1 |
|
|
|
4bfd1e1 |
Name: %{goname}
|
|
|
8296312 |
Version: 0
|
|
|
450fc73 |
Release: 0.19%{?dist}
|
|
|
21b83b8 |
Summary: Set of matchers for Go inspired by Google Test for C++ and Google JS Test
|
|
|
21b83b8 |
|
|
|
21b83b8 |
# Upstream license specification: Apache-2.0
|
|
|
8296312 |
License: ASL 2.0
|
|
|
4bfd1e1 |
URL: %{gourl}
|
|
|
4bfd1e1 |
Source0: %{gosource}
|
|
|
8d0b3ea |
Source1: glide.yaml
|
|
|
21b83b8 |
Source2: glide.lock
|
|
|
8296312 |
|
|
|
8296312 |
%description
|
|
|
21b83b8 |
%{common_description}
|
|
|
8296312 |
|
|
|
21b83b8 |
%gopkg
|
|
|
8296312 |
|
|
|
8296312 |
%prep
|
|
|
21b83b8 |
%goprep
|
|
|
21b83b8 |
cp %{S:1} %{S:2} .
|
|
|
8296312 |
|
|
|
21b83b8 |
%install
|
|
|
21b83b8 |
%gopkginstall
|
|
|
21b83b8 |
|
|
|
21b83b8 |
# Remove in F33
|
|
|
21b83b8 |
# Remove erroneous glide.lock folder
|
|
|
21b83b8 |
%pretrans devel -p <lua>
|
|
|
21b83b8 |
path = "%{gopath}/src/%{goipath}/glide.lock"
|
|
|
21b83b8 |
st = posix.stat(path)
|
|
|
21b83b8 |
if st and st.type == "directory" then
|
|
|
21b83b8 |
os.remove(path)
|
|
|
21b83b8 |
end
|
|
|
21b83b8 |
|
|
|
21b83b8 |
%if %{with check}
|
|
|
8296312 |
%check
|
|
|
21b83b8 |
%gocheck
|
|
|
21b83b8 |
%endif
|
|
|
8296312 |
|
|
|
21b83b8 |
%gopkgfiles
|
|
|
8296312 |
|
|
|
8296312 |
%changelog
|
|
|
450fc73 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.19
|
|
|
450fc73 |
- Second attempt - Rebuilt for
|
|
|
450fc73 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
450fc73 |
|
|
|
9788baf |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18
|
|
|
9788baf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
9788baf |
|
|
|
0a8bb29 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.17
|
|
|
0a8bb29 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0a8bb29 |
|
|
|
c472438 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org>
|
|
|
c472438 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c472438 |
|
|
|
21b83b8 |
* Thu May 23 17:01:33 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.15.20190523git141901e
|
|
|
21b83b8 |
- Bump to commit 141901ea67cd4769c6800aa7bfdfc558fa22bda5
|
|
|
21b83b8 |
|
|
|
21b83b8 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.git3ecefc4
|
|
|
e87c9b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e87c9b4 |
|
|
|
21b83b8 |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0-0.13.git3ecefc4
|
|
|
662e4f5 |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
662e4f5 |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
662e4f5 |
|
|
|
21b83b8 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.12.git3ecefc4
|
|
|
687981c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
687981c |
|
|
|
8d0b3ea |
* Sun Jul 08 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.11.git3ecefc4
|
|
|
8d0b3ea |
- Upload glide files
|
|
|
8d0b3ea |
|
|
|
4bfd1e1 |
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.10.20150320git3ecefc4
|
|
|
4bfd1e1 |
- Autogenerate some parts using the new macros
|
|
|
4bfd1e1 |
|
|
|
fe5bc96 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9.git3ecefc4
|
|
|
fe5bc96 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fe5bc96 |
|
|
|
59aa60e |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.git3ecefc4
|
|
|
59aa60e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
59aa60e |
|
|
|
9465cdc |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.7.git3ecefc4
|
|
|
9465cdc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9465cdc |
|
|
|
4c6848d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.git3ecefc4
|
|
|
4c6848d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4c6848d |
|
|
|
8fbd914 |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.5.git3ecefc4
|
|
|
8fbd914 |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
8fbd914 |
|
|
|
9cbb5b2 |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git3ecefc4
|
|
|
9cbb5b2 |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
9cbb5b2 |
|
|
|
3516621 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git3ecefc4
|
|
|
3516621 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3516621 |
|
|
|
f6f4209 |
* Wed Jan 27 2016 jchaloup <jchaloup@redhat.com> - 0-0.2.git3ecefc4
|
|
|
f6f4209 |
- Tests needs additional dependencies introducing cyclic dependencies
|
|
|
f6f4209 |
related: #1301565
|
|
|
f6f4209 |
|
|
|
8296312 |
* Mon Jan 25 2016 Marek Skalický <mskalick@redhat.com> - 0-0.1.git3ecefc4
|
|
|
8296312 |
- First package for Fedora
|
|
|
f6f4209 |
resolves: #1301565
|
|
|
8296312 |
|