Hello community, here is the log from the commit of package ez-ipupdate for openSUSE:Factory checked in at 2015-11-12 19:40:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ez-ipupdate (Old) and /work/SRC/openSUSE:Factory/.ez-ipupdate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ez-ipupdate" Changes: -------- --- /work/SRC/openSUSE:Factory/ez-ipupdate/ez-ipupdate.changes 2015-04-25 11:23:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ez-ipupdate.new/ez-ipupdate.changes 2015-11-12 19:40:52.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Nov 10 15:14:33 UTC 2015 - obs@botter.cc + +- Fix ez-ipupdate.service: the binary is being installed in + /usr/bin, not /usr/sbin (boo#954439). +- Fix tmpfile handling for pid file location in _rundir. + +------------------------------------------------------------------- New: ---- ez-ipupdate.tmpfiles ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ez-ipupdate.spec ++++++ --- /var/tmp/diff_new_pack.GeK9jQ/_old 2015-11-12 19:40:53.000000000 +0100 +++ /var/tmp/diff_new_pack.GeK9jQ/_new 2015-11-12 19:40:53.000000000 +0100 @@ -27,6 +27,7 @@ Source1: ez-ipupdate.init Source2: ez-ipupdate.example.conf Source3: ez-ipupdate.service +Source4: ez-ipupdate.tmpfiles Patch0: ez-ipupdate.example.conf.patch Patch1: ez-ipupdate-3.0.11b8-include.diff Patch2: ez-ipupdate-format-string-vuln.patch @@ -48,6 +49,7 @@ %else Requires(pre): %insserv_prereq %endif +%{!?tmpfiles_create:%global tmpfiles_create systemd-tmpfiles --create} %description ez-ipupdate is a small utility for updating your hostname for any of @@ -112,7 +114,10 @@ install -m 600 %{SOURCE2} %{buildroot}%{_sysconfdir}/ez-ipupdate.conf %if 0%{?suse_version} >=1230 install -m 644 %{SOURCE3} %{buildroot}%{_unitdir}/ez-ipupdate.service +sed -i -e 's,/run/,/%{_rundir}/,g' %{buildroot}%{_unitdir}/ez-ipupdate.service ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcez-ipupdate +install -D -m0644 %{SOURCE4} %{buildroot}/%{_prefix}/lib/tmpfiles.d/%{name}.conf +sed -i -e 's,/run/,/%{_rundir}/,g' %{buildroot}/%{_prefix}/lib/tmpfiles.d/%{name}.conf %else install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/ez-ipupdate ln -sf %{_initddir}/ez-ipupdate %{buildroot}%{_sbindir}/rcez-ipupdate @@ -133,14 +138,15 @@ %post %if 0%{?suse_version} >=1230 %service_add_post %{name}.service +%tmpfiles_create %{_prefix}/lib/tmpfiles.d/%{name}.conf %else %{fillup_and_insserv -f %{name}} %endif %postun %if 0%{?suse_version} >=1230 -%service_del_postun -%else %{name}.service +%service_del_postun %{name}.service +%else %restart_on_update %{name} %insserv_cleanup %endif @@ -153,6 +159,7 @@ %config(noreplace) %{_sysconfdir}/ez-ipupdate.conf %if 0%{?suse_version} >=1230 %{_unitdir}/%{name}.service +%{_prefix}/lib/tmpfiles.d/%{name}.conf %else %{_sysconfdir}/init.d/ez-ipupdate %endif ++++++ ez-ipupdate.service ++++++ --- /var/tmp/diff_new_pack.GeK9jQ/_old 2015-11-12 19:40:53.000000000 +0100 +++ /var/tmp/diff_new_pack.GeK9jQ/_new 2015-11-12 19:40:53.000000000 +0100 @@ -5,7 +5,7 @@ [Service] Type=forking PIDFile=/run/ez-ipupdate/ez-ipupdate.pid -ExecStart=/usr/sbin/ez-ipupdate --daemon --config-file /etc/ez-ipupdate/default.conf --pid-file /run/ez-ipupdate/ez-ipupdate.pid +ExecStart=/usr/bin/ez-ipupdate --daemon --config-file /etc/ez-ipupdate/default.conf --pid-file /run/ez-ipupdate/ez-ipupdate.pid [Install] WantedBy=multi-user.target ++++++ ez-ipupdate.tmpfiles ++++++ # tmp directory for package ez-ipupdate d /run/ez-ipupdate 0770 root root