Accepting request 438200 from home:BinLiu:branches:network:ha-clustering:Factory

added: corosync-start-stop-level.patch

OBS-URL: https://build.opensuse.org/request/show/438200
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=72
This commit is contained in:
Bin Liu 2016-11-02 03:05:26 +00:00 committed by Git OBS Bridge
parent 3a9d60c32f
commit d090934fa2
2 changed files with 4 additions and 8 deletions

View File

@ -2,6 +2,7 @@
Mon Oct 17 08:28:33 UTC 2016 - bliu@suse.com
- upgrade to corosync-2.4.1(bsc#1004967)
added: corosync-start-stop-level.patch
corosync-2.4.1:
Low: totemsrp: Addition of the log.
cts: Make it run with pacemaker-1.13+

View File

@ -274,6 +274,7 @@ fi
%if %{with_systemd} && 0%{?systemd_postun:1}
%systemd_postun
%endif
rm /etc/sysconfig/corosync
%files
%defattr(-,root,root,-)
@ -480,10 +481,6 @@ ln -s /run/corosync-qdevice /var/run/
%endif
%if %{with_systemd} && 0%{?systemd_post:1}
%systemd_post corosync-qdevice.service
%else
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add corosync-qdevice || :
fi
%endif
%preun -n corosync-qdevice
@ -503,6 +500,7 @@ unlink /var/run/corosync-qdevice
%if %{with_systemd} && 0%{?systemd_postun:1}
%systemd_postun
%endif
rm /etc/sysconfig/corosync-qdevice
%files -n corosync-qdevice
%defattr(-,root,root,-)
@ -565,10 +563,6 @@ ln -s /run/corosync-qnetd /var/run/
%{fillup_and_insserv -n corosync-qnetd}
%if %{with_systemd} && 0%{?systemd_post:1}
%systemd_post corosync-qnetd.service
%else
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add corosync-qnetd || :
fi
%endif
%preun -n corosync-qnetd
@ -588,6 +582,7 @@ unlink /var/run/corosync-qnetd
%if %{with_systemd} && 0%{?systemd_postun:1}
%systemd_postun
%endif
rm /etc/sysconfig/corosync-qnetd
%files -n corosync-qnetd
%defattr(-,root,root,-)