Accepting request 961480 from home:stroeder:sys
update to upstream release 0.11.0 OBS-URL: https://build.opensuse.org/request/show/961480 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-lusitaniae-apache_exporter?expand=0&rev=10
This commit is contained in:
3
apache_exporter-0.11.0.tar.gz
Normal file
3
apache_exporter-0.11.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f690a9ef9451922dc0b0de0870429b9d0a4f92082a76d51e913926b36955755f
|
||||
size 41172
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5c6ffabb23115f34651024199e8f947da1d97412e4c05b341ead5dceccdf652
|
||||
size 987330
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 13 12:42:00 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- update to upstream release 0.11.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 21 20:09:39 UTC 2022 - Stefan Bluhm <stefan.bluhm@clacee.eu>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package golang-github-lusitaniae-apache_exporter
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2019 João Cavalheiro <jcavalheiro@suse.com>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -16,6 +16,7 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global debug_package %{nil}
|
||||
# Fix ERROR: No build ID note found in
|
||||
@@ -29,14 +30,15 @@
|
||||
%define serviceuser prometheus
|
||||
|
||||
Name: golang-github-lusitaniae-apache_exporter
|
||||
Version: 0.7.0
|
||||
Version: 0.11.0
|
||||
Release: 0
|
||||
Summary: Apache Exporter for Prometheus
|
||||
License: MIT
|
||||
Group: System/Management
|
||||
URL: http://%{githubrepo}
|
||||
Source: %{upstreamname}-%{version}.tar.gz
|
||||
Source1: %{targetname}.service
|
||||
Source1: vendor.tar.gz
|
||||
Source2: %{targetname}.service
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: xz
|
||||
@@ -54,20 +56,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Exports apache mod_status statistics via HTTP for Prometheus consumption.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{upstreamname}-%{version}
|
||||
%autosetup -a1 -n %{upstreamname}-%{version}
|
||||
|
||||
%build
|
||||
%goprep %{githubrepo}
|
||||
%if 0%{?rhel}
|
||||
# Fix automatic versioning
|
||||
export GO111MODULE=auto
|
||||
%endif
|
||||
%gobuild
|
||||
%gobuild -mod=vendor "" ...
|
||||
|
||||
%install
|
||||
install -D -m0755 %{_builddir}/go/bin/%{upstreamname} %{buildroot}/%{_bindir}/%{targetname}
|
||||
install -d -m 0755 %{buildroot}%{_unitdir}
|
||||
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}
|
||||
install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
|
||||
install -d -m 0755 %{buildroot}%{_sbindir}
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{targetname}
|
||||
|
||||
|
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:3e90388aa809f6a0cf2d144096b82c1090bdb2480838d87b1a04c3221628acae
|
||||
size 2973559
|
Reference in New Issue
Block a user