forked from pool/golang-github-lusitaniae-apache_exporter
Accepting request 1103788 from home:witekbedyk:branches:server:monitoring
Fix SLE 15 conditional and include all source files OBS-URL: https://build.opensuse.org/request/show/1103788 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-lusitaniae-apache_exporter?expand=0&rev=25
This commit is contained in:
committed by
Git OBS Bridge
parent
69ad394300
commit
a17e6d2127
@@ -25,7 +25,7 @@
|
||||
%undefine _missing_build_ids_terminate_build
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 150000
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%bcond_without apparmor
|
||||
%else
|
||||
%bcond_with apparmor
|
||||
@@ -47,9 +47,7 @@ URL: http://%{githubrepo}
|
||||
Source: %{upstreamname}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
Source2: %{targetname}.service
|
||||
%if %{with apparmor}
|
||||
Source3: apparmor-usr.bin.%{targetname}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: golang-github-prometheus-promu
|
||||
BuildRequires: golang-packaging
|
||||
|
Reference in New Issue
Block a user