New upstream release, fixes a few gazzillion bugs
This commit is contained in:
parent
63ece51c7b
commit
d5420dd957
@ -1 +1 @@
|
|||||||
corosync-1.1.2.tar.gz
|
corosync-1.2.0.tar.gz
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# define alphatag svn1211
|
# global alphatag svn1211
|
||||||
|
|
||||||
Name: corosync
|
Name: corosync
|
||||||
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
||||||
Version: 1.1.2
|
Version: 1.2.0
|
||||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://www.openais.org
|
URL: http://www.openais.org
|
||||||
Source0: http://developer.osdl.org/dev/openais/downloads/corosync-%{version}/corosync-%{version}.tar.gz
|
Source0: http://developer.osdl.org/dev/openais/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# Runtime bits
|
# Runtime bits
|
||||||
Requires: corosynclib = %{version}-%{release}
|
Requires: corosynclib = %{version}-%{release}
|
||||||
@ -16,8 +16,9 @@ Requires(post): /sbin/chkconfig
|
|||||||
Requires(preun): /sbin/chkconfig
|
Requires(preun): /sbin/chkconfig
|
||||||
Conflicts: openais <= 0.89, openais-devel <= 0.89
|
Conflicts: openais <= 0.89, openais-devel <= 0.89
|
||||||
|
|
||||||
|
# Build bits
|
||||||
|
|
||||||
%define buildtrunk 0
|
%define buildtrunk 0
|
||||||
%{?alphatag: %define buildtrunk 1}
|
|
||||||
%{?_with_buildtrunk: %define buildtrunk 1}
|
%{?_with_buildtrunk: %define buildtrunk 1}
|
||||||
|
|
||||||
%if %{buildtrunk}
|
%if %{buildtrunk}
|
||||||
@ -29,7 +30,7 @@ BuildRequires: libibverbs-devel librdmacm-devel
|
|||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n corosync-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%if %{buildtrunk}
|
%if %{buildtrunk}
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -41,7 +42,8 @@ export rdmacm_CFLAGS=-I/usr/include/rdma \
|
|||||||
export rdmacm_LIBS=-lrdmacm \
|
export rdmacm_LIBS=-lrdmacm \
|
||||||
%{configure} \
|
%{configure} \
|
||||||
--enable-nss \
|
--enable-nss \
|
||||||
--enable-rdma
|
--enable-rdma \
|
||||||
|
--with-initddir=%{_initddir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
@ -50,8 +52,6 @@ make %{_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
install -d %{buildroot}%{_initddir}
|
|
||||||
install -m 755 init/redhat %{buildroot}%{_initddir}/corosync
|
|
||||||
|
|
||||||
## tree fixup
|
## tree fixup
|
||||||
# drop static libs
|
# drop static libs
|
||||||
@ -75,9 +75,6 @@ if [ $1 -eq 0 ]; then
|
|||||||
/sbin/chkconfig --del corosync || :
|
/sbin/chkconfig --del corosync || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
|
||||||
[ "$1" -ge "1" ] && /sbin/service corosync condrestart &>/dev/null || :
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE SECURITY
|
%doc LICENSE SECURITY
|
||||||
@ -90,6 +87,7 @@ fi
|
|||||||
%{_sbindir}/corosync-cpgtool
|
%{_sbindir}/corosync-cpgtool
|
||||||
%{_sbindir}/corosync-quorumtool
|
%{_sbindir}/corosync-quorumtool
|
||||||
%dir %{_sysconfdir}/corosync
|
%dir %{_sysconfdir}/corosync
|
||||||
|
%dir %{_sysconfdir}/corosync/service.d
|
||||||
%dir %{_sysconfdir}/corosync/uidgid.d
|
%dir %{_sysconfdir}/corosync/uidgid.d
|
||||||
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
|
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
|
||||||
%{_initddir}/corosync
|
%{_initddir}/corosync
|
||||||
@ -113,7 +111,7 @@ fi
|
|||||||
%package -n corosynclib
|
%package -n corosynclib
|
||||||
Summary: The Corosync Cluster Engine Libraries
|
Summary: The Corosync Cluster Engine Libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Conflicts: corosync < 0.92-7
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n corosynclib
|
%description -n corosynclib
|
||||||
This package contains corosync libraries.
|
This package contains corosync libraries.
|
||||||
@ -132,6 +130,7 @@ This package contains corosync libraries.
|
|||||||
%{_libdir}/libquorum.so.*
|
%{_libdir}/libquorum.so.*
|
||||||
%{_libdir}/libvotequorum.so.*
|
%{_libdir}/libvotequorum.so.*
|
||||||
%{_libdir}/libpload.so.*
|
%{_libdir}/libpload.so.*
|
||||||
|
%{_libdir}/libsam.so.*
|
||||||
|
|
||||||
%post -n corosynclib -p /sbin/ldconfig
|
%post -n corosynclib -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -166,6 +165,7 @@ The Corosync Cluster Engine APIs.
|
|||||||
%{_includedir}/corosync/hdb.h
|
%{_includedir}/corosync/hdb.h
|
||||||
%{_includedir}/corosync/list.h
|
%{_includedir}/corosync/list.h
|
||||||
%{_includedir}/corosync/mar_gen.h
|
%{_includedir}/corosync/mar_gen.h
|
||||||
|
%{_includedir}/corosync/sam.h
|
||||||
%{_includedir}/corosync/swab.h
|
%{_includedir}/corosync/swab.h
|
||||||
%{_includedir}/corosync/quorum.h
|
%{_includedir}/corosync/quorum.h
|
||||||
%{_includedir}/corosync/votequorum.h
|
%{_includedir}/corosync/votequorum.h
|
||||||
@ -195,19 +195,34 @@ The Corosync Cluster Engine APIs.
|
|||||||
%{_libdir}/libquorum.so
|
%{_libdir}/libquorum.so
|
||||||
%{_libdir}/libvotequorum.so
|
%{_libdir}/libvotequorum.so
|
||||||
%{_libdir}/libpload.so
|
%{_libdir}/libpload.so
|
||||||
|
%{_libdir}/libsam.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_mandir}/man3/cpg_*3*
|
%{_mandir}/man3/cpg_*3*
|
||||||
%{_mandir}/man3/evs_*3*
|
%{_mandir}/man3/evs_*3*
|
||||||
%{_mandir}/man3/confdb_*3*
|
%{_mandir}/man3/confdb_*3*
|
||||||
%{_mandir}/man3/votequorum_*3*
|
%{_mandir}/man3/votequorum_*3*
|
||||||
|
%{_mandir}/man3/sam_*3*
|
||||||
%{_mandir}/man8/cpg_overview.8*
|
%{_mandir}/man8/cpg_overview.8*
|
||||||
%{_mandir}/man8/evs_overview.8*
|
%{_mandir}/man8/evs_overview.8*
|
||||||
%{_mandir}/man8/confdb_overview.8*
|
%{_mandir}/man8/confdb_overview.8*
|
||||||
%{_mandir}/man8/logsys_overview.8*
|
%{_mandir}/man8/logsys_overview.8*
|
||||||
%{_mandir}/man8/votequorum_overview.8*
|
%{_mandir}/man8/votequorum_overview.8*
|
||||||
%{_mandir}/man8/coroipc_overview.8*
|
%{_mandir}/man8/coroipc_overview.8*
|
||||||
|
%{_mandir}/man8/sam_overview.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 8 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.2.0-1
|
||||||
|
- New upstream release
|
||||||
|
- Use global instead of define
|
||||||
|
- Update Source0 url
|
||||||
|
- Use more %name macro around
|
||||||
|
- Cleanup install section. Init script is now installed by upstream
|
||||||
|
- Cleanup whitespace
|
||||||
|
- Don't deadlock between package upgrade and corosync condrestart
|
||||||
|
- Ship service.d config directory
|
||||||
|
- Fix Conflicts vs Requires
|
||||||
|
- Ship new sam library and man pages
|
||||||
|
|
||||||
* Fri Oct 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.2-1
|
* Fri Oct 23 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.2-1
|
||||||
- New upstream release fixes major regression on specific loads
|
- New upstream release fixes major regression on specific loads
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user