New upstream release: 1.1.6
This commit is contained in:
parent
4c1e9ba8b0
commit
fde19d9994
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/Pacemaker-1.1.4.tar.bz2
|
/Pacemaker-1.1.4.tar.bz2
|
||||||
/Pacemaker-1.1.5.tar.bz2
|
/Pacemaker-1.1.5.tar.bz2
|
||||||
|
/Pacemaker-1.1.6.tar.bz2
|
||||||
|
155
pacemaker.spec
155
pacemaker.spec
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# ESMTP is not available in RHEL, only in EPEL. Allow people to build
|
# ESMTP is not available in RHEL, only in EPEL. Allow people to build
|
||||||
# the RPM without ESMTP in case they choose not to use EPEL packages
|
# the RPM without ESMTP in case they choose not to use EPEL packages
|
||||||
%bcond_without esmtp
|
%bcond_with esmtp
|
||||||
|
|
||||||
# SNMP trap support only works with Net-SNMP 5.4 and above
|
# SNMP trap support only works with Net-SNMP 5.4 and above
|
||||||
# And links against libperl.so which is borked on fedora
|
# And links against libperl.so which is borked on fedora
|
||||||
@ -18,17 +18,23 @@
|
|||||||
# Support additional trace logging
|
# Support additional trace logging
|
||||||
%bcond_with tracedata
|
%bcond_with tracedata
|
||||||
|
|
||||||
|
%bcond_without doc
|
||||||
|
|
||||||
# We generate some docs using Publican, but its not available everywhere
|
# We generate some docs using Publican, but its not available everywhere
|
||||||
%bcond_with publican
|
%bcond_with publican
|
||||||
|
|
||||||
%global specversion 3
|
%global specversion 1
|
||||||
%global upstream_version Pacemaker-1.1.5
|
%global upstream_version Pacemaker-1.1.6
|
||||||
%global upstream_prefix Pacemaker-1-1-
|
%global upstream_prefix Pacemaker-1-1-
|
||||||
|
|
||||||
# Keep around for when/if required
|
# Use a different versioning scheme
|
||||||
#global alphatag %{upstream_version}.hg
|
%bcond_with pre_release
|
||||||
|
|
||||||
%global pcmk_release %{?alphatag:0.}%{specversion}%{?alphatag:.%{alphatag}}%{?dist}
|
%if %{with pre_release}
|
||||||
|
%global pcmk_release 0.%{specversion}.%{upstream_version}.hg
|
||||||
|
%else
|
||||||
|
%global pcmk_release %{specversion}
|
||||||
|
%endif
|
||||||
|
|
||||||
# Compatibility macros for distros that don't provide Python macros by default.
|
# Compatibility macros for distros that don't provide Python macros by default.
|
||||||
# Do this instead of trying to conditionally include
|
# Do this instead of trying to conditionally include
|
||||||
@ -40,24 +46,23 @@
|
|||||||
|
|
||||||
Name: pacemaker
|
Name: pacemaker
|
||||||
Summary: Scalable High-Availability cluster resource manager
|
Summary: Scalable High-Availability cluster resource manager
|
||||||
Version: 1.1.5
|
Version: 1.1.6
|
||||||
Release: %{pcmk_release}.2
|
Release: %{pcmk_release}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Url: http://www.clusterlabs.org
|
Url: http://www.clusterlabs.org
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: http://hg.clusterlabs.org/pacemaker/1.1/archive/%{upstream_version}.tar.bz2
|
Source0: http://hg.clusterlabs.org/pacemaker/1.1/archive/%{upstream_version}.tar.bz2
|
||||||
Patch3: cman-fencing-ack.patch
|
|
||||||
Patch4: cman-dispatch-all.patch
|
|
||||||
Patch5: cman-disconnect.patch
|
|
||||||
Patch6: cman-fencing-override.patch
|
|
||||||
Patch7: pacemaker-multilib-header.patch
|
|
||||||
Patch8: stonith-manpage.patch
|
|
||||||
|
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Requires(pre): cluster-glue
|
Requires(pre): cluster-glue
|
||||||
Requires: resource-agents
|
Requires: resource-agents
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
Requires: %{name}-cli = %{version}-%{release}
|
||||||
|
|
||||||
|
%if %{with snmp}
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
%endif
|
||||||
|
|
||||||
# Required for core functionality
|
# Required for core functionality
|
||||||
BuildRequires: automake autoconf libtool pkgconfig libtool-ltdl-devel python-devel
|
BuildRequires: automake autoconf libtool pkgconfig libtool-ltdl-devel python-devel
|
||||||
@ -88,9 +93,13 @@ BuildRequires: clusterlib-devel
|
|||||||
BuildRequires: heartbeat-devel heartbeat-libs
|
BuildRequires: heartbeat-devel heartbeat-libs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with doc}
|
||||||
|
BuildRequires: asciidoc help2man
|
||||||
|
|
||||||
%if %{with publican}
|
%if %{with publican}
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
BuildRequires: publican
|
BuildRequires: publican inkscape
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -105,13 +114,13 @@ It will run scripts at initialization, when machines go up or down,
|
|||||||
when related resources fail and can be configured to periodically check
|
when related resources fail and can be configured to periodically check
|
||||||
resource health.
|
resource health.
|
||||||
|
|
||||||
%package -n pacemaker-libs
|
%package cli
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Summary: Libraries used by the Pacemaker cluster resource manager and its clients
|
Summary: Command line tools for controlling the Pacemaker cluster resource manager
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description -n pacemaker-libs
|
%description cli
|
||||||
Pacemaker is an advanced, scalable High-Availability cluster resource
|
Pacemaker is an advanced, scalable High-Availability cluster resource
|
||||||
manager for Linux-HA (Heartbeat) and/or OpenAIS.
|
manager for Linux-HA (Heartbeat) and/or OpenAIS.
|
||||||
|
|
||||||
@ -122,7 +131,23 @@ It will run scripts at initialization, when machines go up or down,
|
|||||||
when related resources fail and can be configured to periodically check
|
when related resources fail and can be configured to periodically check
|
||||||
resource health.
|
resource health.
|
||||||
|
|
||||||
%package -n pacemaker-libs-devel
|
%package -n %{name}-libs
|
||||||
|
License: GPLv2+ and LGPLv2+
|
||||||
|
Summary: Libraries used by the Pacemaker cluster resource manager and its clients
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
|
||||||
|
%description -n %{name}-libs
|
||||||
|
Pacemaker is an advanced, scalable High-Availability cluster resource
|
||||||
|
manager for Linux-HA (Heartbeat) and/or OpenAIS.
|
||||||
|
|
||||||
|
It supports "n-node" clusters with significant capabilities for
|
||||||
|
managing resources and dependencies.
|
||||||
|
|
||||||
|
It will run scripts at initialization, when machines go up or down,
|
||||||
|
when related resources fail and can be configured to periodically check
|
||||||
|
resource health.
|
||||||
|
|
||||||
|
%package -n %{name}-libs-devel
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Summary: Pacemaker development package
|
Summary: Pacemaker development package
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -135,7 +160,7 @@ Requires: corosynclib-devel
|
|||||||
Requires: heartbeat-devel
|
Requires: heartbeat-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description -n pacemaker-libs-devel
|
%description -n %{name}-libs-devel
|
||||||
Headers and shared libraries for developing tools for Pacemaker.
|
Headers and shared libraries for developing tools for Pacemaker.
|
||||||
|
|
||||||
Pacemaker is an advanced, scalable High-Availability cluster resource
|
Pacemaker is an advanced, scalable High-Availability cluster resource
|
||||||
@ -177,16 +202,14 @@ resource health.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_prefix}%{upstream_version}
|
%setup -q -n %{upstream_prefix}%{upstream_version}
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
%patch6 -p1
|
|
||||||
%patch7 -p1
|
|
||||||
%patch8 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
|
%if %{with snmp}
|
||||||
|
eval `objdump --headers --private-headers /usr/bin/perl | grep RPATH | awk '{print "export LD_LIBRARY_PATH="$2}'`
|
||||||
|
%endif
|
||||||
|
|
||||||
%{configure} \
|
%{configure} \
|
||||||
%{!?with_heartbeat: --without-heartbeat} \
|
%{!?with_heartbeat: --without-heartbeat} \
|
||||||
%{!?with_ais: --without-ais} \
|
%{!?with_ais: --without-ais} \
|
||||||
@ -244,9 +267,9 @@ if [ $1 -eq 0 ]; then
|
|||||||
/sbin/chkconfig --del pacemaker || :
|
/sbin/chkconfig --del pacemaker || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n pacemaker-libs -p /sbin/ldconfig
|
%post -n %{name}-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n pacemaker-libs -p /sbin/ldconfig
|
%postun -n %{name}-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
###########################################################
|
###########################################################
|
||||||
@ -257,39 +280,18 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
|
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
|
||||||
%{_initddir}/pacemaker
|
%{_initddir}/pacemaker
|
||||||
%{_sbindir}/pacemakerd
|
%{_sbindir}/pacemakerd
|
||||||
|
%if %{defined _unitdir}
|
||||||
|
%{_unitdir}/pacemaker.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%{_datadir}/pacemaker
|
%{_datadir}/pacemaker
|
||||||
%{_datadir}/snmp/mibs/PCMK-MIB.txt
|
%{_datadir}/snmp/mibs/PCMK-MIB.txt
|
||||||
%{_libdir}/heartbeat/*
|
%{_libdir}/heartbeat/*
|
||||||
%{_sbindir}/cibadmin
|
|
||||||
%{_sbindir}/crm_attribute
|
%{_sbindir}/crm_attribute
|
||||||
%{_sbindir}/crm_diff
|
|
||||||
%{_sbindir}/crm_failcount
|
|
||||||
%{_sbindir}/crm_master
|
%{_sbindir}/crm_master
|
||||||
%{_sbindir}/crm_mon
|
|
||||||
%{_sbindir}/crm
|
|
||||||
%{_sbindir}/crm_simulate
|
|
||||||
%{_sbindir}/crm_resource
|
|
||||||
%{_sbindir}/crm_report
|
|
||||||
%{_sbindir}/crm_standby
|
|
||||||
%{_sbindir}/crm_verify
|
|
||||||
%{_sbindir}/crmadmin
|
|
||||||
%{_sbindir}/iso8601
|
|
||||||
%{_sbindir}/attrd_updater
|
%{_sbindir}/attrd_updater
|
||||||
%{_sbindir}/ptest
|
|
||||||
%{_sbindir}/crm_shadow
|
|
||||||
%{_sbindir}/cibpipe
|
|
||||||
%{_sbindir}/crm_node
|
|
||||||
%{_sbindir}/fence_legacy
|
%{_sbindir}/fence_legacy
|
||||||
%{_sbindir}/stonith_admin
|
%{_sbindir}/stonith_admin
|
||||||
%{py_sitedir}/crm
|
|
||||||
%{_mandir}
|
|
||||||
|
|
||||||
%if %{with heartbeat}
|
|
||||||
%{_sbindir}/crm_uuid
|
|
||||||
%else
|
|
||||||
%exclude %{_sbindir}/crm_uuid
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Packaged elsewhere
|
# Packaged elsewhere
|
||||||
%exclude %{_datadir}/pacemaker/tests
|
%exclude %{_datadir}/pacemaker/tests
|
||||||
@ -308,7 +310,42 @@ fi
|
|||||||
%{_libexecdir}/lcrso/pacemaker.lcrso
|
%{_libexecdir}/lcrso/pacemaker.lcrso
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n pacemaker-libs
|
%files cli
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_sbindir}/cibadmin
|
||||||
|
%{_sbindir}/crm_diff
|
||||||
|
%{_sbindir}/crm_failcount
|
||||||
|
%{_sbindir}/crm_mon
|
||||||
|
%{_sbindir}/crm
|
||||||
|
%{_sbindir}/crm_resource
|
||||||
|
%{_sbindir}/crm_standby
|
||||||
|
%{_sbindir}/crm_verify
|
||||||
|
%{_sbindir}/crmadmin
|
||||||
|
%{_sbindir}/iso8601
|
||||||
|
%{_sbindir}/ptest
|
||||||
|
%{_sbindir}/crm_shadow
|
||||||
|
%{_sbindir}/cibpipe
|
||||||
|
%{_sbindir}/crm_node
|
||||||
|
%{_sbindir}/crm_simulate
|
||||||
|
%{_sbindir}/crm_report
|
||||||
|
%{_sbindir}/crm_ticket
|
||||||
|
%{py_sitedir}/crm
|
||||||
|
%if %{with doc}
|
||||||
|
%doc %{_mandir}/man7/*
|
||||||
|
%doc %{_mandir}/man8/*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with heartbeat}
|
||||||
|
%{_sbindir}/crm_uuid
|
||||||
|
%else
|
||||||
|
%exclude %{_sbindir}/crm_uuid
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%doc COPYING
|
||||||
|
%doc AUTHORS
|
||||||
|
%doc ChangeLog
|
||||||
|
|
||||||
|
%files -n %{name}-libs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libcib.so.*
|
%{_libdir}/libcib.so.*
|
||||||
%{_libdir}/libcrmcommon.so.*
|
%{_libdir}/libcrmcommon.so.*
|
||||||
@ -332,16 +369,24 @@ fi
|
|||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
|
|
||||||
%files -n pacemaker-libs-devel
|
%files -n %{name}-libs-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%exclude %{_datadir}/pacemaker/tests/cts
|
%exclude %{_datadir}/pacemaker/tests/cts
|
||||||
%{_datadir}/pacemaker/tests
|
%{_datadir}/pacemaker/tests
|
||||||
%{_includedir}/pacemaker
|
%{_includedir}/pacemaker
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 07 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-1
|
||||||
|
- Upstream release of 1.1.6
|
||||||
|
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
|
||||||
|
|
||||||
|
- Disabled eSMTP and SNMP support. Painful to configure and rarely used.
|
||||||
|
- Created cli sub-package for non-cluster usage
|
||||||
|
|
||||||
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.2
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.2
|
||||||
- Perl mass rebuild
|
- Perl mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user