diff --git a/tgt.changes b/tgt.changes index 6d8cb0a..1b9d530 100644 --- a/tgt.changes +++ b/tgt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 23 13:42:22 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Tue Jan 31 01:17:49 UTC 2017 - lduncan@suse.com diff --git a/tgt.spec b/tgt.spec index 069878a..613267e 100644 --- a/tgt.spec +++ b/tgt.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: tgt Version: 1.0.60 Release: 0 @@ -68,7 +73,7 @@ make OPTFLAGS="%{optflags}" %{backends} make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install install -vD -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service install -vD %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt -install -vD %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name} +install -vD %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name} ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d %pre @@ -91,7 +96,7 @@ ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d %dir %{_sysconfdir}/tgt/conf.d %config %attr(0644,root,root) %{_sysconfdir}/tgt/targets.conf %config %attr(0644,root,root) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/tgt -%{_localstatedir}/adm/fillup-templates/sysconfig.tgt +%{_fillupdir}/sysconfig.tgt %{_unitdir}/%{name}d.service %doc README doc/README.iscsi doc/README.iser doc/README.lu_configuration %doc doc/README.mmc doc/README.passthrough doc/README.sbcjukebox doc/README.ssc