Blob Blame Raw
# golang-github-circonus-labs-gometrics.spec
# Generated by go2rpm
%bcond_without check

# https://github.com/circonus-labs/circonus-gometrics
%global goipath         github.com/circonus-labs/circonus-gometrics
Version:                3.0.0
%global commit          c6f494a5b139fc62376f353711f5e4abce77f2b1

%gometa

# Remove in F33
%global godevelheader %{expand:
Obsoletes:      golang-github-circonus-labs-circonus-gometrics-devel < 0-0.10
}

%global common_description %{expand:
A go implementation of metrics reporting for circonus.}

%global golicenses      LICENSE
%global godocs          OPTIONS.md README.md CHANGELOG.md README-api.md

%global gosupfiles glide.lock glide.yaml

Name:           %{goname}
Release:        0.3.beta4%{?dist}
Summary:        A go implementation of metrics reporting for circonus

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}
Source1:        glide.lock
Source2:        glide.yaml

BuildRequires:  golang(github.com/circonus-labs/circonusllhist)
BuildRequires:  golang(github.com/circonus-labs/go-apiclient)
BuildRequires:  golang(github.com/circonus-labs/go-apiclient/config)
BuildRequires:  golang(github.com/hashicorp/go-retryablehttp)
BuildRequires:  golang(github.com/pkg/errors)
BuildRequires:  golang(github.com/tv42/httpunix)

%description
%{common_description}

%gopkg

%prep
%goprep
cp %{S:1} %{S:2} .
mv api/README.md README-api.md

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-0.3.beta4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue Jul 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.0-0.2.beta4.20190627gitc6f494a
- Add Obsoletes for old name

* Wed Jun 26 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.0-0.1.beta4.20190627gitc6f494a
- Update to 3.0.0-beta.4

* Wed Apr 17 15:57:15 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.0-1.20190417gitd4ca4ea
- Release 3.0.0-beta.3

* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.9.gitd17a842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0-0.8.gitd17a842
- 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.7.gitd17a842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Sat Jun 09 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.6.gitd17a842
- Upload glide files

* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0-0.5.20161109gitd17a842
- Autogenerate some parts using the new macros

* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.gitd17a842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.gitd17a842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.gitd17a842
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Thu Jan 05 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.1.gitd17a842
- First package for Fedora
  resolves: #1410408