forked from pool/golang-github-lusitaniae-apache_exporter
Accepting request 877651 from home:witekbedyk:branches:server:monitoring
- Require building with Go 1.15 Fixes https://github.com/SUSE/spacewalk/issues/14203 OBS-URL: https://build.opensuse.org/request/show/877651 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-lusitaniae-apache_exporter?expand=0&rev=6
This commit is contained in:
parent
82cc5f9466
commit
f7827b3753
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 8 09:40:42 UTC 2021 - Witek Bedyk <witold.bedyk@suse.com>
|
||||||
|
|
||||||
|
- Require building with Go 1.15
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 1 15:04:14 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
Wed Jan 1 15:04:14 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package golang-github-lusitaniae-apache_exporter
|
# spec file for package golang-github-lusitaniae-apache_exporter
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2019 João Cavalheiro <jcavalheiro@suse.com>
|
# Copyright (c) 2019 João Cavalheiro <jcavalheiro@suse.com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -12,9 +13,10 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# Templating vars to simplify and standardize Prometheus exporters spec files
|
# Templating vars to simplify and standardize Prometheus exporters spec files
|
||||||
%define githubrepo github.com/lusitaniae/apache_exporter
|
%define githubrepo github.com/lusitaniae/apache_exporter
|
||||||
%define upstreamname apache_exporter
|
%define upstreamname apache_exporter
|
||||||
@ -24,15 +26,16 @@
|
|||||||
Name: golang-github-lusitaniae-apache_exporter
|
Name: golang-github-lusitaniae-apache_exporter
|
||||||
Version: 0.7.0
|
Version: 0.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: Apache Exporter for Prometheus
|
Summary: Apache Exporter for Prometheus
|
||||||
Url: http://%{githubrepo}
|
License: MIT
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
|
URL: http://%{githubrepo}
|
||||||
Source: %{upstreamname}-%{version}.tar.gz
|
Source: %{upstreamname}-%{version}.tar.gz
|
||||||
Source1: %{targetname}.service
|
Source1: %{targetname}.service
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
BuildRequires: golang(API) = 1.15
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
|
Loading…
Reference in New Issue
Block a user