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