- Update to 0.2.0 + Features: * Adding changes to support s390x * Add option to disable static linking * Add support for 32bit MIPS. * Added check_licenses Command to Promu + Enhancements: * Allow to customize nested options via env variables * Bump Go version to 1.11 * Add warning if promu info is unable to determine repo info + Bug Fixes: * Fix build on SmartOS by not setting gcc's -static flag * Fix git repository url parsing OBS-URL: https://build.opensuse.org/request/show/672761 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-promu?expand=0&rev=4
58 lines
1.5 KiB
RPMSpec
58 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package golang-github-prometheus-promu
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{go_nostrip}
|
|
|
|
Name: golang-github-prometheus-promu
|
|
Version: 0.2.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
|
|
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 LICENSE
|
|
%{_bindir}/promu
|
|
|
|
%changelog
|