c2cee8
# User-configurable globals and defines to control package behavior
c2cee8
# (these should not test {with X} values, which are declared later)
308170
308170
## User and group to use for nonprivileged services
308170
%global uname hacluster
308170
%global gname haclient
308170
308170
## Where to install Pacemaker documentation
308170
%if 0%{?suse_version} > 0
308170
%global pcmk_docdir %{_docdir}/%{name}-%{version}
308170
%else
308170
%if 0%{?rhel} > 7
308170
%global pcmk_docdir %{_docdir}/%{name}-doc
308170
%else
308170
%global pcmk_docdir %{_docdir}/%{name}
308170
%endif
308170
%endif
308170
308170
## GitHub entity that distributes source (for ease of using a fork)
308170
%global github_owner ClusterLabs
308170
2a3635
## Where bug reports should be submitted
2a3635
## Leave bug_url undefined to use ClusterLabs default, others define it here
2a3635
%if 0%{?rhel}
2a3635
%global bug_url https://bugzilla.redhat.com/
2a3635
%else
2a3635
%if 0%{?fedora}
2a3635
%global bug_url https://bugz.fedoraproject.org/%{name}
2a3635
%endif
2a3635
%endif
2a3635
2a3635
## What to use as the OCF resource agent root directory
2a3635
%global ocf_root %{_prefix}/lib/ocf
2a3635
308170
## Upstream pacemaker version, and its package version (specversion
308170
## can be incremented to build packages reliably considered "newer"
308170
## than previously built packages with the same pcmkversion)
6e5e30
%global pcmkversion 2.1.5
6e5e30
%global specversion 1
308170
c2cee8
## Upstream commit (full commit ID, abbreviated commit ID, or tag) to build
6e5e30
%global commit d3699a6216bdf59de6f416ed73bc1bc9ca727dc2
2a3635
308170
## Since git v2.11, the extent of abbreviation is autoscaled by default
308170
## (used to be constant of 7), so we need to convey it for non-tags, too.
6db787
%if (0%{?fedora} >= 26) || (0%{?rhel} >= 9)
6db787
%global commit_abbrev 9
6db787
%else
308170
%global commit_abbrev 7
6db787
%endif
308170
308170
## Nagios source control identifiers
308170
%global nagios_name nagios-agents-metadata
308170
%global nagios_hash 105ab8a
308170
308170
c2cee8
# Define conditionals so that "rpmbuild --with <feature>" and
c2cee8
# "rpmbuild --without <feature>" can enable and disable specific features
c2cee8
c2cee8
## Add option to enable support for stonith/external fencing agents
c2cee8
%bcond_with stonithd
c2cee8
2a3635
## Add option for whether to support storing sensitive information outside CIB
c2cee8
%bcond_without cibsecrets
c2cee8
7bbf0d
## Add option to enable Native Language Support (experimental)
7bbf0d
%bcond_with nls
7bbf0d
c2cee8
## Add option to create binaries suitable for use with profiling tools
c2cee8
%bcond_with profiling
c2cee8
7bbf0d
## Allow deprecated option to skip (or enable, on RHEL) documentation
2a3635
%if 0%{?rhel}
c2cee8
%bcond_with doc
2a3635
%else
2a3635
%bcond_without doc
2a3635
%endif
2a3635
2a3635
## Add option to default to start-up synchronization with SBD.
2a3635
##
2a3635
## If enabled, SBD *MUST* be built to default similarly, otherwise data
2a3635
## corruption could occur. Building both Pacemaker and SBD to default
2a3635
## to synchronization improves safety, without requiring higher-level tools
2a3635
## to be aware of the setting or requiring users to modify configurations
2a3635
## after upgrading to versions that support synchronization.
2a3635
%bcond_without sbd_sync
c2cee8
c2cee8
## Add option to prefix package version with "0."
c2cee8
## (so later "official" packages will be considered updates)
c2cee8
%bcond_with pre_release
c2cee8
c2cee8
## Add option to ship Upstart job files
c2cee8
%bcond_with upstart_job
c2cee8
c2cee8
## Add option to turn off hardening of libraries and daemon executables
c2cee8
%bcond_without hardening
c2cee8
2a3635
## Add option to enable (or disable, on RHEL 8) links for legacy daemon names
2a3635
%if 0%{?rhel} && 0%{?rhel} <= 8
c2cee8
%bcond_without legacy_links
2a3635
%else
2a3635
%bcond_with legacy_links
2a3635
%endif
c2cee8
308170
# Define globals for convenient use later
308170
308170
## Workaround to use parentheses in other globals
308170
%global lparen (
308170
%global rparen )
308170
c2cee8
## Whether this is a tagged release (final or release candidate)
c2cee8
%define tag_release %(c=%{commit}; case ${c} in Pacemaker-*%{rparen} echo 1 ;;
c2cee8
                      *%{rparen} echo 0 ;; esac)
308170
c2cee8
## Portion of export/dist tarball name after "pacemaker-", and release version
c2cee8
%if 0%{tag_release}
c2cee8
%define archive_version %(c=%{commit}; echo ${c:10})
c2cee8
%define archive_github_url %{commit}#/%{name}-%{archive_version}.tar.gz
c2cee8
%else
c2cee8
%define archive_version %(c=%{commit}; echo ${c:0:%{commit_abbrev}})
c2cee8
%define archive_github_url %{archive_version}#/%{name}-%{archive_version}.tar.gz
c2cee8
%endif
2a3635
### Always use a simple release number
c2cee8
%define pcmk_release %{specversion}
308170
308170
## Whether this platform defaults to using systemd as an init system
308170
## (needs to be evaluated prior to BuildRequires being enumerated and
308170
## installed as it's intended to conditionally select some of these, and
308170
## for that there are only few indicators with varying reliability:
308170
## - presence of systemd-defined macros (when building in a full-fledged
308170
##   environment, which is not the case with ordinary mock-based builds)
308170
## - systemd-aware rpm as manifested with the presence of particular
308170
##   macro (rpm itself will trivially always be present when building)
308170
## - existence of /usr/lib/os-release file, which is something heavily
308170
##   propagated by systemd project
308170
## - when not good enough, there's always a possibility to check
308170
##   particular distro-specific macros (incl. version comparison)
308170
%define systemd_native (%{?_unitdir:1}%{!?_unitdir:0}%{nil \
308170
  } || %{?__transaction_systemd_inhibit:1}%{!?__transaction_systemd_inhibit:0}%{nil \
308170
  } || %(test -f /usr/lib/os-release; test $? -ne 0; echo $?))
308170
308170
# Even though we pass @SYSTEM here, Pacemaker is still an exception to the
308170
# crypto policies because it adds "+ANON-DH" for CIB remote commands and
308170
# "+DHE-PSK:+PSK" for Pacemaker Remote connections. This is currently
308170
# required for the respective functionality.
308170
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
308170
## Base GnuTLS cipher priorities (presumably only the initial, required keyword)
308170
## overridable with "rpmbuild --define 'pcmk_gnutls_priorities PRIORITY-SPEC'"
308170
%define gnutls_priorities %{?pcmk_gnutls_priorities}%{!?pcmk_gnutls_priorities:@SYSTEM}
308170
%endif
308170
308170
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
308170
%global supports_recommends 1
308170
%endif
308170
308170
## Different distros name certain packages differently
308170
## (note: corosync libraries also differ, but all provide corosync-devel)
308170
%if 0%{?suse_version} > 0
308170
%global pkgname_bzip2_devel libbz2-devel
308170
%global pkgname_docbook_xsl docbook-xsl-stylesheets
7bbf0d
%global pkgname_gettext gettext-tools
308170
%global pkgname_gnutls_devel libgnutls-devel
308170
%global pkgname_shadow_utils shadow
308170
%global pkgname_procps procps
308170
%global pkgname_glue_libs libglue
308170
%global pkgname_pcmk_libs lib%{name}3
308170
%global hacluster_id 90
308170
%else
308170
%global pkgname_libtool_devel libtool-ltdl-devel
308170
%global pkgname_libtool_devel_arch libtool-ltdl-devel%{?_isa}
308170
%global pkgname_bzip2_devel bzip2-devel
308170
%global pkgname_docbook_xsl docbook-style-xsl
7bbf0d
%global pkgname_gettext gettext-devel
308170
%global pkgname_gnutls_devel gnutls-devel
308170
%global pkgname_shadow_utils shadow-utils
308170
%global pkgname_procps procps-ng
308170
%global pkgname_glue_libs cluster-glue-libs
308170
%global pkgname_pcmk_libs %{name}-libs
308170
%global hacluster_id 189
308170
%endif
308170
2a3635
## Distro-specific configuration choices
2a3635
2a3635
### Use 2.0-style output when other distro packages don't support current output
2a3635
%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} <= 8 )
2a3635
%global compat20 --enable-compat-2.0
2a3635
%endif
308170
2a3635
### Default concurrent-fencing to true when distro prefers that
2a3635
%if 0%{?rhel} >= 7
2a3635
%global concurrent_fencing --with-concurrent-fencing-default=true
308170
%endif
2a3635
2a3635
### Default resource-stickiness to 1 when distro prefers that
2a3635
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
2a3635
%global resource_stickiness --with-resource-stickiness-default=1
308170
%endif
308170
2a3635
2a3635
# Python-related definitions
2a3635
308170
## Turn off auto-compilation of Python files outside Python specific paths,
308170
## so there's no risk that unexpected "__python" macro gets picked to do the
308170
## RPM-native byte-compiling there (only "{_datadir}/pacemaker/tests" affected)
308170
## -- distro-dependent tricks or automake's fallback to be applied there
308170
%if %{defined _python_bytecompile_extra}
308170
%global _python_bytecompile_extra 0
308170
%else
308170
### the statement effectively means no RPM-native byte-compiling will occur at
308170
### all, so distro-dependent tricks for Python-specific packages to be applied
308170
%global __os_install_post %(echo '%{__os_install_post}' | {
308170
                            sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g'; })
308170
%endif
308170
2a3635
## Prefer Python 3 definitions explicitly, in case 2 is also available
2a3635
%if %{defined __python3}
308170
%global python_name python3
2a3635
%global python_path %{__python3}
308170
%define python_site %{?python3_sitelib}%{!?python3_sitelib:%(
308170
  %{python_path} -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
308170
%else
2a3635
%if %{defined python_version}
2a3635
%global python_name python%(echo %{python_version} | cut -d'.' -f1)
2a3635
%define python_path %{?__python}%{!?__python:/usr/bin/%{python_name}}
308170
%else
308170
%global python_name python
308170
%global python_path %{?__python}%{!?__python:/usr/bin/python%{?python_pkgversion}}
308170
%endif
2a3635
%define python_site %{?python_sitelib}%{!?python_sitelib:%(
2a3635
  %{python_name} -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
308170
%endif
308170
308170
308170
# Keep sane profiling data if requested
308170
%if %{with profiling}
308170
308170
## Disable -debuginfo package and stripping binaries/libraries
308170
%define debug_package %{nil}
308170
308170
%endif
308170
308170
308170
Name:          pacemaker
308170
Summary:       Scalable High-Availability cluster resource manager
308170
Version:       %{pcmkversion}
7bbf0d
Release:       %{pcmk_release}%{?dist}
308170
%if %{defined _unitdir}
308170
License:       GPLv2+ and LGPLv2+
308170
%else
308170
# initscript is Revised BSD
308170
License:       GPLv2+ and LGPLv2+ and BSD
308170
%endif
32eff6
Url:           https://www.clusterlabs.org/
308170
c2cee8
# Example: https://codeload.github.com/ClusterLabs/pacemaker/tar.gz/e91769e
c2cee8
# will download pacemaker-e91769e.tar.gz
c2cee8
#
c2cee8
# The ending part starting with '#' is ignored by github but necessary for
c2cee8
# rpmbuild to know what the tar archive name is. (The downloaded file will be
c2cee8
# named correctly only for commit IDs, not tagged releases.)
c2cee8
#
c2cee8
# You can use "spectool -s 0 pacemaker.spec" (rpmdevtools) to show final URL.
c2cee8
Source0:       https://codeload.github.com/%{github_owner}/%{name}/tar.gz/%{archive_github_url}
308170
Source1:       nagios-agents-metadata-%{nagios_hash}.tar.gz
308170
308170
# upstream commits
6e5e30
#Patch001:      001-xxxx.patch
308170
308170
# downstream-only commits
2a3635
#Patch1xx:      1xx-xxxx.patch
308170
308170
Requires:      resource-agents
308170
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
308170
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
308170
Requires:      %{name}-cli = %{version}-%{release}
308170
%if !%{defined _unitdir}
308170
Requires:      %{pkgname_procps}
308170
Requires:      psmisc
308170
%endif
308170
%{?systemd_requires}
308170
c2cee8
%if %{defined centos}
c2cee8
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64 %{arm}
c2cee8
%else
2a3635
%if 0%{?rhel}
308170
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64
c2cee8
%endif
2a3635
%endif
308170
308170
Requires:      %{python_path}
308170
BuildRequires: %{python_name}-devel
308170
308170
# Pacemaker requires a minimum libqb functionality
308170
Requires:      libqb >= 0.17.0
308170
BuildRequires: libqb-devel >= 0.17.0
308170
2a3635
# Required basic build tools
6db787
BuildRequires: autoconf
6db787
BuildRequires: automake
6db787
BuildRequires: coreutils
6db787
BuildRequires: findutils
6db787
BuildRequires: gcc
6db787
BuildRequires: grep
6db787
BuildRequires: libtool
6db787
%if %{defined pkgname_libtool_devel}
6db787
BuildRequires: %{?pkgname_libtool_devel}
6db787
%endif
6db787
BuildRequires: make
6db787
BuildRequires: pkgconfig
6db787
BuildRequires: sed
308170
308170
# Required for core functionality
2a3635
BuildRequires: pkgconfig(glib-2.0) >= 2.42
6db787
BuildRequires: libxml2-devel
6db787
BuildRequires: libxslt-devel
6db787
BuildRequires: libuuid-devel
308170
BuildRequires: %{pkgname_bzip2_devel}
308170
308170
# Enables optional functionality
6db787
BuildRequires: pkgconfig(dbus-1)
6db787
BuildRequires: %{pkgname_docbook_xsl}
6db787
BuildRequires: %{pkgname_gnutls_devel}
6db787
BuildRequires: help2man
6db787
BuildRequires: ncurses-devel
6db787
BuildRequires: pam-devel
7bbf0d
BuildRequires: %{pkgname_gettext} >= 0.18
308170
1b1151
# Required for "make check"
1b1151
BuildRequires: libcmocka-devel
1b1151
308170
%if %{systemd_native}
308170
BuildRequires: pkgconfig(systemd)
308170
%endif
308170
308170
# RH patches are created by git, so we need git to apply them
308170
BuildRequires: git
308170
1b1151
# The RHEL 8.5+ build root has corosync_cfg_trackstart() available, so
1b1151
# Pacemaker's configure script will build support for it. Add a hard dependency
1b1151
# to ensure users have compatible Corosync libraries if they upgrade Pacemaker.
1b1151
Requires:      corosync >= 3.1.1
1b1151
BuildRequires: corosync-devel >= 3.1.1
308170
308170
%if %{with stonithd}
308170
BuildRequires: %{pkgname_glue_libs}-devel
308170
%endif
308170
308170
%if %{with doc}
6db787
BuildRequires: asciidoc
6db787
BuildRequires: inkscape
6db787
BuildRequires: %{python_name}-sphinx
308170
%endif
308170
6e5e30
# Booth requires this
6e5e30
Provides:      pacemaker-ticket-support = 2.0
6e5e30
308170
Provides:      pcmk-cluster-manager = %{version}-%{release}
308170
Provides:      pcmk-cluster-manager%{?_isa} = %{version}-%{release}
308170
308170
# Bundled bits
308170
## Pacemaker uses the crypto/md5-buffer module from gnulib
308170
%if 0%{?fedora} || 0%{?rhel}
1b1151
Provides:      bundled(gnulib) = 20200404
308170
%endif
308170
308170
%description
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
It supports more than 16 node clusters with significant capabilities
308170
for managing resources and dependencies.
308170
308170
It will run scripts at initialization, when machines go up or down,
308170
when related resources fail and can be configured to periodically check
308170
resource health.
308170
308170
Available rpmbuild rebuild options:
6e5e30
  --with(out) : cibsecrets hardening nls pre_release profiling
6e5e30
                stonithd
308170
308170
%package cli
308170
License:       GPLv2+ and LGPLv2+
308170
Summary:       Command line tools for controlling Pacemaker clusters
308170
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
308170
# For crm_report
308170
Requires:      tar
308170
Requires:      bzip2
308170
Requires:      perl-TimeDate
308170
Requires:      %{pkgname_procps}
308170
Requires:      psmisc
308170
Requires(post):coreutils
308170
308170
%description cli
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
The %{name}-cli package contains command line tools that can be used
308170
to query and control the cluster from machines that may, or may not,
308170
be part of the cluster.
308170
308170
%package -n %{pkgname_pcmk_libs}
308170
License:       GPLv2+ and LGPLv2+
308170
Summary:       Core Pacemaker libraries
308170
Requires(pre): %{pkgname_shadow_utils}
308170
Requires:      %{name}-schemas = %{version}-%{release}
308170
# sbd 1.4.0+ supports the libpe_status API for pe_working_set_t
f4c1e1
# sbd 1.4.2+ supports startup/shutdown handshake via pacemakerd-api
2a3635
#            and handshake defaults to enabled in this spec
f4c1e1
Conflicts:     sbd < 1.4.2
308170
308170
%description -n %{pkgname_pcmk_libs}
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
The %{pkgname_pcmk_libs} package contains shared libraries needed for cluster
308170
nodes and those just running the CLI tools.
308170
308170
%package cluster-libs
308170
License:       GPLv2+ and LGPLv2+
308170
Summary:       Cluster Libraries used by Pacemaker
308170
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
308170
308170
%description cluster-libs
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
The %{name}-cluster-libs package contains cluster-aware shared
308170
libraries needed for nodes that will form part of the cluster nodes.
308170
308170
%package remote
308170
%if %{defined _unitdir}
308170
License:       GPLv2+ and LGPLv2+
308170
%else
308170
# initscript is Revised BSD
308170
License:       GPLv2+ and LGPLv2+ and BSD
308170
%endif
2a3635
Summary:       Pacemaker remote executor daemon for non-cluster nodes
308170
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
308170
Requires:      %{name}-cli = %{version}-%{release}
308170
Requires:      resource-agents
308170
%if !%{defined _unitdir}
308170
Requires:      %{pkgname_procps}
308170
%endif
308170
# -remote can be fully independent of systemd
308170
%{?systemd_ordering}%{!?systemd_ordering:%{?systemd_requires}}
308170
Provides:      pcmk-cluster-manager = %{version}-%{release}
308170
Provides:      pcmk-cluster-manager%{?_isa} = %{version}-%{release}
308170
308170
%description remote
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
The %{name}-remote package contains the Pacemaker Remote daemon
308170
which is capable of extending pacemaker functionality to remote
308170
nodes not running the full corosync/cluster stack.
308170
308170
%package -n %{pkgname_pcmk_libs}-devel
308170
License:       GPLv2+ and LGPLv2+
308170
Summary:       Pacemaker development package
308170
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
308170
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
6db787
Requires:      %{pkgname_bzip2_devel}%{?_isa}
308170
Requires:      corosync-devel >= 2.0.0
6db787
Requires:      glib2-devel%{?_isa}
6db787
Requires:      libqb-devel%{?_isa}
6db787
%if %{defined pkgname_libtool_devel_arch}
6db787
Requires:      %{?pkgname_libtool_devel_arch}
6db787
%endif
6db787
Requires:      libuuid-devel%{?_isa}
6db787
Requires:      libxml2-devel%{?_isa}
6db787
Requires:      libxslt-devel%{?_isa}
308170
308170
%description -n %{pkgname_pcmk_libs}-devel
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
The %{pkgname_pcmk_libs}-devel package contains headers and shared libraries
308170
for developing tools for Pacemaker.
308170
308170
%package       cts
308170
License:       GPLv2+ and LGPLv2+
308170
Summary:       Test framework for cluster-related technologies like Pacemaker
308170
Requires:      %{python_path}
308170
Requires:      %{pkgname_pcmk_libs} = %{version}-%{release}
308170
Requires:      %{name}-cli = %{version}-%{release}
308170
Requires:      %{pkgname_procps}
308170
Requires:      psmisc
6e5e30
Requires:      %{python_name}-psutil
308170
BuildArch:     noarch
308170
2a3635
# systemd Python bindings are a separate package in some distros
308170
%if %{defined systemd_requires}
308170
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
308170
Requires:      %{python_name}-systemd
308170
%endif
308170
%endif
308170
308170
%description   cts
308170
Test framework for cluster-related technologies like Pacemaker
308170
308170
%package       doc
308170
License:       CC-BY-SA-4.0
308170
Summary:       Documentation for Pacemaker
308170
BuildArch:     noarch
308170
308170
%description   doc
308170
Documentation for Pacemaker.
308170
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
%package       schemas
308170
License:       GPLv2+
308170
Summary:       Schemas and upgrade stylesheets for Pacemaker
308170
BuildArch:     noarch
308170
308170
%description   schemas
308170
Schemas and upgrade stylesheets for Pacemaker
308170
308170
Pacemaker is an advanced, scalable High-Availability cluster resource
308170
manager.
308170
308170
%package       nagios-plugins-metadata
308170
License:       GPLv3
308170
Summary:       Pacemaker Nagios Metadata
308170
# NOTE below are the plugins this metadata uses.
308170
# These packages are not requirements because RHEL does not ship these plugins.
308170
# This metadata provides third-party support for nagios. Users may install the
308170
# plugins via third-party rpm packages, or source. If RHEL ships the plugins in
308170
# the future, we should consider enabling the following required fields.
308170
#Requires:      nagios-plugins-http
308170
#Requires:      nagios-plugins-ldap
308170
#Requires:      nagios-plugins-mysql
308170
#Requires:      nagios-plugins-pgsql
308170
#Requires:      nagios-plugins-tcp
308170
Requires:      pcmk-cluster-manager
308170
BuildArch:     noarch
308170
308170
%description   nagios-plugins-metadata
308170
The metadata files required for Pacemaker to execute the nagios plugin
308170
monitor resources.
308170
308170
%prep
c2cee8
%autosetup -a 1 -n %{name}-%{archive_version} -S git_am -p 1
308170
308170
%build
308170
308170
export systemdsystemunitdir=%{?_unitdir}%{!?_unitdir:no}
308170
308170
%if %{with hardening}
308170
# prefer distro-provided hardening flags in case they are defined
308170
# through _hardening_{c,ld}flags macros, configure script will
308170
# use its own defaults otherwise; if such hardenings are completely
308170
# undesired, rpmbuild using "--without hardening"
308170
# (or "--define '_without_hardening 1'")
308170
export CFLAGS_HARDENED_EXE="%{?_hardening_cflags}"
308170
export CFLAGS_HARDENED_LIB="%{?_hardening_cflags}"
308170
export LDFLAGS_HARDENED_EXE="%{?_hardening_ldflags}"
308170
export LDFLAGS_HARDENED_LIB="%{?_hardening_ldflags}"
308170
%endif
308170
308170
./autogen.sh
308170
308170
%{configure}                                                                    \
308170
        PYTHON=%{python_path}                                                   \
308170
        %{!?with_hardening:    --disable-hardening}                             \
2a3635
        %{?with_legacy_links:  --enable-legacy-links}                           \
308170
        %{?with_profiling:     --with-profiling}                                \
c2cee8
        %{?with_cibsecrets:    --with-cibsecrets}                               \
7bbf0d
        %{?with_nls:           --enable-nls}                                    \
2a3635
        %{?with_sbd_sync:      --with-sbd-sync-default="true"}                  \
308170
        %{?gnutls_priorities:  --with-gnutls-priorities="%{gnutls_priorities}"} \
2a3635
        %{?bug_url:            --with-bug-url=%{bug_url}}                       \
2a3635
        %{?ocf_root:           --with-ocfdir=%{ocf_root}}                       \
2a3635
        %{?concurrent_fencing}                                                  \
2a3635
        %{?resource_stickiness}                                                 \
2a3635
        %{?compat20}                                                            \
6db787
        --disable-static                                                        \
308170
        --with-initdir=%{_initrddir}                                            \
308170
        --with-runstatedir=%{_rundir}                                           \
308170
        --localstatedir=%{_var}                                                 \
308170
        --with-nagios                                                             \
308170
        --with-nagios-metadata-dir=%{_datadir}/pacemaker/nagios/plugins-metadata/ \
308170
        --with-nagios-plugin-dir=%{_libdir}/nagios/plugins/                       \
308170
        --with-version=%{version}-%{release}
308170
308170
%if 0%{?suse_version} >= 1200
308170
# Fedora handles rpath removal automagically
308170
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
308170
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
308170
%endif
308170
308170
make %{_smp_mflags} V=1
308170
308170
%check
c2cee8
make %{_smp_mflags} check
308170
{ cts/cts-scheduler --run load-stopped-loop \
308170
  && cts/cts-cli \
308170
  && touch .CHECKED
308170
} 2>&1 | sed 's/[fF]ail/faiil/g'  # prevent false positives in rpmlint
308170
[ -f .CHECKED ] && rm -f -- .CHECKED
308170
exit $?  # TODO remove when rpm<4.14 compatibility irrelevant
308170
308170
%install
308170
# skip automake-native Python byte-compilation, since RPM-native one (possibly
308170
# distro-confined to Python-specific directories, which is currently the only
308170
# relevant place, anyway) assures proper intrinsic alignment with wider system
308170
# (such as with py_byte_compile macro, which is concurrent Fedora/EL specific)
308170
make install \
308170
  DESTDIR=%{buildroot} V=1 docdir=%{pcmk_docdir} \
308170
  %{?_python_bytecompile_extra:%{?py_byte_compile:am__py_compile=true}}
308170
308170
%if %{with upstart_job}
308170
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init
308170
install -m 644 pacemakerd/pacemaker.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.conf
308170
install -m 644 pacemakerd/pacemaker.combined.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.combined.conf
308170
install -m 644 tools/crm_mon.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/crm_mon.conf
308170
%endif
308170
308170
mkdir -p %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
308170
for file in $(find %{nagios_name}-%{nagios_hash}/metadata -type f); do
308170
    install -m 644 $file %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
308170
done
308170
308170
%if %{defined _unitdir}
308170
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/rpm-state/%{name}
308170
%endif
308170
7bbf0d
%if %{with nls}
7bbf0d
%find_lang %{name}
7bbf0d
%endif
7bbf0d
6db787
# Don't package libtool archives
308170
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
308170
7bbf0d
# Do not package these either on RHEL
308170
rm -f %{buildroot}/%{_sbindir}/fence_legacy
308170
rm -f %{buildroot}/%{_mandir}/man8/fence_legacy.*
308170
find %{buildroot} -name '*o2cb*' -type f -print0 | xargs -0 rm -f
308170
308170
# For now, don't package the servicelog-related binaries built only for
308170
# ppc64le when certain dependencies are installed. If they get more exercise by
308170
# advanced users, we can reconsider.
308170
rm -f %{buildroot}/%{_sbindir}/notifyServicelogEvent
308170
rm -f %{buildroot}/%{_sbindir}/ipmiservicelogd
308170
308170
# Byte-compile Python sources where suitable and the distro procedures known
308170
%if %{defined py_byte_compile}
308170
%{py_byte_compile %{python_path} %{buildroot}%{_datadir}/pacemaker/tests}
308170
%if !%{defined _python_bytecompile_extra}
308170
%{py_byte_compile %{python_path} %{buildroot}%{python_site}/cts}
308170
%endif
308170
%endif
308170
308170
%post
308170
%if %{defined _unitdir}
308170
%systemd_post pacemaker.service
308170
%else
308170
/sbin/chkconfig --add pacemaker || :
308170
%endif
308170
308170
%preun
308170
%if %{defined _unitdir}
308170
%systemd_preun pacemaker.service
308170
%else
308170
/sbin/service pacemaker stop >/dev/null 2>&1 || :
308170
if [ "$1" -eq 0 ]; then
308170
    # Package removal, not upgrade
308170
    /sbin/chkconfig --del pacemaker || :
308170
fi
308170
%endif
308170
308170
%postun
308170
%if %{defined _unitdir}
308170
%systemd_postun_with_restart pacemaker.service
308170
%endif
308170
308170
%pre remote
308170
%if %{defined _unitdir}
308170
# Stop the service before anything is touched, and remember to restart
308170
# it as one of the last actions (compared to using systemd_postun_with_restart,
308170
# this avoids suicide when sbd is in use)
308170
systemctl --quiet is-active pacemaker_remote
308170
if [ $? -eq 0 ] ; then
308170
    mkdir -p %{_localstatedir}/lib/rpm-state/%{name}
308170
    touch %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
308170
    systemctl stop pacemaker_remote >/dev/null 2>&1
308170
else
308170
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
308170
fi
308170
%endif
308170
308170
%post remote
308170
%if %{defined _unitdir}
308170
%systemd_post pacemaker_remote.service
308170
%else
308170
/sbin/chkconfig --add pacemaker_remote || :
308170
%endif
308170
308170
%preun remote
308170
%if %{defined _unitdir}
308170
%systemd_preun pacemaker_remote.service
308170
%else
308170
/sbin/service pacemaker_remote stop >/dev/null 2>&1 || :
308170
if [ "$1" -eq 0 ]; then
308170
    # Package removal, not upgrade
308170
    /sbin/chkconfig --del pacemaker_remote || :
308170
fi
308170
%endif
308170
308170
%postun remote
308170
%if %{defined _unitdir}
308170
# This next line is a no-op, because we stopped the service earlier, but
308170
# we leave it here because it allows us to revert to the standard behavior
308170
# in the future if desired
308170
%systemd_postun_with_restart pacemaker_remote.service
308170
# Explicitly take care of removing the flag-file(s) upon final removal
308170
if [ "$1" -eq 0 ] ; then
308170
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
308170
fi
308170
%endif
308170
308170
%posttrans remote
308170
%if %{defined _unitdir}
308170
if [ -e %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote ] ; then
308170
    systemctl start pacemaker_remote >/dev/null 2>&1
308170
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
308170
fi
308170
%endif
308170
308170
%post cli
308170
%if %{defined _unitdir}
308170
%systemd_post crm_mon.service
308170
%endif
308170
if [ "$1" -eq 2 ]; then
308170
    # Package upgrade, not initial install:
308170
    # Move any pre-2.0 logs to new location to ensure they get rotated
308170
    { mv -fbS.rpmsave %{_var}/log/pacemaker.log* %{_var}/log/pacemaker \
308170
      || mv -f %{_var}/log/pacemaker.log* %{_var}/log/pacemaker
308170
    } >/dev/null 2>/dev/null || :
308170
fi
308170
308170
%preun cli
308170
%if %{defined _unitdir}
308170
%systemd_preun crm_mon.service
308170
%endif
308170
308170
%postun cli
308170
%if %{defined _unitdir}
308170
%systemd_postun_with_restart crm_mon.service
308170
%endif
308170
308170
%pre -n %{pkgname_pcmk_libs}
308170
getent group %{gname} >/dev/null || groupadd -r %{gname} -g %{hacluster_id}
308170
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id} -s /sbin/nologin -c "cluster user" %{uname}
308170
exit 0
308170
308170
%if %{defined ldconfig_scriptlets}
c2cee8
%ldconfig_scriptlets -n %{pkgname_pcmk_libs}
308170
%ldconfig_scriptlets cluster-libs
308170
%else
308170
%post -n %{pkgname_pcmk_libs} -p /sbin/ldconfig
308170
%postun -n %{pkgname_pcmk_libs} -p /sbin/ldconfig
308170
308170
%post cluster-libs -p /sbin/ldconfig
308170
%postun cluster-libs -p /sbin/ldconfig
308170
%endif
308170
308170
%files
308170
###########################################################
308170
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
308170
%{_sbindir}/pacemakerd
308170
308170
%if %{defined _unitdir}
308170
%{_unitdir}/pacemaker.service
308170
%else
308170
%{_initrddir}/pacemaker
308170
%endif
308170
308170
%exclude %{_libexecdir}/pacemaker/cts-log-watcher
308170
%exclude %{_libexecdir}/pacemaker/cts-support
308170
%exclude %{_sbindir}/pacemaker-remoted
308170
%exclude %{_sbindir}/pacemaker_remoted
308170
%exclude %{_datadir}/pacemaker/nagios
308170
%{_libexecdir}/pacemaker/*
308170
308170
%{_sbindir}/crm_master
6db787
%{_sbindir}/fence_watchdog
308170
308170
%doc %{_mandir}/man7/pacemaker-controld.*
308170
%doc %{_mandir}/man7/pacemaker-schedulerd.*
308170
%doc %{_mandir}/man7/pacemaker-fenced.*
308170
%doc %{_mandir}/man7/ocf_pacemaker_controld.*
308170
%doc %{_mandir}/man7/ocf_pacemaker_remote.*
308170
%doc %{_mandir}/man8/crm_master.*
6db787
%doc %{_mandir}/man8/fence_watchdog.*
308170
%doc %{_mandir}/man8/pacemakerd.*
308170
308170
%doc %{_datadir}/pacemaker/alerts
308170
308170
%license licenses/GPLv2
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cib
308170
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/pengine
2a3635
%{ocf_root}/resource.d/pacemaker/controld
2a3635
%{ocf_root}/resource.d/pacemaker/remote
308170
308170
%if %{with upstart_job}
308170
%config(noreplace) %{_sysconfdir}/init/pacemaker.conf
308170
%config(noreplace) %{_sysconfdir}/init/pacemaker.combined.conf
308170
%endif
308170
308170
%files cli
308170
%dir %attr (750, root, %{gname}) %{_sysconfdir}/pacemaker
308170
%config(noreplace) %{_sysconfdir}/logrotate.d/pacemaker
308170
%config(noreplace) %{_sysconfdir}/sysconfig/crm_mon
308170
308170
%if %{defined _unitdir}
308170
%{_unitdir}/crm_mon.service
308170
%endif
308170
308170
%if %{with upstart_job}
308170
%config(noreplace) %{_sysconfdir}/init/crm_mon.conf
308170
%endif
308170
308170
%{_sbindir}/attrd_updater
308170
%{_sbindir}/cibadmin
c2cee8
%if %{with cibsecrets}
c2cee8
%{_sbindir}/cibsecret
c2cee8
%endif
7bbf0d
%{_sbindir}/crm_attribute
308170
%{_sbindir}/crm_diff
308170
%{_sbindir}/crm_error
308170
%{_sbindir}/crm_failcount
308170
%{_sbindir}/crm_mon
308170
%{_sbindir}/crm_node
308170
%{_sbindir}/crm_resource
308170
%{_sbindir}/crm_rule
308170
%{_sbindir}/crm_standby
308170
%{_sbindir}/crm_verify
308170
%{_sbindir}/crmadmin
308170
%{_sbindir}/iso8601
308170
%{_sbindir}/crm_shadow
308170
%{_sbindir}/crm_simulate
308170
%{_sbindir}/crm_report
308170
%{_sbindir}/crm_ticket
308170
%{_sbindir}/stonith_admin
308170
# "dirname" is owned by -schemas, which is a prerequisite
308170
%{_datadir}/pacemaker/report.collector
308170
%{_datadir}/pacemaker/report.common
308170
# XXX "dirname" is not owned by any prerequisite
308170
%{_datadir}/snmp/mibs/PCMK-MIB.txt
308170
2a3635
%exclude %{ocf_root}/resource.d/pacemaker/controld
2a3635
%exclude %{ocf_root}/resource.d/pacemaker/remote
308170
2a3635
%dir %{ocf_root}
2a3635
%dir %{ocf_root}/resource.d
2a3635
%{ocf_root}/resource.d/pacemaker
308170
308170
%doc %{_mandir}/man7/*
308170
%exclude %{_mandir}/man7/pacemaker-controld.*
308170
%exclude %{_mandir}/man7/pacemaker-schedulerd.*
308170
%exclude %{_mandir}/man7/pacemaker-fenced.*
308170
%exclude %{_mandir}/man7/ocf_pacemaker_controld.*
308170
%exclude %{_mandir}/man7/ocf_pacemaker_remote.*
308170
%doc %{_mandir}/man8/*
308170
%exclude %{_mandir}/man8/crm_master.*
6db787
%exclude %{_mandir}/man8/fence_watchdog.*
308170
%exclude %{_mandir}/man8/pacemakerd.*
308170
%exclude %{_mandir}/man8/pacemaker-remoted.*
308170
308170
%license licenses/GPLv2
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker
308170
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/blackbox
308170
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cores
308170
%dir %attr (770, %{uname}, %{gname}) %{_var}/log/pacemaker
308170
%dir %attr (770, %{uname}, %{gname}) %{_var}/log/pacemaker/bundles
308170
7bbf0d
%files -n %{pkgname_pcmk_libs} %{?with_nls:-f %{name}.lang}
308170
%{_libdir}/libcib.so.*
308170
%{_libdir}/liblrmd.so.*
308170
%{_libdir}/libcrmservice.so.*
308170
%{_libdir}/libcrmcommon.so.*
308170
%{_libdir}/libpe_status.so.*
308170
%{_libdir}/libpe_rules.so.*
308170
%{_libdir}/libpacemaker.so.*
308170
%{_libdir}/libstonithd.so.*
308170
%license licenses/LGPLv2.1
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%files cluster-libs
308170
%{_libdir}/libcrmcluster.so.*
308170
%license licenses/LGPLv2.1
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%files remote
308170
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
308170
%if %{defined _unitdir}
308170
# state directory is shared between the subpackets
308170
# let rpm take care of removing it once it isn't
308170
# referenced anymore and empty
308170
%ghost %dir %{_localstatedir}/lib/rpm-state/%{name}
308170
%{_unitdir}/pacemaker_remote.service
308170
%else
308170
%{_initrddir}/pacemaker_remote
308170
%endif
308170
308170
%{_sbindir}/pacemaker-remoted
308170
%{_sbindir}/pacemaker_remoted
308170
%{_mandir}/man8/pacemaker-remoted.*
308170
%license licenses/GPLv2
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%files doc
308170
%doc %{pcmk_docdir}
308170
%license licenses/CC-BY-SA-4.0
308170
308170
%files cts
308170
%{python_site}/cts
308170
%{_datadir}/pacemaker/tests
308170
308170
%{_libexecdir}/pacemaker/cts-log-watcher
308170
%{_libexecdir}/pacemaker/cts-support
308170
308170
%license licenses/GPLv2
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%files -n %{pkgname_pcmk_libs}-devel
308170
%{_includedir}/pacemaker
308170
%{_libdir}/*.so
308170
%{_libdir}/pkgconfig/*.pc
308170
%license licenses/LGPLv2.1
308170
%doc COPYING
308170
%doc ChangeLog
308170
308170
%files schemas
308170
%license licenses/GPLv2
308170
%dir %{_datadir}/pacemaker
308170
%{_datadir}/pacemaker/*.rng
308170
%{_datadir}/pacemaker/*.xsl
308170
%{_datadir}/pacemaker/api
7bbf0d
%{_datadir}/pacemaker/base
308170
%{_datadir}/pkgconfig/pacemaker-schemas.pc
308170
308170
%files nagios-plugins-metadata
308170
%dir %{_datadir}/pacemaker/nagios/plugins-metadata
308170
%attr(0644,root,root) %{_datadir}/pacemaker/nagios/plugins-metadata/*
308170
%license %{nagios_name}-%{nagios_hash}/COPYING
308170
308170
%changelog
6e5e30
* Tue Nov 22 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-1
6e5e30
- Rebase on upstream 2.1.5-rc2 release
6e5e30
- Resolves: rhbz1822125
6e5e30
- Resolves: rhbz2095662
6e5e30
- Resolves: rhbz2121852
6e5e30
- Resolves: rhbz2122806
6e5e30
- Resolves: rhbz2133497
6e5e30
- Resolves: rhbz2142681
6e5e30
d49b2d
* Wed Aug 10 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-5
d49b2d
- Fix regression in crm_resource -O
d49b2d
- Resolves: rhbz2118337
d49b2d
603de6
* Wed Jul 20 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-4
603de6
- Ensure all nodes are re-unfenced after device configuration change
603de6
- crm_resource --why now checks node health status
603de6
- Resolves: rhbz1872483
603de6
- Resolves: rhbz2065818
603de6
239ec8
* Wed Jun 29 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-3
239ec8
- Add support for ACL groups
239ec8
- Resolves: rhbz1724310
239ec8
239ec8
* Tue Jun 28 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-2
239ec8
- Restore crm_attribute query behavior when attribute does not exist
239ec8
- Resolves: rhbz2072107
239ec8
239ec8
* Wed Jun 15 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-1
239ec8
- Fencer should not ignore CIB updates when stonith is disabled
239ec8
- Rebase pacemaker on upstream 2.1.4 final release
239ec8
- Fix typo in ocf:pacemaker:HealthSMART meta-data
239ec8
- Resolves: rhbz2055935
239ec8
- Resolves: rhbz2072107
239ec8
- Resolves: rhbz2094855
239ec8
098233
* Wed Jun 1 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.3-2
098233
- crm_attribute works on remote node command line when hostname differs
098233
- Rebase pacemaker on upstream 2.1.3 final release
098233
- Resolves: rhbz1384172
098233
- Resolves: rhbz2072107
098233
7bbf0d
* Wed May 18 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.3-1
7bbf0d
- crm_resource --restart fails to restart clone instances except instance 0
7bbf0d
- Add new multiple-active option for "stop unexpected instances"
7bbf0d
- Unable to show metadata for "service" agents with "@" and "." in the name
7bbf0d
- Resource ocf:pacemaker:attribute does not comply with the OCF 1.1 standard
7bbf0d
- Allow resource meta-attribute to exempt resource from node health restrictions
7bbf0d
- Show node health states in crm_mon
7bbf0d
- Rebase pacemaker on upstream 2.1.3-rc2 release
7bbf0d
- crm_mon API result does not validate against schema if fence event has exit-reason
7bbf0d
- Resolves: rhbz1930578
7bbf0d
- Resolves: rhbz2036815
7bbf0d
- Resolves: rhbz2045096
7bbf0d
- Resolves: rhbz2049722
7bbf0d
- Resolves: rhbz2059638
7bbf0d
- Resolves: rhbz2065812
7bbf0d
- Resolves: rhbz2072107
7bbf0d
- Resolves: rhbz2086230
ce46a7
9d6df5
* Wed Jan 26 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-4
9d6df5
- Fix regression in down event detection that affects remote nodes
9d6df5
- Resolves: rhbz2046446
9d6df5
f312c6
* Fri Jan 21 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-3
f312c6
- Improve display of failed actions
f312c6
- Handle certain probe failures as stopped instead of failed
f312c6
- Update pcmk_delay_base description in option meta-data
f312c6
- Avoid crash when using clone notifications
f312c6
- Retry Corosync shutdown tracking if first attempt fails
f312c6
- Resolves: rhbz1470834
f312c6
- Resolves: rhbz1506372
f312c6
- Resolves: rhbz2027370
f312c6
- Resolves: rhbz2039675
f312c6
- Resolves: rhbz2042550
f312c6
0aa0b6
* Thu Dec 16 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-2
0aa0b6
- Correctly get metadata for systemd agent names that end in '@'
0aa0b6
- Use correct OCF 1.1 syntax in ocf:pacemaker:Stateful meta-data
0aa0b6
- Fix regression in displayed times in crm_mon's fence history
0aa0b6
- Resolves: rhbz2003151
0aa0b6
- Resolves: rhbz2027370
0aa0b6
- Resolves: rhbz2032027
0aa0b6
1b1151
* Tue Nov 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-1
1b1151
- Allow per-host fence delays for a single fence device
1b1151
- Use OCF 1.1 enum type in cluster option metadata for better validation
1b1151
- crm-resource --force-* now works with LSB resources
1b1151
- Allow spaces in pcmk_host_map
1b1151
- ACL group names are no longer restricted to a unique XML id
1b1151
- Rebase on upstream 2.1.2
1b1151
- Ensure upgrades get compatible Corosync libraries
1b1151
- Resolves: rhbz1082146
1b1151
- Resolves: rhbz1281463
1b1151
- Resolves: rhbz1346014
1b1151
- Resolves: rhbz1376538
1b1151
- Resolves: rhbz1384420
1b1151
- Resolves: rhbz2011973
1b1151
- Resolves: rhbz2027006
1b1151
b8eb17
* Fri Aug 20 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-8
b8eb17
- Fix XML issue in fence_watchdog meta-data
b8eb17
- Resolves: rhbz1443666
b8eb17
b8eb17
* Thu Aug 12 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-7
b8eb17
- Fix minor issue with crm_resource error message change
b8eb17
- Resolves: rhbz1447918
b8eb17
06a831
* Tue Aug 10 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-6
06a831
- Fix watchdog agent version information
06a831
- Ensure transient attributes are cleared when multiple nodes are lost
06a831
- Resolves: rhbz1443666
06a831
- Resolves: rhbz1986998
06a831
6db787
* Fri Aug 06 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-5
6db787
- Allow configuring specific nodes to use watchdog-only sbd for fencing
6db787
- Resolves: rhbz1443666
6db787
01619e
* Fri Jul 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-4
01619e
- Show better error messages in crm_resource with invalid resource types
01619e
- Avoid selecting wrong device when dynamic-list fencing is used with host map
01619e
- Do not schedule probes of unmanaged resources on pending nodes
d49b2d
- Fix argument handling regressions in crm_attribute and wrappers
01619e
- Resolves: rhbz1447918
01619e
- Resolves: rhbz1978010
01619e
- Resolves: rhbz1982453
01619e
- Resolves: rhbz1984120
01619e
d49186
* Tue Jun 22 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-3
d49186
- crm_resource now supports XML output from resource agent actions
d49186
- Correct output for crm_simulate --show-failcounts
d49186
- Avoid remote node unfencing loop
d49186
- Resolves: rhbz1644628
d49186
- Resolves: rhbz1686426
d49186
- Resolves: rhbz1961857
d49186
2a3635
* Wed Jun 9 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-2
2a3635
- Rebase on upstream 2.1.0 final release
2a3635
- Correct schema for crm_resource XML output
2a3635
- Resolves: rhbz1935464
2a3635
- Resolves: rhbz1967087
2a3635
2a3635
* Thu May 20 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-1
2a3635
- Add crm_simulate --show-attrs and --show-failcounts options
2a3635
- Retry getting fence agent meta-data after initial failure
2a3635
- Add debug option for more verbose ocf:pacemaker:ping logs
2a3635
- Rebase on upstream 2.1.0-rc2 release
2a3635
- Support OCF Resource Agent API 1.1 standard
2a3635
- Fix crm_mon regression that could cause certain agents to fail at shutdown
2a3635
- Allow setting OCF check level for crm_resource --validate and --force-check
2a3635
- Resolves: rhbz1686426
2a3635
- Resolves: rhbz1797579
2a3635
- Resolves: rhbz1843177
2a3635
- Resolves: rhbz1935464
2a3635
- Resolves: rhbz1936696
2a3635
- Resolves: rhbz1948620
2a3635
- Resolves: rhbz1955792
93a77c
36a278
* Mon Feb 15 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-8
93a77c
- Route cancellations through correct node when remote connection is moving
36a278
- Resolves: rhbz1928762
36a278
6b40db
* Fri Feb 12 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-7
6b40db
- Do not introduce regression in crm_resource --locate
6b40db
- Resolves: rhbz1925681
6b40db
587943
* Wed Feb 3 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-6
587943
- crm_mon --daemonize should reconnect if cluster restarts
587943
- crm_mon should show more informative messages when cluster is starting
587943
- crm_mon should show rest of status if fencing history is unavailable
587943
- cibsecret now works on remote nodes (as long as name can be reached via ssh)
587943
- Stop remote nodes correctly when connection history is later than node history
587943
- Resolves: rhbz1466875
587943
- Resolves: rhbz1872490
587943
- Resolves: rhbz1880426
587943
- Resolves: rhbz1881537
587943
- Resolves: rhbz1898457
587943
23c78e
* Thu Jan 14 2021 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-5
23c78e
- Allow non-critical resources that stop rather than make another resource move
23c78e
- Support crm_resource --digests option for showing operation digests
23c78e
- Clean-up of all resources should work from remote nodes
23c78e
- Resolves: rhbz1371576
23c78e
- Resolves: rhbz1872376
23c78e
- Resolves: rhbz1907726
23c78e
f4c1e1
* Wed Dec 2 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-4
f4c1e1
- Rebase on upstream 2.0.5 release
f4c1e1
- Make waiting to be pinged by sbd via pacemakerd-api the default
f4c1e1
- Resolves: rhbz1885645
f4c1e1
- Resolves: rhbz1873138
f4c1e1
f4c1e1
* Wed Nov 18 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-3
f4c1e1
- Rebase on upstream 2.0.5-rc3 release
f4c1e1
- Resolves: rhbz1885645
f4c1e1
32eff6
* Wed Oct 28 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-2
32eff6
- Rebase on upstream 2.0.5-rc2 release
32eff6
- Prevent ACL bypass (CVE-2020-25654)
32eff6
- Resolves: rhbz1885645
32eff6
- Resolves: rhbz1889582
32eff6
32eff6
* Tue Oct 20 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.5-1
32eff6
- crm_mon --resource option to filter output by resource
32eff6
- Avoid filling /dev/shm after frequent corosync errors
32eff6
- Allow configurable permissions for log files
32eff6
- Ensure ACL write permission always supersedes read
32eff6
- Use fence device monitor timeout for starts and probes
32eff6
- Allow type="integer" in rule expressions
32eff6
- Avoid error messages when running crm_node inside bundles
32eff6
- Avoid situation where promotion is not scheduled until next transition
32eff6
- crm_mon should show more clearly when an entire group is disabled
32eff6
- Rebase on upstream 2.0.5-rc1 release
32eff6
- Resolves: rhbz1300597
32eff6
- Resolves: rhbz1614166
32eff6
- Resolves: rhbz1647136
32eff6
- Resolves: rhbz1833173
32eff6
- Resolves: rhbz1856015
32eff6
- Resolves: rhbz1866573
32eff6
- Resolves: rhbz1874391
32eff6
- Resolves: rhbz1835717
32eff6
- Resolves: rhbz1748139
32eff6
- Resolves: rhbz1885645
32eff6
b62b44
* Thu Aug 20 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-6
b62b44
- Fix cibsecret bug when node name is different from hostname
b62b44
- Resolves: rhbz1870873
b62b44
945d2e
* Fri Jul 24 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-5
945d2e
- Synchronize start-up and shutdown with SBD
945d2e
- Resolves: rhbz1718324
945d2e
945d2e
* Wed Jul 22 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-4
945d2e
- Allow crm_node -l/-p options to work from Pacemaker Remote nodes
945d2e
- Correct action timeout value listed in log message
945d2e
- Fix regression in crm_mon --daemonize with HTML output
945d2e
- Resolves: rhbz1796824
945d2e
- Resolves: rhbz1856035
945d2e
- Resolves: rhbz1857728
945d2e
c2cee8
* Thu Jun 25 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-3
c2cee8
- Allow resource and operation defaults per resource or operation type
c2cee8
- Rebase on upstream 2.0.4 final release
c2cee8
- Support on-fail="demote" and no-quorum-policy="demote" options
c2cee8
- Remove incorrect comment from sysconfig file
c2cee8
- Resolves: rhbz1628701
c2cee8
- Resolves: rhbz1828488
c2cee8
- Resolves: rhbz1837747
c2cee8
- Resolves: rhbz1848789
c2cee8
c2cee8
* Wed Jun 10 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-2
c2cee8
- Improve cibsecret help and clean up code per static analysis
c2cee8
- Resolves: rhbz1793860
c2cee8
c2cee8
* Mon Jun 8 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.4-1
c2cee8
- Clear leaving node's attributes if there is no DC
c2cee8
- Add crm_mon --node option to limit display to particular node or tagged nodes
c2cee8
- Add crm_mon --include/--exclude options to select what sections are shown
c2cee8
- priority-fencing-delay option bases delay on where resources are active
c2cee8
- Pending DC fencing gets 'stuck' in status display
c2cee8
- crm_rule can now check rule expiration when "years" is specified
c2cee8
- crm_mon now formats error messages better
c2cee8
- Support for CIB secrets is enabled
c2cee8
- Rebase on latest upstream Pacemaker release
c2cee8
- Fix regression introduced in 8.2 so crm_node -n works on remote nodes
c2cee8
- Avoid infinite loop when topology is removed while unfencing is in progress
c2cee8
- Resolves: rhbz1300604
c2cee8
- Resolves: rhbz1363907
c2cee8
- Resolves: rhbz1784601
c2cee8
- Resolves: rhbz1787751
c2cee8
- Resolves: rhbz1790591
c2cee8
- Resolves: rhbz1793653
c2cee8
- Resolves: rhbz1793860
c2cee8
- Resolves: rhbz1828488
c2cee8
- Resolves: rhbz1830535
c2cee8
- Resolves: rhbz1831775
c2cee8
308170
* Mon Jan 27 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-5
308170
- Clear leaving node's attributes if there is no DC
308170
- Resolves: rhbz1791841
308170
308170
* Thu Jan 16 2020 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-4
308170
- Implement shutdown-lock feature
308170
- Resolves: rhbz1712584
308170
308170
* Wed Nov 27 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-3
308170
- Rebase on Pacemaker-2.0.3 final release
308170
- Resolves: rhbz1752538
308170
308170
* Wed Nov 13 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-2
308170
- Rebase on Pacemaker-2.0.3-rc3
308170
- Resolves: rhbz1752538
308170
308170
* Thu Oct 31 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.3-1
308170
- Rebase on Pacemaker-2.0.3-rc2
308170
- Parse crm_mon --fence-history option correctly
308170
- Put timeout on controller waiting for scheduler response
308170
- Offer Pacemaker Remote option for bind address
308170
- Calculate cluster recheck interval dynamically
308170
- Clarify crm_resource help text
308170
- Reduce system calls after forking a child process
308170
- Resolves: rhbz1699978
308170
- Resolves: rhbz1725236
308170
- Resolves: rhbz1743377
308170
- Resolves: rhbz1747553
308170
- Resolves: rhbz1748805
308170
- Resolves: rhbz1752538
308170
- Resolves: rhbz1762025
308170
308170
* Mon Aug 26 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.2-3
308170
- Make pacemaker-cli require tar and bzip2
308170
- Resolves: rhbz#1741580
308170
308170
* Fri Jun 21 2019 Klaus Wenninger <kwenning@redhat.com> - 2.0.2-2
308170
- Synchronize fence-history on fenced-restart
308170
- Cleanup leftover pending-fence-actions when fenced is restarted
308170
- Improve fencing of remote-nodes
308170
- Resolves: rhbz#1708380
308170
- Resolves: rhbz#1708378
308170
- Resolves: rhbz#1721198
308170
- Resolves: rhbz#1695737
308170
308170
* Thu Jun 6 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.2-1
308170
- Add stonith_admin option to display XML output
308170
- Add new crm_rule tool to check date/time rules
308170
- List any constraints cleared by crm_resource --clear
308170
- crm_resource --validate can now get resource parameters from command line
308170
- Rebase on upstream version 2.0.2
308170
- Default concurrent-fencing to true
308170
- Resolves: rhbz#1555939
308170
- Resolves: rhbz#1572116
308170
- Resolves: rhbz#1631752
308170
- Resolves: rhbz#1637020
308170
- Resolves: rhbz#1695737
308170
- Resolves: rhbz#1715426
308170
308170
* Wed May 15 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-5
308170
- Add gating tests for CI
308170
- Restore correct behavior when live migration is interrupted
308170
- Improve clients' authentication of IPC servers (CVE-2018-16877)
308170
- Fix use-after-free with potential information disclosure (CVE-2019-3885)
308170
- Improve pacemakerd authentication of running subdaemons (CVE-2018-16878)
308170
- Resolves: rhbz#1682116
308170
- Resolves: rhbz#1684306
308170
- Resolves: rhbz#1694558
308170
- Resolves: rhbz#1694560
308170
- Resolves: rhbz#1694908
308170
308170
* Tue Jan 29 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-4
308170
- Remove duplicate fence history state listing in crm_mon XML output
308170
- Resolves: rhbz#1667191
308170
308170
* Thu Jan 10 2019 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-3
308170
- Fix bundle recovery regression in 2.0.1-2
308170
- Resolves: rhbz#1660592
308170
308170
* Fri Dec 14 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-2
308170
- Move pacemaker-doc installed files to /usr/share/doc/pacemaker-doc
308170
  to avoid conflict with RHEL 8 location of pacemaker subpackage docs
308170
- Resolves: rhbz#1543494
308170
308170
* Thu Dec 13 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.1-1
308170
- Rebase on upstream commit 0eb799156489376e13fb79dca47ea9160e9d4595 (Pacemaker-2.0.1-rc1)
308170
- Follow upstream change of splitting XML schemas into separate package
308170
- Resolves: rhbz#1543494
308170
308170
* Fri Nov 16 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-11
308170
- Rebase on upstream commit efbf81b65931423b34c91cde7204a2d0a71e77e6
308170
- Resolves: rhbz#1543494
308170
308170
* Fri Sep 28 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-10
308170
- Rebase on upstream commit b67d8d0de9794e59719608d9b156b4a3c6556344
308170
- Update spec for Python macro changes
308170
- Resolves: rhbz#1543494
308170
- Resolves: rhbz#1633612
308170
308170
* Mon Sep 17 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-9
308170
- Rebase on upstream commit c4330b46bf1c3dcd3e367b436efb3bbf82ef51cd
308170
- Support podman as bundle container launcher
308170
- Ignore fence history in crm_mon when using CIB_file
308170
- Resolves: rhbz#1543494
308170
- Resolves: rhbz#1607898
308170
- Resolves: rhbz#1625231
308170
308170
* Thu Aug 30 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-8
308170
- Rebase on upstream commit dd6fd26f77945b9bb100d5a3134f149b27601552
308170
- Fixes (unreleased) API regression
308170
- Resolves: rhbz#1543494
308170
- Resolves: rhbz#1622969
308170
308170
* Mon Aug 13 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-7
d49b2d
- Include upstream main branch commits through 975347d4
308170
- Resolves: rhbz#1543494
308170
- Resolves: rhbz#1602650
308170
- Resolves: rhbz#1608369
308170
308170
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 2.0.0-6
308170
- Rebuild with fixed binutils
308170
308170
* Mon Jul 9 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-5
308170
- Rebase to upstream version 2.0.0 final
308170
- Resolves: rhbz#1543494
308170
308170
* Wed Jun 6 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-4
308170
- Rebase to upstream version 2.0.0-rc5
308170
- Resolves: rhbz#1543494
308170
308170
* Mon Apr 30 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-2
308170
- Rebase to upstream version 2.0.0-rc3
308170
- Resolves: rhbz#1543494
308170
308170
* Tue Apr 17 2018 Ken Gaillot <kgaillot@redhat.com> - 2.0.0-1
308170
- Rebase to upstream version 2.0.0-rc2 with later fixes
308170
- Resolves: rhbz#1543494
308170
308170
* Tue Apr 17 2018 Josh Boyer <jwboyer@redhat.com> - 1.1.17-3
308170
- Stop hard requiring nagios-plugins
308170
308170
* Wed Oct 18 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-2
308170
- Rebuilt to fix libqb vs. ld.bfd/binutils-2.29 incompatibility making
308170
  some CLI executables unusable under some circumstances (rhbz#1503843)
308170
308170
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-1.2
308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
308170
308170
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-1.1
308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
308170
308170
* Fri Jul 07 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-1
308170
- Update for new upstream tarball: Pacemaker-1.1.17,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17
308170
308170
* Thu Jun 22 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc4
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc4,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc4
308170
- Add an imposed lower bound for glib2 BuildRequires
308170
308170
* Thu Jun 01 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc3
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc3,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc3
308170
308170
* Wed May 24 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc2
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc2,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc2
308170
308170
* Tue May 09 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc1
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc1,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc1
308170
308170
* Mon Feb 06 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.16-2.a39ea6491.git
308170
- Update for (slightly stabilized) snapshot beyond Pacemaker-1.1.16
308170
  (commit a39ea6491), including:
308170
  . prevent FTBFS with new GCC 7 (a7476dd96)
308170
- Adapt spec file more akin to upstream version including:
308170
  . better pre-release vs. tags logic (4581d4366)
308170
308170
* Fri Dec 02 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.16-1
308170
- Update for new upstream tarball: Pacemaker-1.1.16,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.16
308170
- Adapt spec file more akin to upstream version including:
308170
  . clarify licensing, especially for -doc (f01f734)
308170
  . fix pacemaker-remote upgrade (779e0e3)
308170
  . require python >= 2.6 (31ef7f0)
308170
  . older libqb is sufficient (based on 30fe1ce)
308170
  . remove openssl-devel and libselinux-devel as BRs (2e05c17)
308170
  . make systemd BR pkgconfig-driven (6285924)
308170
  . defines instead of some globals + error suppression (625d427)
308170
- Rectify -nagios-plugins-metadata declared license and install
308170
  also respective license text
308170
308170
* Thu Nov 03 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-3
308170
- Apply fix for CVE-2016-7035 (improper IPC guarding)
308170
308170
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.15-2.1
308170
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
308170
308170
* Thu Jul 07 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-2
308170
- Stop building with -fstack-protector-all using the upstream patches
308170
  overhauling toolchain hardening (Fedora natively uses
308170
  -fstack-protector-strong so this effectively relaxed stack protection
308170
  is the only effect as hardened flags are already used by default:
308170
  https://fedoraproject.org/wiki/Changes/Harden_All_Packages)
308170
308170
* Wed Jun 22 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-1
308170
- Update for new upstream tarball: Pacemaker-1.1.15,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15
308170
- Adapt spec file more akin to upstream version:
308170
  . move xml schema files + PCMK-MIB.txt (81ef956), logrotate configuration
308170
    file (ce576cf; drop it from -remote package as well), attrd_updater
308170
    (aff80ae), the normal resource agents (1fc7287), and common directories
308170
    under /var/lib/pacemaker (3492794) from main package under -cli
308170
  . simplify docdir build parameter passing and drop as of now
308170
    redundant chmod invocations (e91769e)
308170
308170
* Fri May 27 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc3
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc3,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc3
308170
- Drop fence_pcmk (incl. man page) from the package (no use where no CMAN)
308170
- Drop license macro emulation for cases when not supported natively
308170
  (several recent Fedora releases do not need that)
308170
308170
* Mon May 16 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc2
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc2,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc2
308170
308170
* Tue Apr 26 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc1
308170
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc1,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc1
308170
- Adapt spec file more akin to upstream version (also to reflect recent
308170
  changes like ability to built explicitly without Publican-based docs)
308170
308170
* Thu Mar 31 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.14-2.5a6cdd1.git
308170
- Update for currently stabilized snapshot beyond Pacemaker-1.1.14
308170
  (commit 5a6cdd1), but restore old-style notifications to the state at
308170
  Pacemaker-1.1.14 point release (disabled)
308170
- Definitely get rid of Corosync v1 (Flatiron) hypothetical support
308170
- Remove some of the spec file cruft, not required for years
308170
  (BuildRoot, AutoReqProv, "clean" scriptlet, etc.) and adapt the file
308170
  per https://github.com/ClusterLabs/pacemaker/pull/965
308170
308170
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-1.1
308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
308170
308170
* Mon Jan 18 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.14-1
308170
- Update for new upstream tarball: Pacemaker-1.1.14,
308170
  for full details, see included ChangeLog file or
308170
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.14
308170
- Disable Fedora crypto policies conformance patch for now (rhbz#1179335)
308170
- Better align specfile with the upstream version (also fix issue with
308170
  crm_mon sysconfig file not being installed)
308170
- Further specfile modifications:
308170
  - drop unused gcc-c++ and repeatedly mentioned pkgconfig packages
308170
    from BuildRequires
308170
  - refer to python_sitearch macro first, if defined
308170
  - tolerate license macro not being defined (e.g., for EPEL rebuilds)
308170
- Prevent console mode not available in crm_mon due to curses library test
308170
  fragility of configure script in hardened build environment (rhbz#1297985)
308170
308170
* Tue Oct 20 2015 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.13-4
308170
- Adapt to follow Fedora crypto policies (rhbz#1179335)
308170
308170
* Wed Oct 14 2015 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.13-3
308170
- Update to Pacemaker-1.1.13 post-release + patches (sync)
308170
- Add nagios-plugins-metadata subpackage enabling support of selected
308170
  Nagios plugins as resources recognized by Pacemaker
308170
- Several specfile improvements: drop irrelevant stuff, rehash the
308170
  included/excluded files + dependencies, add check scriptlet,
308170
  reflect current packaging practice, do minor cleanups
308170
  (mostly adopted from another spec)
308170
308170
* Thu Aug 20 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-2
308170
- Update for new upstream tarball: Pacemaker-1.1.13
d49b2d
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
308170
308170
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.12-2.1
308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
308170
308170
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-2
308170
- Address incorrect use of the dbus API for interacting with systemd
308170
308170
* Tue Oct 28 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-1
308170
- Update for new upstream tarball: Pacemaker-1.1.12+ (a9c8177)
d49b2d
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
308170
308170
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-1.2
308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
308170
308170
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-1.1
308170
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
308170
308170
* Tue Feb 18 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.11-1
308170
- Update for new upstream tarball: Pacemaker-1.1.11 (9d39a6b)
d49b2d
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
308170
308170
* Thu Jun 20 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-3
308170
- Update to upstream 7d8acec
d49b2d
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
308170
308170
  + Feature: Turn off auto-respawning of systemd services when the cluster starts them
308170
  + Fix: crmd: Ensure operations for cleaned up resources don't block recovery
308170
  + Fix: logging: If SIGTRAP is sent before tracing is turned on, turn it on instead of crashing
308170
308170
* Mon Jun 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-2
308170
- Update for new upstream tarball: 781a388
d49b2d
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
308170
308170
* Wed May 12 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-1
308170
- Update the tarball from the upstream 1.1.2 release
d49b2d
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
308170
308170
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
308170
- Initial checkin