Hello community, here is the log from the commit of package influxdb for openSUSE:Factory checked in at 2019-01-25 22:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/influxdb (Old) and /work/SRC/openSUSE:Factory/.influxdb.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "influxdb" Fri Jan 25 22:44:15 2019 rev:2 rq:668278 version:1.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/influxdb/influxdb.changes 2018-10-11 11:53:37.918162403 +0200 +++ /work/SRC/openSUSE:Factory/.influxdb.new.28833/influxdb.changes 2019-01-25 22:44:16.139161371 +0100 @@ -1,0 +2,11 @@ +Thu Jan 24 08:58:21 UTC 2019 - Thomas Bechtold <tbecht...@suse.com> + +- Fix permissions and add (noreplace) for /etc/influxdb/config.toml + The file should be readable by the influxdb group and not readable by + anybody else. Also it shouldn't be replaced on package upgrades + when the file was modified. +- Use %license macro +- Use %tmpfiles_create macro when systemd is used +- Use /run instead of /var/run + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ influxdb.spec ++++++ --- /var/tmp/diff_new_pack.YQEpIB/_old 2019-01-25 22:44:17.347159882 +0100 +++ /var/tmp/diff_new_pack.YQEpIB/_new 2019-01-25 22:44:17.351159878 +0100 @@ -1,7 +1,7 @@ # # spec file for package influxdb # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -126,7 +126,7 @@ %if %{with systemd} %post -systemd-tmpfiles --create /usr/lib/tmpfiles.d/influxdb.conf || true +%tmpfiles_create %_tmpfilesdir/influxdb.conf %service_add_post influxdb.service %endif @@ -140,9 +140,10 @@ %files %defattr(-,root,root,-) -%doc LICENSE LICENSE_OF_DEPENDENCIES.md QUERIES.md README.md CHANGELOG.md +%license LICENSE LICENSE_OF_DEPENDENCIES.md +%doc QUERIES.md README.md CHANGELOG.md %dir %{_sysconfdir}/influxdb -%config %{_sysconfdir}/influxdb/config.toml +%config(noreplace) %attr(0640 root,influxdb) %{_sysconfdir}/influxdb/config.toml %{_bindir}/influx %{_bindir}/influx_inspect %{_bindir}/influxd @@ -156,7 +157,7 @@ %{_tmpfilesdir}/influxdb.conf %else /etc/init.d/influxdb -%attr(0755, influxdb, influxdb) %dir %{_localstatedir}/run/influxdb +%attr(0755, influxdb, influxdb) %dir %{_rundir}/influxdb %endif %attr(0755, influxdb, influxdb) %dir %{_localstatedir}/log/influxdb %attr(0755, influxdb, influxdb) %dir %{_localstatedir}/lib/influxdb @@ -178,7 +179,7 @@ %files devel %defattr(-,root,root,-) -%doc LICENSE LICENSE_OF_DEPENDENCIES.md +%license LICENSE LICENSE_OF_DEPENDENCIES.md %dir %{go_contribsrcdir}/github.com %dir %{go_contribsrcdir}/github.com/influxdata %{go_contribsrcdir}/github.com/influxdata/influxdb ++++++ influxdb.service ++++++ --- /var/tmp/diff_new_pack.YQEpIB/_old 2019-01-25 22:44:17.395159823 +0100 +++ /var/tmp/diff_new_pack.YQEpIB/_new 2019-01-25 22:44:17.395159823 +0100 @@ -3,7 +3,7 @@ After=network.target [Service] -Environment="config=/etc/influxdb/config.toml" "pidfile=/var/run/influxdb/influxdb.pid" +Environment="config=/etc/influxdb/config.toml" "pidfile=/run/influxdb/influxdb.pid" LimitNOFILE=100000 ExecStart=/usr/bin/influxd -config ${config} -pidfile ${pidfile} Type=simple ++++++ influxdb.tmpfiles ++++++ --- /var/tmp/diff_new_pack.YQEpIB/_old 2019-01-25 22:44:17.407159808 +0100 +++ /var/tmp/diff_new_pack.YQEpIB/_new 2019-01-25 22:44:17.407159808 +0100 @@ -1 +1 @@ -d /var/run/influxdb 0775 influxdb influxdb +d /run/influxdb 0775 influxdb influxdb