Accepting request 772196 from home:witekbedyk:branches:server:monitoring
- Update to 0.5.0 + Features: * Add support for aix/ppc64. #151 * Fallback to git describe output if no VERSION. #130 * Make extldflags extensible by configuration. #125 + Enhancements: * cmd/release: add --timeout option. #142 * cmd/release: create release in GitHub if none exists. #148 * Avoid bind-mounting to allow building with a remote docker engine #95 + Bug Fixes: * cmd/tarball: restore --prefix flag. #133 * cmd/release: don't leak credentials in case of error. #136 - Use obs-service-go_modules OBS-URL: https://build.opensuse.org/request/show/772196 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=6
This commit is contained in:
parent
415296d795
commit
02546398a6
12
_service
12
_service
@ -3,14 +3,18 @@
|
||||
<param name="url">https://github.com/prometheus/promu.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">0.2.0</param>
|
||||
<param name="revision">v0.2.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v0.5.0</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">promu-*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">promu</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="disabled">
|
||||
<param name="archive">promu-0.5.0.tar.gz</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 17:13:26 UTC 2020 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- Update to 0.5.0
|
||||
+ Features:
|
||||
* Add support for aix/ppc64. #151
|
||||
* Fallback to git describe output if no VERSION. #130
|
||||
* Make extldflags extensible by configuration. #125
|
||||
+ Enhancements:
|
||||
* cmd/release: add --timeout option. #142
|
||||
* cmd/release: create release in GitHub if none exists. #148
|
||||
* Avoid bind-mounting to allow building with a remote docker engine #95
|
||||
+ Bug Fixes:
|
||||
* cmd/tarball: restore --prefix flag. #133
|
||||
* cmd/release: don't leak credentials in case of error. #136
|
||||
|
||||
- Use obs-service-go_modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 8 11:05:48 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package golang-github-prometheus-promu
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,16 +19,16 @@
|
||||
%{go_nostrip}
|
||||
|
||||
Name: golang-github-prometheus-promu
|
||||
Version: 0.2.0
|
||||
Version: 0.5.0
|
||||
Release: 0
|
||||
Summary: Prometheus Utility Tool
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
Url: https://github.com/prometheus/promu
|
||||
Source: promu-%{version}.tar.xz
|
||||
BuildRequires: go1.11
|
||||
URL: https://github.com/prometheus/promu
|
||||
Source: promu-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: go >= 1.11
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{go_provides}
|
||||
|
||||
@ -37,13 +37,20 @@ The Prometheus Utility Tool is used by the Prometheus project to build other com
|
||||
|
||||
%prep
|
||||
%setup -q -n promu-%{version}
|
||||
%setup -q -T -D -a 1 -n promu-%{version}
|
||||
|
||||
%build
|
||||
%goprep github.com/prometheus/promu
|
||||
%gobuild
|
||||
export VERSION=%{version}
|
||||
export CGO_ENABLED=0
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie \
|
||||
-ldflags "-s -w -X main.version=$VERSION" \
|
||||
-o promu ;
|
||||
|
||||
%install
|
||||
%goinstall
|
||||
install -D -m 0755 promu "%{buildroot}/%{_bindir}/promu"
|
||||
%gosrc
|
||||
|
||||
%gofilelist
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffb06771bf63610296b557f6879b8e4e8a2086bc96133353e657b9d1edf2e9b0
|
||||
size 451812
|
3
promu-0.5.0.tar.gz
Normal file
3
promu-0.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0721abc6fb17e1f2fb362f3111b55557c9c9d81711d086b28c661e854e061582
|
||||
size 4834254
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bcc6bf112558a4910043eaba18c284860707ab98092f0c294add5e136aba507e
|
||||
size 610746
|
Loading…
x
Reference in New Issue
Block a user