mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-06 05:34:02 +00:00
changes to corosync.spec.in template:
Move configure to %build section don't set corosync's init levels during an upgrade of the corosync package Patch from Vadym Chepkov git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2943 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
d5ba2d38c1
commit
583eb6aea5
@ -38,6 +38,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%if %{buildtrunk}
|
||||
./autogen.sh
|
||||
%endif
|
||||
@ -54,7 +55,6 @@ export rdmacm_LIBS=-lrdmacm \
|
||||
--enable-rdma \
|
||||
--with-initddir=%{_initrddir}
|
||||
|
||||
%build
|
||||
make %{_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -76,7 +76,9 @@ This package contains the Corosync Cluster Engine Executive, several default
|
||||
APIs and libraries, default configuration files, and an init script.
|
||||
|
||||
%post
|
||||
/sbin/chkconfig --add corosync || :
|
||||
if [ $1 -eq 1 ]; then
|
||||
/sbin/chkconfig --add corosync || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user