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