- Add symlinks rcpacemaker and rcpacemaker_remote to /usr/bin/service (bnc#866057)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=114
This commit is contained in:
Yan Gao 2014-03-03 11:51:26 +00:00 committed by Git OBS Bridge
parent 0bc48138fd
commit e7a395414f
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 3 11:42:04 UTC 2014 - ygao@suse.com
- Add symlinks rcpacemaker and rcpacemaker_remote to /usr/bin/service (bnc#866057)
-------------------------------------------------------------------
Mon Mar 3 09:32:30 UTC 2014 - ygao@suse.com

View File

@ -487,6 +487,9 @@ rm -f %{buildroot}/%{_libdir}/service_crm.so
%if %{defined _unitdir}
rm -f %{buildroot}/%{_initrddir}/pacemaker
rm -f %{buildroot}/%{_initrddir}/pacemaker_remote
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcpacemaker
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcpacemaker_remote
%endif
# Only useful on rhel6
@ -607,6 +610,7 @@ fi
%if %{defined _unitdir}
%{_unitdir}/pacemaker.service
%{_sbindir}/rcpacemaker
%else
%{_initrddir}/pacemaker
%endif
@ -721,6 +725,7 @@ fi
#%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
%if %{defined _unitdir}
%{_unitdir}/pacemaker_remote.service
%{_sbindir}/rcpacemaker_remote
%else
%{_initrddir}/pacemaker_remote
%endif