From 32a59caa44b1cacee20a95d61ccbf65f8a6b87c29a0ddc4e28d9de3bbbb5f93e Mon Sep 17 00:00:00 2001 From: Nick Singer Date: Wed, 18 Sep 2019 11:56:40 +0000 Subject: [PATCH 1/2] 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 From e5cff264f470b5b82a0bcac9c3dc184d91f8489de985ed391b23d64dc9cb1820 Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Fri, 20 Sep 2019 21:45:04 +0000 Subject: [PATCH 2/2] Accepting request 729707 from home:jengelh:branches:devel:languages:go Was trying to give them benefit of the doubt, but if you insist. - Trim future goals from description, it is not in the scope of openSUSE package descriptions. OBS-URL: https://build.opensuse.org/request/show/729707 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/telegraf?expand=0&rev=16 --- telegraf.changes | 6 ++++++ telegraf.spec | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/telegraf.changes b/telegraf.changes index c3c039e..9c516af 100644 --- a/telegraf.changes +++ b/telegraf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 10 07:46:24 UTC 2019 - Jan Engelhardt + +- Trim future goals from description, it is not in the scope + of openSUSE package descriptions. + ------------------------------------------------------------------- Mon Sep 9 09:37:19 UTC 2019 - Stephan Kulow diff --git a/telegraf.spec b/telegraf.spec index 9efc6ac..c82c1ff 100644 --- a/telegraf.spec +++ b/telegraf.spec @@ -46,9 +46,6 @@ Patch0: 0001-Generic-SQL-output-plugin-for-Telegraf.patch %description Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. -Design goals are to have a minimal memory footprint with a plugin system so that developers in the community can -easily add support for collecting metrics from local or remote services. - %prep mkdir -p %{_influxdata_dir} tar -C %{_influxdata_dir} -xzf %{SOURCE0}