forked from pool/golang-github-prometheus-prometheus
Accepting request 750776 from home:jcavalheiro:monitoring
Fix spec file to allow build in SLE 12 OBS-URL: https://build.opensuse.org/request/show/750776 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-prometheus?expand=0&rev=27
This commit is contained in:
parent
be2cdb4342
commit
bbc1d7ca82
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 14:59:24 UTC 2019 - Joao Cavalheiro <jcavalheiro@suse.com>
|
||||
|
||||
- Patch macros on spec file to support builds on SLE 12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 13:29:22 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
|
||||
|
||||
|
@ -20,6 +20,15 @@
|
||||
%global prometheus_user prometheus
|
||||
%global prometheus_group %{prometheus_user}
|
||||
|
||||
# Compatibility with systems older than Nov 2017
|
||||
# See https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
%if 0%{?suse_version} < 1500
|
||||
%define _sharedstatedir /var/lib
|
||||
%endif
|
||||
|
||||
%{go_nostrip}
|
||||
|
||||
Name: golang-github-prometheus-prometheus
|
||||
|
Loading…
Reference in New Issue
Block a user