From e7a395414f8aa1ad5de6b7057946d25630400b18c059da6606b804e82a5febd3 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Mon, 3 Mar 2014 11:51:26 +0000 Subject: [PATCH] - 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 --- pacemaker.changes | 5 +++++ pacemaker.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pacemaker.changes b/pacemaker.changes index aa553ad..75ab871 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -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 diff --git a/pacemaker.spec b/pacemaker.spec index f078d26..8823db3 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -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