Hello community, here is the log from the commit of package knock for openSUSE:Factory checked in at 2017-11-27 22:16:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/knock (Old) and /work/SRC/openSUSE:Factory/.knock.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "knock" Mon Nov 27 22:16:52 2017 rev:17 rq:545407 version:0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/knock/knock.changes 2015-12-09 22:21:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.knock.new/knock.changes 2017-11-27 22:16:54.645902167 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:46:18 UTC 2017 - [email protected] + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ knock.spec ++++++ --- /var/tmp/diff_new_pack.M0GerQ/_old 2017-11-27 22:16:55.373875743 +0100 +++ /var/tmp/diff_new_pack.M0GerQ/_new 2017-11-27 22:16:55.377875598 +0100 @@ -1,7 +1,7 @@ # -# spec file for package spec +# spec file for package knock # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,6 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %if 0%{?suse_version} > 1210 %define with_systemd 1 %else @@ -53,7 +59,6 @@ %package -n knockd Summary: A port-knocking server -License: GPL-2.0+ Group: Productivity/Networking/Security %if %{with_systemd} %{?systemd_requires} @@ -88,7 +93,7 @@ install -D -m 644 %{SOURCE4} %{buildroot}/%{_unitdir}/%{name}d.service ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}d %else -install -m 644 -D %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}d +install -m 644 -D %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}d install -m 755 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/init.d/%{name}d ln -sf ../..%{_initddir}/%{name}d %{buildroot}%{_sbindir}/rc%{name}d %endif @@ -133,7 +138,7 @@ %{_unitdir}/%{name}d.service %else %{_sysconfdir}/init.d/%{name}d -%config %{_localstatedir}/adm/fillup-templates/* +%config %{_fillupdir}/* %endif %{_sbindir}/rc%{name}d %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/%{name}d.conf
