Accepting request 492591 from home:SilvioMoioli:tools
Prometheus build dependency OBS-URL: https://build.opensuse.org/request/show/492591 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=1
This commit is contained in:
commit
2410bce719
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/prometheus/promu.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="versionformat">0.0.0+git%cd.%h</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">promu-*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled">
|
||||||
|
<param name="basename">promu</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
golang-github-prometheus-promu.changes
Normal file
4
golang-github-prometheus-promu.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 29 09:16:48 UTC 2017 - moio@suse.com
|
||||||
|
|
||||||
|
- Initial version
|
54
golang-github-prometheus-promu.spec
Normal file
54
golang-github-prometheus-promu.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
#
|
||||||
|
# spec file for package golang-github-prometheus-promu
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 Silvio Moioli <moio@suse.com>
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%{go_nostrip}
|
||||||
|
|
||||||
|
Name: golang-github-prometheus-promu
|
||||||
|
Version: 0.0.0+git20170323.6203d3f
|
||||||
|
Release: 0
|
||||||
|
License: Apache-2.0
|
||||||
|
Summary: Prometheus Utility Tool
|
||||||
|
Url: https://github.com/prometheus/promu
|
||||||
|
Group: System/Management
|
||||||
|
Source: promu-%{version}.tar.xz
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{go_provides}
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Prometheus Utility Tool is used by the Prometheus project to build other components.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n promu-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%goprep github.com/prometheus/promu
|
||||||
|
%gobuild
|
||||||
|
|
||||||
|
%install
|
||||||
|
%goinstall
|
||||||
|
%gosrc
|
||||||
|
|
||||||
|
%gofilelist
|
||||||
|
|
||||||
|
%files -f file.lst
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/promu
|
||||||
|
|
||||||
|
%changelog
|
3
promu-0.0.0+git20170323.6203d3f.tar.xz
Normal file
3
promu-0.0.0+git20170323.6203d3f.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:afcd118a58f134d0a7ef3b7e843abd506dd8cc4ec0c7dc2894db6150b2250778
|
||||||
|
size 294256
|
Loading…
x
Reference in New Issue
Block a user