diff --git a/distcc.changes b/distcc.changes index 1ea8bfd..4224271 100644 --- a/distcc.changes +++ b/distcc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 23 13:49:22 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Wed Jun 14 12:51:30 UTC 2017 - tchvatal@suse.com diff --git a/distcc.spec b/distcc.spec index 3e131d8..ff7de58 100644 --- a/distcc.spec +++ b/distcc.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: distcc Version: 3.2rc1 Release: 0 @@ -118,7 +123,7 @@ mkdir -p %{buildroot}/%{_sbindir} ln -sf service %{buildroot}/%{_sbindir}/rc%{name}d install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/%{name}d.service # sysconfig -install -Dm 644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}d +install -Dm 644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}d # firewall install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}d # compat links for env override @@ -189,7 +194,7 @@ rm -rf %{buildroot}%{_docdir}/distcc/INSTALL %{_mandir}/man1/distccd* %{_mandir}/man1/include_server* %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/distccd -%{_localstatedir}/adm/fillup-templates/* +%{_fillupdir}/* %{python_sitearch}/include_server* %files gui