From c606722779a40e8c3561e64be1206af454714d114ba366950a2211225540f338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Wed, 14 Mar 2018 08:37:06 +0000 Subject: [PATCH] Accepting request 586680 from home:jfajerski:branches:server:monitoring - spec: fix directory for fdupes OBS-URL: https://build.opensuse.org/request/show/586680 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-prometheus?expand=0&rev=5 --- golang-github-prometheus-prometheus.changes | 5 +++++ golang-github-prometheus-prometheus.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/golang-github-prometheus-prometheus.changes b/golang-github-prometheus-prometheus.changes index 6be87ac..36400ae 100644 --- a/golang-github-prometheus-prometheus.changes +++ b/golang-github-prometheus-prometheus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 14 07:20:23 UTC 2018 - jan.fajerski@suse.com + +- spec: fix directory for fdupes + ------------------------------------------------------------------- Thu Jan 25 10:11:26 UTC 2018 - kkaempf@suse.com diff --git a/golang-github-prometheus-prometheus.spec b/golang-github-prometheus-prometheus.spec index a5fb620..a8acc77 100644 --- a/golang-github-prometheus-prometheus.spec +++ b/golang-github-prometheus-prometheus.spec @@ -86,7 +86,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/prometheus/prometheus.y install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/metrics %gofilelist -%fdupes %{buildroot} +%fdupes %{buildroot}/%{_prefix} %pre %service_add_pre prometheus.service