forked from pool/boinc-client
Accepting request 544659 from home:RBrownSUSE:branches:network
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544659 OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=68
This commit is contained in:
parent
03dad75fa3
commit
a1ecb7b4e1
@ -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
|
Thu Oct 26 22:39:03 UTC 2017 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -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 sonum 7
|
||||||
%define boinc_dir %{_localstatedir}/lib/boinc
|
%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}
|
/bin/ln -sf %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
|
||||||
%endif
|
%endif
|
||||||
# Install template for sysconfig
|
# Install template for sysconfig
|
||||||
install -Dm0644 %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
install -Dm0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||||
|
|
||||||
# Install logrotate
|
# Install logrotate
|
||||||
install -Dm0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
install -Dm0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||||
@ -407,7 +412,7 @@ fi
|
|||||||
%{_initddir}/%{name}
|
%{_initddir}/%{name}
|
||||||
%endif
|
%endif
|
||||||
%{_sbindir}/rc%{name}
|
%{_sbindir}/rc%{name}
|
||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
%{_fillupdir}/sysconfig.%{name}
|
||||||
%defattr(-,boinc,boinc,-)
|
%defattr(-,boinc,boinc,-)
|
||||||
%{_localstatedir}/lib/boinc/
|
%{_localstatedir}/lib/boinc/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user