-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgolang-github-stretchr-testify.spec
More file actions
97 lines (71 loc) · 2.64 KB
/
golang-github-stretchr-testify.spec
File metadata and controls
97 lines (71 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
## START: Set by rpmautospec
## (rpmautospec version 0.6.1)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
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.10.0
%bcond_without check
%global debug_package %{nil}
# https://github.com/stretchr/testify
%global goipath github.com/stretchr/testify
Version: 1.9.0
%gometa
%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 EMERITUS.md MAINTAINERS.md README.md
Name: golang-github-stretchr-testify
Release: %autorelease
Summary: Toolkit with common assertions and mocks
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep
%autopatch -p1
%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
* Mon May 13 2024 Martin Magr <mikel@olasagasti.info> - 1.9.0-1
- Fedora sync
* Thu Mar 07 2019 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.2-3
- Enable s390x build for RHEL 8
* Wed Mar 06 2019 Lon Hohberger <lon@redhat.com> - 1.2.2-2
- Rebuild for new architectures
* Thu Dec 13 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.2.2-1
- Update to upstream v1.2.2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-0.2.git69483b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Sep 12 2017 Jan Chaloupka <jchaloup@redhat.com> - 1.1.4-0.1.git69483b4
- Update to upstream v1.1.4
resolves: #1490397
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.11.git976c720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.10.git976c720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Mar 16 2017 Jan Chaloupka <jchaloup@redhat.com> - 1.0-0.9.git976c720
- Bump to upstream 976c720a22c8eb4eb6a0b4348ad85ad12491a506
related: #1246684