diff --git a/boinc-client.changes b/boinc-client.changes index dee4c7b..296a05e 100644 --- a/boinc-client.changes +++ b/boinc-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 23 13:38:12 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + ------------------------------------------------------------------- Thu Oct 26 22:39:03 UTC 2017 - chris@computersalat.de diff --git a/boinc-client.spec b/boinc-client.spec index cce6d4f..450fa50 100644 --- a/boinc-client.spec +++ b/boinc-client.spec @@ -18,6 +18,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %define sonum 7 %define boinc_dir %{_localstatedir}/lib/boinc @@ -278,7 +283,7 @@ install -Dm0755 %{SOURCE10} %{buildroot}%{_initddir}/%{name} /bin/ln -sf %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} %endif # Install template for sysconfig -install -Dm0644 %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name} +install -Dm0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name} # Install logrotate install -Dm0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} @@ -407,7 +412,7 @@ fi %{_initddir}/%{name} %endif %{_sbindir}/rc%{name} -%{_localstatedir}/adm/fillup-templates/sysconfig.%{name} +%{_fillupdir}/sysconfig.%{name} %defattr(-,boinc,boinc,-) %{_localstatedir}/lib/boinc/