New upstream release
This commit is contained in:
parent
852d251025
commit
e3192a1335
@ -1,2 +1 @@
|
|||||||
corosync-0.97.tar.gz
|
corosync-0.98.tar.gz
|
||||||
corosync-trunk.diff
|
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
%define alphatag svn2233
|
# define 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: 0.97
|
Version: 0.98
|
||||||
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/corosync-%{version}/corosync-%{version}.tar.gz
|
||||||
Patch0: corosync-trunk.diff
|
|
||||||
|
|
||||||
# Runtime bits
|
# Runtime bits
|
||||||
Requires: corosynclib = %{version}-%{release}
|
Requires: corosynclib = %{version}-%{release}
|
||||||
@ -17,14 +16,8 @@ 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
|
||||||
|
|
||||||
# Setup/build bits
|
|
||||||
%define ais_user_uid 39
|
|
||||||
|
|
||||||
%if %{alphatag}
|
|
||||||
%define buildtrunk 1
|
|
||||||
%else
|
|
||||||
%define buildtrunk 0
|
%define buildtrunk 0
|
||||||
%endif
|
%{?alphatag: %define buildtrunk 1}
|
||||||
%{?_with_buildtrunk: %define buildtrunk 1}
|
%{?_with_buildtrunk: %define buildtrunk 1}
|
||||||
|
|
||||||
%if %{buildtrunk}
|
%if %{buildtrunk}
|
||||||
@ -36,7 +29,6 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n corosync-%{version}
|
%setup -q -n corosync-%{version}
|
||||||
%patch0 -p0
|
|
||||||
|
|
||||||
%if %{buildtrunk}
|
%if %{buildtrunk}
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -71,11 +63,6 @@ rm -rf %{buildroot}
|
|||||||
This package contains the Corosync Cluster Engine Executive, several default
|
This package contains the Corosync Cluster Engine Executive, several default
|
||||||
APIs and libraries, default configuration files, and an init script.
|
APIs and libraries, default configuration files, and an init script.
|
||||||
|
|
||||||
%pre
|
|
||||||
# Add the "ais" user
|
|
||||||
/usr/sbin/useradd -c 'The Corosync Cluster Engine' \
|
|
||||||
-u %{ais_user_uid} -s /sbin/nologin -r -d '/' ais 2> /dev/null || :
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/chkconfig --add corosync || :
|
/sbin/chkconfig --add corosync || :
|
||||||
|
|
||||||
@ -97,7 +84,9 @@ fi
|
|||||||
%{_sbindir}/corosync-cfgtool
|
%{_sbindir}/corosync-cfgtool
|
||||||
%{_sbindir}/corosync-fplay
|
%{_sbindir}/corosync-fplay
|
||||||
%{_sbindir}/corosync-pload
|
%{_sbindir}/corosync-pload
|
||||||
%config(noreplace) /etc/corosync.conf.example
|
%dir /etc/corosync
|
||||||
|
%dir /etc/corosync/uidgid.d
|
||||||
|
%config(noreplace) /etc/corosync/corosync.conf.example
|
||||||
%{_initddir}/corosync
|
%{_initddir}/corosync
|
||||||
%dir %{_libexecdir}/lcrso
|
%dir %{_libexecdir}/lcrso
|
||||||
%{_libexecdir}/lcrso/coroparse.lcrso
|
%{_libexecdir}/lcrso/coroparse.lcrso
|
||||||
@ -213,6 +202,14 @@ The Corosync Cluster Engine APIs.
|
|||||||
%{_mandir}/man8/coroipc_overview.8*
|
%{_mandir}/man8/coroipc_overview.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 20 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.98-1
|
||||||
|
- New upstream release
|
||||||
|
- spec file updates:
|
||||||
|
* Drop corosync-trunk patch and alpha tag.
|
||||||
|
* Fix alphatag vs buildtrunk handling.
|
||||||
|
* Drop requirement on ais user/group and stop creating them.
|
||||||
|
* New config file locations from upstream: /etc/corosync/corosync.conf.
|
||||||
|
|
||||||
* Wed Jun 10 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.97-1.svn2233
|
* Wed Jun 10 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.97-1.svn2233
|
||||||
- spec file updates:
|
- spec file updates:
|
||||||
* Update to svn version 2233 to include library linking fixes
|
* Update to svn version 2233 to include library linking fixes
|
||||||
|
Loading…
Reference in New Issue
Block a user