diff --git a/ddclient.changes b/ddclient.changes index ff7f936..f6ddc43 100644 --- a/ddclient.changes +++ b/ddclient.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 23 13:38:22 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Fri Feb 3 08:36:33 UTC 2017 - josef.moellers@suse.com diff --git a/ddclient.spec b/ddclient.spec index 7a070cb..8765a66 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -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: ddclient Summary: A Perl Client to Update Dynamic DNS Entries License: GPL-2.0+ @@ -92,8 +97,8 @@ mv sample-* examples %{__install} -D -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__ln_s} %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %endif -%{__install} -d -m 755 %{buildroot}/var/adm/fillup-templates -%{__install} -m 644 %{SOURCE2} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} +%{__install} -d -m 755 %{buildroot}%{_fillupdir} +%{__install} -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name} %{__install} -d -m 755 %{buildroot}/var/cache/%{name} %if 0%{?has_systemd} %{__install} -d -m 755 %{buildroot}/run/%{name} @@ -151,7 +156,7 @@ fi %endif %{_sbindir}/%{name} %{_sbindir}/rc%{name} -/var/adm/fillup-templates/sysconfig.%{name} +%{_fillupdir}/sysconfig.%{name} %dir %attr(700,%{name},root) %{_localstatedir}/cache/%{name} %changelog