From 32a59caa44b1cacee20a95d61ccbf65f8a6b87c29a0ddc4e28d9de3bbbb5f93e Mon Sep 17 00:00:00 2001 From: Nick Singer Date: Wed, 18 Sep 2019 11:56:40 +0000 Subject: [PATCH] Fix to not overwrite config on update OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/telegraf?expand=0&rev=15 --- telegraf.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegraf.spec b/telegraf.spec index d0bc37b..9efc6ac 100644 --- a/telegraf.spec +++ b/telegraf.spec @@ -100,7 +100,7 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name} %license src/github.com/influxdata/%{name}/LICENSE %doc src/github.com/influxdata/%{name}/README.md %dir %{_config_dir} -%config %{_config_dir}/%{name}.conf +%config(noreplace) %{_config_dir}/%{name}.conf %{_bindir}/%{name} %changelog