diff --git a/actkbd.changes b/actkbd.changes index ddb02e0..f797756 100644 --- a/actkbd.changes +++ b/actkbd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 23 13:42:35 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Mon Feb 16 15:25:27 UTC 2015 - tchvatal@suse.com diff --git a/actkbd.spec b/actkbd.spec index f1eb303..3d4188c 100644 --- a/actkbd.spec +++ b/actkbd.spec @@ -1,7 +1,7 @@ # # spec file for package actkbd # -# Copyright (c) 2014 SUSE LINUX Products 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 @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + Name: actkbd Version: 0.2.8 Release: 0 @@ -51,7 +56,7 @@ mkdir -p %{buildroot}%{_sbindir}/ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcactkbd install -Dm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/actkbd.conf -install -Dm 644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.actkbd +install -Dm 644 %{SOURCE3} %{buildroot}%{_fillupdir}/sysconfig.actkbd install -Dm 755 actkbd %{buildroot}%{_sbindir}/actkbd @@ -75,7 +80,7 @@ install -dm 644 samples %{buildroot}%{_docdir}/%{name}/samples %defattr(-,root,root) %doc README NEWS FAQ AUTHORS %config %{_sysconfdir}/actkbd.conf -%{_localstatedir}/adm/fillup-templates/* +%{_fillupdir}/* %{_sbindir}/actkbd %{_unitdir}/actkbd.service %{_sbindir}/rcactkbd