|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global debug_package %{nil}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global provider github
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global provider_tld com
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global project prometheus
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global repo client_golang
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2ba8c98 |
%global commit b0bd7e1be33327b85cb4853e7011156e3cedd657
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Name: golang-%{provider}-%{project}-%{repo}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2ba8c98 |
Version: 0.5.0
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
Release: 1%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Summary: Prometheus instrumentation library for Go applications
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
License: ASL 2.0
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
URL: https://%{import_path}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
BuildArch: noarch
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%else
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
ExclusiveArch: %{ix86} x86_64 %{arm}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%{summary}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%package devel
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
BuildRequires: golang >= 1.2.1-3
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
BuildRequires: golang(bitbucket.org/ww/goautoneg)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
BuildRequires: golang(github.com/beorn7/perks/quantile)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
BuildRequires: golang(github.com/golang/protobuf/proto)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
BuildRequires: golang(github.com/matttproud/golang_protobuf_extensions/pbutil)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
BuildRequires: golang(github.com/prometheus/client_model/go)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
BuildRequires: golang(github.com/prometheus/procfs)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Requires: golang >= 1.2.1-3
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
Requires: golang(bitbucket.org/ww/goautoneg)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
Requires: golang(github.com/beorn7/perks/quantile)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
Requires: golang(github.com/golang/protobuf/proto)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
Requires: golang(github.com/matttproud/golang_protobuf_extensions/pbutil)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Requires: golang(github.com/prometheus/client_model/go)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Requires: golang(github.com/prometheus/procfs)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Summary: %{summary}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Provides: golang(%{import_path}/extraction) = %{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Provides: golang(%{import_path}/model) = %{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Provides: golang(%{import_path}/prometheus) = %{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
Provides: golang(%{import_path}/text) = %{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%description devel
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%{summary}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
This package contains library source intended for
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
building other packages which use %{project}/%{repo}.
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%setup -q -n %{repo}-%{commit}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
cp -rpav text %{buildroot}/%{gopath}/src/%{import_path}/
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
cp -rpav prometheus %{buildroot}/%{gopath}/src/%{import_path}/
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
cp -rpav model %{buildroot}/%{gopath}/src/%{import_path}/
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
cp -rpav extraction %{buildroot}/%{gopath}/src/%{import_path}/
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
cp -rpav examples %{buildroot}/%{gopath}/src/%{import_path}/
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
pushd %{buildroot}/%{gopath}/src/%{import_path}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
rm -rf $(find . -iname .gitignore)
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
popd
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%check
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/text
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/prometheus
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/model
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/extraction
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%files devel
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%doc AUTHORS.md CHANGELOG.md CONTRIBUTING.md README.md LICENSE
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%{gopath}/src/%{import_path}
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2ba8c98 |
* Mon May 11 2015 jchaloup <jchaloup@redhat.com> - 0.5.0-1
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2ba8c98 |
- Bump to upstream b0bd7e1be33327b85cb4853e7011156e3cedd657
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2ba8c98 |
related: #1214784
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2ba8c98 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
* Thu Apr 23 2015 jchaloup <jchaloup@redhat.com> - 0.4.0-1
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
- Bump to upstream 608ec8b69e284600a7ad1b36514a1e6876e22b9f
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
resolves: #1214784
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
f500b46 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
* Wed Mar 04 2015 jchaloup <jchaloup@redhat.com> - 0-0.3.gite5098ac
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
- Bump to upstream e5098ac1ff13c7f85b68b120b253dd834ba49682
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
related: #1190442
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
2e4f7e9 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
6031231 |
* Thu Feb 26 2015 jchaloup <jchaloup@redhat.com> - 0-0.2.git39e4bc8
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
6031231 |
- Bump to upstream 39e4bc83f974fb141a9e67c042b26322bacc917b
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
6031231 |
related: #1190442
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
6031231 |
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
* Sat Feb 07 2015 jchaloup <jchaloup@redhat.com> - 0-0.1.git52186fc
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
- First package for Fedora
|
|
![](https://seccdn.libravatar.org/avatar/82f3ec81dfe0254624813378e43f6af73abd3a0e57a578d97963c4409d820b54?s=16&d=retro) |
4732751 |
resolves: #1190442
|