|
|
0b0e83f |
# Generated by go2rpm
|
|
|
85df1c2 |
# https://github.com/rcrowley/go-metrics/issues/249
|
|
|
85df1c2 |
%ifnarch s390x aarch64 ppc64le
|
|
|
0b0e83f |
%bcond_without check
|
|
|
85df1c2 |
%endif
|
|
|
0b0e83f |
|
|
|
0b0e83f |
# https://github.com/rcrowley/go-metrics
|
|
|
0b0e83f |
%global goipath github.com/rcrowley/go-metrics
|
|
|
18cc874 |
%global commit 10cdbea86bc0b922507ce91d43f4f78a5bea2e8f
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%gometa
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%global common_description %{expand:
|
|
|
0b0e83f |
Go port of coda hale's metrics library.}
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%global golicenses LICENSE
|
|
|
0b0e83f |
%global godocs README.md memory.md
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%global gosupfiles glide.lock glide.yaml
|
|
|
0b0e83f |
|
|
|
0b0e83f |
Name: %{goname}
|
|
|
0b0e83f |
Version: 0
|
|
|
18cc874 |
Release: 0.23%{?dist}
|
|
|
0b0e83f |
Summary: Go port of coda hale's metrics library
|
|
|
0b0e83f |
|
|
|
0b0e83f |
License: BSD
|
|
|
0b0e83f |
URL: %{gourl}
|
|
|
0b0e83f |
Source0: %{gosource}
|
|
|
0b0e83f |
Source1: glide.yaml
|
|
|
0b0e83f |
Source2: glide.lock
|
|
|
0b0e83f |
|
|
|
0b0e83f |
BuildRequires: golang(github.com/stathat/go)
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%description
|
|
|
0b0e83f |
%{common_description}
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%gopkg
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%prep
|
|
|
0b0e83f |
%goprep
|
|
|
0b0e83f |
cp %{S:1} %{S:2} .
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%build
|
|
|
0b0e83f |
for cmd in cmd/* ; do
|
|
|
0b0e83f |
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
|
|
0b0e83f |
done
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%install
|
|
|
0b0e83f |
%gopkginstall
|
|
|
0b0e83f |
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
|
0b0e83f |
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%if %{with check}
|
|
|
0b0e83f |
%check
|
|
|
0b0e83f |
%gocheck
|
|
|
0b0e83f |
%endif
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%files
|
|
|
0b0e83f |
%license %{golicenses}
|
|
|
0b0e83f |
%doc %{godocs}
|
|
|
0b0e83f |
%{_bindir}/*
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%gopkgfiles
|
|
|
0b0e83f |
|
|
|
0b0e83f |
%changelog
|
|
|
18cc874 |
* Sat Aug 01 19:03:44 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.23.20200801git10cdbea
|
|
|
18cc874 |
- Bump to commit 10cdbea86bc0b922507ce91d43f4f78a5bea2e8f
|
|
|
18cc874 |
|
|
|
8fac5c6 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.22
|
|
|
8fac5c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8fac5c6 |
|
|
|
01b5cd3 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.21
|
|
|
01b5cd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
01b5cd3 |
|
|
|
9c2a6b8 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.20
|
|
|
9c2a6b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9c2a6b8 |
|
|
|
9c060f8 |
* Fri Jul 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0-0.19.20181029git3113b84
|
|
|
9c060f8 |
- Add Obsoletes for old name
|
|
|
9c060f8 |
|
|
|
0b0e83f |
* Thu Apr 18 20:03:36 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.18.20181029git3113b84
|
|
|
0b0e83f |
- Update to new macros
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.17.git3113b84
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Mon Oct 29 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.16.20181029git3113b84
|
|
|
0b0e83f |
- Bump to commit 3113b8401b8a98917cde58f8bbd42a1b1c03b1fd
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0-0.15.gitdee209f
|
|
|
0b0e83f |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
0b0e83f |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Thu Jun 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.13.gitdee209f
|
|
|
0b0e83f |
- Upload glide files
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.12.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.11.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.10.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.8.gitdee209f
|
|
|
0b0e83f |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.7.gitdee209f
|
|
|
0b0e83f |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Mon Aug 17 2015 jchaloup <jchaloup@redhat.com> - 0-0.5.gitdee209f
|
|
|
0b0e83f |
- Remove superfluous Provides
|
|
|
0b0e83f |
related: #1250501
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Mon Aug 10 2015 Fridolin Pokorny <fpokorny@redhat.com> - 0-0.4.gitdee209f
|
|
|
0b0e83f |
- Update spec file to spec-2.0
|
|
|
0b0e83f |
- Disabled check due to test failure
|
|
|
0b0e83f |
resolves: #1250501
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.gitdee209f
|
|
|
0b0e83f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Mon Jan 12 2015 jchaloup <jchaloup@redhat.com> - 0-0.2.gitdee209f
|
|
|
0b0e83f |
- Bump to dee209f2455f101a5e4e593dea94872d2c62d85d
|
|
|
0b0e83f |
adding missing provides
|
|
|
0b0e83f |
related: #1120867
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Fri Sep 19 2014 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0-0.1.git3be59ce
|
|
|
0b0e83f |
- BuildArch: noarch for main package
|
|
|
0b0e83f |
- defattr and attrs aren't needed in files listing
|
|
|
0b0e83f |
- replacing repo and project values with macros
|
|
|
0b0e83f |
|
|
|
0b0e83f |
* Thu Jul 17 2014 Colin Walters <walters@verbum.org> 0-0.0.git3be59ce
|
|
|
0b0e83f |
- Initial package
|