97a979
# User-configurable globals and defines to control package behavior
97a979
# (these should not test {with X} values, which are declared later)
97a979
97a979
## User and group to use for nonprivileged services
97a979
%global uname hacluster
97a979
%global gname haclient
97a979
97a979
## Where to install Pacemaker documentation
97a979
%if 0%{?suse_version} > 0
97a979
%global pcmk_docdir %{_docdir}/%{name}-%{version}
97a979
%else
97a979
%if 0%{?rhel} > 7
97a979
%global pcmk_docdir %{_docdir}/%{name}-doc
97a979
%else
97a979
%global pcmk_docdir %{_docdir}/%{name}
97a979
%endif
97a979
%endif
97a979
97a979
## GitHub entity that distributes source (for ease of using a fork)
97a979
%global github_owner ClusterLabs
97a979
97a979
## Where bug reports should be submitted
97a979
## Leave bug_url undefined to use ClusterLabs default, others define it here
97a979
%if 0%{?rhel}
97a979
%global bug_url https://bugzilla.redhat.com/
97a979
%else
97a979
%if 0%{?fedora}
97a979
%global bug_url https://bugz.fedoraproject.org/%{name}
97a979
%endif
97a979
%endif
97a979
97a979
## What to use as the OCF resource agent root directory
97a979
%global ocf_root %{_prefix}/lib/ocf
97a979
97a979
## Upstream pacemaker version, and its package version (specversion
97a979
## can be incremented to build packages reliably considered "newer"
97a979
## than previously built packages with the same pcmkversion)
fcdfbd
%global pcmkversion 2.1.5
fcdfbd
%global specversion 7
97a979
97a979
## Upstream commit (full commit ID, abbreviated commit ID, or tag) to build
fcdfbd
%global commit a3f44794f94e1571c6ba0042915ade369b4ce4b1
97a979
97a979
## Since git v2.11, the extent of abbreviation is autoscaled by default
97a979
## (used to be constant of 7), so we need to convey it for non-tags, too.
97a979
%global commit_abbrev 9
97a979
97a979
97a979
# Define conditionals so that "rpmbuild --with <feature>" and
97a979
# "rpmbuild --without <feature>" can enable and disable specific features
97a979
97a979
## Add option to enable support for stonith/external fencing agents
97a979
%bcond_with stonithd
97a979
97a979
## Add option for whether to support storing sensitive information outside CIB
97a979
%if (0%{?fedora} && 0%{?fedora} <= 33) || (0%{?rhel} && 0%{?rhel} <= 8)
97a979
%bcond_with cibsecrets
97a979
%else
97a979
%bcond_without cibsecrets
97a979
%endif
97a979
36923b
## Add option to enable Native Language Support (experimental)
36923b
%bcond_with nls
36923b
97a979
## Add option to create binaries suitable for use with profiling tools
97a979
%bcond_with profiling
97a979
36923b
## Allow deprecated option to skip (or enable, on RHEL) documentation
97a979
%if 0%{?rhel}
97a979
%bcond_with doc
97a979
%else
97a979
%bcond_without doc
97a979
%endif
97a979
97a979
## Add option to default to start-up synchronization with SBD.
97a979
##
97a979
## If enabled, SBD *MUST* be built to default similarly, otherwise data
97a979
## corruption could occur. Building both Pacemaker and SBD to default
97a979
## to synchronization improves safety, without requiring higher-level tools
97a979
## to be aware of the setting or requiring users to modify configurations
97a979
## after upgrading to versions that support synchronization.
97a979
%if 0%{?rhel} && 0%{?rhel} > 8
97a979
%bcond_without sbd_sync
97a979
%else
97a979
%bcond_with sbd_sync
97a979
%endif
97a979
97a979
## Add option to prefix package version with "0."
97a979
## (so later "official" packages will be considered updates)
97a979
%bcond_with pre_release
97a979
97a979
## NOTE: skip --with upstart_job
97a979
97a979
## Add option to turn off hardening of libraries and daemon executables
97a979
%bcond_without hardening
97a979
97a979
## Add option to enable (or disable, on RHEL 8) links for legacy daemon names
97a979
%if 0%{?rhel} && 0%{?rhel} <= 8
97a979
%bcond_without legacy_links
97a979
%else
97a979
%bcond_with legacy_links
97a979
%endif
97a979
97a979
## Nagios source control identifiers
97a979
%global nagios_name nagios-agents-metadata
97a979
%global nagios_hash 105ab8a7b2c16b9a29cf1c1596b80136eeef332b
97a979
%global nagios_archive_github_url %{nagios_hash}#/%{nagios_name}-%{nagios_hash}.tar.gz
97a979
97a979
# Define globals for convenient use later
97a979
97a979
## Workaround to use parentheses in other globals
97a979
%global lparen (
97a979
%global rparen )
97a979
97a979
## Whether this is a tagged release (final or release candidate)
97a979
%define tag_release %(c=%{commit}; case ${c} in Pacemaker-*%{rparen} echo 1 ;;
97a979
                      *%{rparen} echo 0 ;; esac)
97a979
97a979
## Portion of export/dist tarball name after "pacemaker-", and release version
97a979
%if 0%{tag_release}
97a979
%define archive_version %(c=%{commit}; echo ${c:10})
97a979
%define archive_github_url %{commit}#/%{name}-%{archive_version}.tar.gz
97a979
%else
fcdfbd
%if "%{commit}" == "DIST"
fcdfbd
%define archive_version %{pcmkversion}
fcdfbd
%define archive_github_url %{archive_version}#/%{name}-%{pcmkversion}.tar.gz
fcdfbd
%else
97a979
%define archive_version %(c=%{commit}; echo ${c:0:%{commit_abbrev}})
97a979
%define archive_github_url %{archive_version}#/%{name}-%{archive_version}.tar.gz
97a979
%endif
fcdfbd
%endif
97a979
### Always use a simple release number
97a979
%define pcmk_release %{specversion}
97a979
97a979
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
97a979
## Base GnuTLS cipher priorities (presumably only the initial, required keyword)
97a979
## overridable with "rpmbuild --define 'pcmk_gnutls_priorities PRIORITY-SPEC'"
97a979
%define gnutls_priorities %{?pcmk_gnutls_priorities}%{!?pcmk_gnutls_priorities:@SYSTEM}
97a979
%endif
97a979
97a979
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
97a979
%global supports_recommends 1
97a979
%endif
97a979
97a979
## Different distros name certain packages differently
97a979
## (note: corosync libraries also differ, but all provide corosync-devel)
97a979
%if 0%{?suse_version} > 0
97a979
%global pkgname_bzip2_devel libbz2-devel
97a979
%global pkgname_docbook_xsl docbook-xsl-stylesheets
36923b
%global pkgname_gettext gettext-tools
97a979
%global pkgname_gnutls_devel libgnutls-devel
97a979
%global pkgname_shadow_utils shadow
97a979
%global pkgname_procps procps
97a979
%global pkgname_glue_libs libglue
97a979
%global pkgname_pcmk_libs lib%{name}3
97a979
%global hacluster_id 90
97a979
%else
97a979
%global pkgname_libtool_devel libtool-ltdl-devel
97a979
%global pkgname_libtool_devel_arch libtool-ltdl-devel%{?_isa}
97a979
%global pkgname_bzip2_devel bzip2-devel
97a979
%global pkgname_docbook_xsl docbook-style-xsl
36923b
%global pkgname_gettext gettext-devel
97a979
%global pkgname_gnutls_devel gnutls-devel
97a979
%global pkgname_shadow_utils shadow-utils
97a979
%global pkgname_procps procps-ng
97a979
%global pkgname_glue_libs cluster-glue-libs
97a979
%global pkgname_pcmk_libs %{name}-libs
97a979
%global hacluster_id 189
97a979
%endif
97a979
97a979
## Distro-specific configuration choices
97a979
97a979
### Use 2.0-style output when other distro packages don't support current output
97a979
%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} <= 8 )
97a979
%global compat20 --enable-compat-2.0
97a979
%endif
97a979
97a979
### Default concurrent-fencing to true when distro prefers that
97a979
%if 0%{?rhel} >= 7
97a979
%global concurrent_fencing --with-concurrent-fencing-default=true
97a979
%endif
97a979
97a979
### Default resource-stickiness to 1 when distro prefers that
97a979
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
97a979
%global resource_stickiness --with-resource-stickiness-default=1
97a979
%endif
97a979
97a979
97a979
# Python-related definitions
97a979
97a979
## Turn off auto-compilation of Python files outside Python specific paths,
97a979
## so there's no risk that unexpected "__python" macro gets picked to do the
97a979
## RPM-native byte-compiling there (only "{_datadir}/pacemaker/tests" affected)
97a979
## -- distro-dependent tricks or automake's fallback to be applied there
97a979
%if %{defined _python_bytecompile_extra}
97a979
%global _python_bytecompile_extra 0
97a979
%else
97a979
### the statement effectively means no RPM-native byte-compiling will occur at
97a979
### all, so distro-dependent tricks for Python-specific packages to be applied
97a979
%global __os_install_post %(echo '%{__os_install_post}' | {
97a979
                            sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g'; })
97a979
%endif
97a979
97a979
## Prefer Python 3 definitions explicitly, in case 2 is also available
97a979
%if %{defined __python3}
97a979
%global python_name python3
97a979
%global python_path %{__python3}
97a979
%define python_site %{?python3_sitelib}%{!?python3_sitelib:%(
97a979
  %{python_path} -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
97a979
%else
97a979
%if %{defined python_version}
97a979
%global python_name python%(echo %{python_version} | cut -d'.' -f1)
97a979
%define python_path %{?__python}%{!?__python:/usr/bin/%{python_name}}
97a979
%else
97a979
%global python_name python
97a979
%global python_path %{?__python}%{!?__python:/usr/bin/python%{?python_pkgversion}}
97a979
%endif
97a979
%define python_site %{?python_sitelib}%{!?python_sitelib:%(
97a979
  %{python_name} -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
97a979
%endif
97a979
97a979
97a979
# Keep sane profiling data if requested
97a979
%if %{with profiling}
97a979
97a979
## Disable -debuginfo package and stripping binaries/libraries
97a979
%define debug_package %{nil}
97a979
97a979
%endif
97a979
97a979
97a979
Name:          pacemaker
97a979
Summary:       Scalable High-Availability cluster resource manager
97a979
Version:       %{pcmkversion}
fcdfbd
Release:       %{pcmk_release}%{?dist}
97a979
License:       GPLv2+ and LGPLv2+
97a979
Url:           https://www.clusterlabs.org/
97a979
97a979
# Example: https://codeload.github.com/ClusterLabs/pacemaker/tar.gz/e91769e
97a979
# will download pacemaker-e91769e.tar.gz
97a979
#
97a979
# The ending part starting with '#' is ignored by github but necessary for
97a979
# rpmbuild to know what the tar archive name is. (The downloaded file will be
97a979
# named correctly only for commit IDs, not tagged releases.)
97a979
#
97a979
# You can use "spectool -s 0 pacemaker.spec" (rpmdevtools) to show final URL.
97a979
Source0:       https://codeload.github.com/%{github_owner}/%{name}/tar.gz/%{archive_github_url}
97a979
Source1:       https://codeload.github.com/%{github_owner}/%{nagios_name}/tar.gz/%{nagios_archive_github_url}
97a979
97a979
# upstream commits
fcdfbd
Patch001:      001-sync-points.patch
fcdfbd
Patch002:      002-remote-regression.patch
fcdfbd
Patch003:      003-history-cleanup.patch
fcdfbd
Patch004:      004-g_source_remove.patch
fcdfbd
Patch005:      005-query-null.patch
97a979
97a979
Requires:      resource-agents
97a979
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
97a979
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
97a979
Requires:      %{name}-cli = %{version}-%{release}
97a979
%{?systemd_requires}
97a979
97a979
%if %{defined centos}
97a979
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64 %{arm}
97a979
%else
97a979
%if 0%{?rhel}
97a979
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64
97a979
%endif
97a979
%endif
97a979
97a979
Requires:      %{python_path}
97a979
BuildRequires: %{python_name}-devel
97a979
97a979
# Pacemaker requires a minimum libqb functionality
97a979
# RHEL requires a higher version than upstream, for qb_ipcc_connect_async()
97a979
Requires:      libqb >= 2.0.3-7
97a979
BuildRequires: libqb-devel >= 2.0.3-7
97a979
97a979
# Required basic build tools
97a979
BuildRequires: autoconf
97a979
BuildRequires: automake
97a979
BuildRequires: coreutils
97a979
BuildRequires: findutils
97a979
BuildRequires: gcc
97a979
BuildRequires: grep
97a979
BuildRequires: libtool
97a979
%if %{defined pkgname_libtool_devel}
97a979
BuildRequires: %{?pkgname_libtool_devel}
97a979
%endif
97a979
BuildRequires: make
97a979
BuildRequires: pkgconfig
97a979
BuildRequires: sed
97a979
97a979
# Required for core functionality
97a979
BuildRequires: pkgconfig(glib-2.0) >= 2.42
97a979
BuildRequires: libxml2-devel
97a979
BuildRequires: libxslt-devel
97a979
BuildRequires: libuuid-devel
97a979
BuildRequires: %{pkgname_bzip2_devel}
97a979
97a979
# Enables optional functionality
97a979
BuildRequires: pkgconfig(dbus-1)
97a979
BuildRequires: %{pkgname_docbook_xsl}
97a979
BuildRequires: %{pkgname_gnutls_devel}
97a979
BuildRequires: help2man
97a979
BuildRequires: ncurses-devel
97a979
BuildRequires: pam-devel
36923b
BuildRequires: %{pkgname_gettext} >= 0.18
97a979
97a979
# Required for "make check"
97a979
BuildRequires: libcmocka-devel
97a979
97a979
BuildRequires: pkgconfig(systemd)
97a979
97a979
# RH patches are created by git, so we need git to apply them
97a979
BuildRequires: git
97a979
97a979
# The RHEL 9 build root has corosync_cfg_trackstart() available, so
97a979
# Pacemaker's configure script will build support for it. Add a hard dependency
97a979
# to ensure users have compatible Corosync libraries if they upgrade Pacemaker.
97a979
Requires:      corosync >= 3.1.1
97a979
BuildRequires: corosync-devel >= 3.1.1
97a979
97a979
%if %{with stonithd}
97a979
BuildRequires: %{pkgname_glue_libs}-devel
97a979
%endif
97a979
97a979
%if %{with doc}
97a979
BuildRequires: asciidoc
97a979
BuildRequires: inkscape
97a979
BuildRequires: %{python_name}-sphinx
97a979
%endif
97a979
fcdfbd
# Booth requires this
fcdfbd
Provides:      pacemaker-ticket-support = 2.0
fcdfbd
97a979
Provides:      pcmk-cluster-manager = %{version}-%{release}
97a979
Provides:      pcmk-cluster-manager%{?_isa} = %{version}-%{release}
97a979
97a979
# Bundled bits
97a979
## Pacemaker uses the crypto/md5-buffer module from gnulib
97a979
%if 0%{?fedora} || 0%{?rhel}
97a979
Provides:      bundled(gnulib) = 20200404
97a979
%endif
97a979
97a979
%description
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
It supports more than 16 node clusters with significant capabilities
97a979
for managing resources and dependencies.
97a979
97a979
It will run scripts at initialization, when machines go up or down,
97a979
when related resources fail and can be configured to periodically check
97a979
resource health.
97a979
97a979
Available rpmbuild rebuild options:
fcdfbd
  --with(out) : cibsecrets hardening nls pre_release profiling
fcdfbd
                stonithd
97a979
97a979
%package cli
97a979
License:       GPLv2+ and LGPLv2+
97a979
Summary:       Command line tools for controlling Pacemaker clusters
97a979
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
97a979
%if 0%{?supports_recommends}
97a979
Recommends:    pcmk-cluster-manager = %{version}-%{release}
97a979
# For crm_report
97a979
Requires:      tar
97a979
Requires:      bzip2
97a979
%endif
97a979
Requires:      perl-TimeDate
97a979
Requires:      %{pkgname_procps}
97a979
Requires:      psmisc
97a979
Requires(post):coreutils
97a979
97a979
%description cli
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
The %{name}-cli package contains command line tools that can be used
97a979
to query and control the cluster from machines that may, or may not,
97a979
be part of the cluster.
97a979
97a979
%package -n %{pkgname_pcmk_libs}
97a979
License:       GPLv2+ and LGPLv2+
97a979
Summary:       Core Pacemaker libraries
97a979
Requires(pre): %{pkgname_shadow_utils}
97a979
Requires:      %{name}-schemas = %{version}-%{release}
97a979
# sbd 1.4.0+ supports the libpe_status API for pe_working_set_t
97a979
# sbd 1.4.2+ supports startup/shutdown handshake via pacemakerd-api
97a979
# sbd 1.5.0+ supports handshake defaults to enabled in this spec
97a979
Conflicts:     sbd < 1.5.0
97a979
97a979
%description -n %{pkgname_pcmk_libs}
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
The %{pkgname_pcmk_libs} package contains shared libraries needed for cluster
97a979
nodes and those just running the CLI tools.
97a979
97a979
%package cluster-libs
97a979
License:       GPLv2+ and LGPLv2+
97a979
Summary:       Cluster Libraries used by Pacemaker
97a979
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
97a979
97a979
%description cluster-libs
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
The %{name}-cluster-libs package contains cluster-aware shared
97a979
libraries needed for nodes that will form part of the cluster nodes.
97a979
97a979
%package remote
97a979
License:       GPLv2+ and LGPLv2+
97a979
Summary:       Pacemaker remote executor daemon for non-cluster nodes
97a979
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
97a979
Requires:      %{name}-cli = %{version}-%{release}
97a979
Requires:      resource-agents
97a979
# -remote can be fully independent of systemd
97a979
%{?systemd_ordering}%{!?systemd_ordering:%{?systemd_requires}}
97a979
Provides:      pcmk-cluster-manager = %{version}-%{release}
97a979
Provides:      pcmk-cluster-manager%{?_isa} = %{version}-%{release}
97a979
97a979
%description remote
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
The %{name}-remote package contains the Pacemaker Remote daemon
97a979
which is capable of extending pacemaker functionality to remote
97a979
nodes not running the full corosync/cluster stack.
97a979
97a979
%package -n %{pkgname_pcmk_libs}-devel
97a979
License:       GPLv2+ and LGPLv2+
97a979
Summary:       Pacemaker development package
97a979
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
97a979
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
97a979
Requires:      %{pkgname_bzip2_devel}%{?_isa}
97a979
Requires:      corosync-devel%{?_isa} >= 2.0.0
97a979
Requires:      glib2-devel%{?_isa}
97a979
Requires:      libqb-devel%{?_isa}
97a979
%if %{defined pkgname_libtool_devel_arch}
97a979
Requires:      %{?pkgname_libtool_devel_arch}
97a979
%endif
97a979
Requires:      libuuid-devel%{?_isa}
97a979
Requires:      libxml2-devel%{?_isa}
97a979
Requires:      libxslt-devel%{?_isa}
97a979
97a979
%description -n %{pkgname_pcmk_libs}-devel
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
The %{pkgname_pcmk_libs}-devel package contains headers and shared libraries
97a979
for developing tools for Pacemaker.
97a979
97a979
%package       cts
97a979
License:       GPLv2+ and LGPLv2+
97a979
Summary:       Test framework for cluster-related technologies like Pacemaker
97a979
Requires:      %{python_path}
97a979
Requires:      %{pkgname_pcmk_libs} = %{version}-%{release}
97a979
Requires:      %{name}-cli = %{version}-%{release}
97a979
Requires:      %{pkgname_procps}
97a979
Requires:      psmisc
fcdfbd
Requires:      %{python_name}-psutil
97a979
BuildArch:     noarch
97a979
97a979
# systemd Python bindings are a separate package in some distros
97a979
%if %{defined systemd_requires}
97a979
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
97a979
Requires:      %{python_name}-systemd
97a979
%endif
97a979
%endif
97a979
97a979
%description   cts
97a979
Test framework for cluster-related technologies like Pacemaker
97a979
97a979
%package       doc
97a979
License:       CC-BY-SA-4.0
97a979
Summary:       Documentation for Pacemaker
97a979
BuildArch:     noarch
97a979
97a979
%description   doc
97a979
Documentation for Pacemaker.
97a979
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
%package       schemas
97a979
License:       GPLv2+
97a979
Summary:       Schemas and upgrade stylesheets for Pacemaker
97a979
BuildArch:     noarch
97a979
97a979
%description   schemas
97a979
Schemas and upgrade stylesheets for Pacemaker
97a979
97a979
Pacemaker is an advanced, scalable High-Availability cluster resource
97a979
manager.
97a979
97a979
%package       nagios-plugins-metadata
97a979
License:       GPLv3
97a979
Summary:       Pacemaker Nagios Metadata
97a979
BuildArch:     noarch
97a979
# NOTE below are the plugins this metadata uses.
97a979
# Requires:      nagios-plugins-http
97a979
# Requires:      nagios-plugins-ldap
97a979
# Requires:      nagios-plugins-mysql
97a979
# Requires:      nagios-plugins-pgsql
97a979
# Requires:      nagios-plugins-tcp
97a979
Requires:      pcmk-cluster-manager
97a979
97a979
%description  nagios-plugins-metadata
97a979
The metadata files required for Pacemaker to execute the nagios plugin
97a979
monitor resources.
97a979
97a979
%prep
97a979
%autosetup -a 1 -n %{name}-%{archive_version} -S git_am -p 1
97a979
97a979
%build
97a979
97a979
export systemdsystemunitdir=%{?_unitdir}%{!?_unitdir:no}
97a979
97a979
%if %{with hardening}
97a979
# prefer distro-provided hardening flags in case they are defined
97a979
# through _hardening_{c,ld}flags macros, configure script will
97a979
# use its own defaults otherwise; if such hardenings are completely
97a979
# undesired, rpmbuild using "--without hardening"
97a979
# (or "--define '_without_hardening 1'")
97a979
export CFLAGS_HARDENED_EXE="%{?_hardening_cflags}"
97a979
export CFLAGS_HARDENED_LIB="%{?_hardening_cflags}"
97a979
export LDFLAGS_HARDENED_EXE="%{?_hardening_ldflags}"
97a979
export LDFLAGS_HARDENED_LIB="%{?_hardening_ldflags}"
97a979
%endif
97a979
97a979
./autogen.sh
97a979
97a979
%{configure}                                                                    \
97a979
        PYTHON=%{python_path}                                                   \
97a979
        %{!?with_hardening:    --disable-hardening}                             \
97a979
        %{?with_legacy_links:  --enable-legacy-links}                           \
97a979
        %{?with_profiling:     --with-profiling}                                \
97a979
        %{?with_cibsecrets:    --with-cibsecrets}                               \
36923b
        %{?with_nls:           --enable-nls}                                    \
97a979
        %{?with_sbd_sync:      --with-sbd-sync-default="true"}                  \
97a979
        %{?gnutls_priorities:  --with-gnutls-priorities="%{gnutls_priorities}"} \
97a979
        %{?bug_url:            --with-bug-url=%{bug_url}}                       \
97a979
        %{?ocf_root:           --with-ocfdir=%{ocf_root}}                       \
97a979
        %{?concurrent_fencing}                                                  \
97a979
        %{?resource_stickiness}                                                 \
97a979
        %{?compat20}                                                            \
97a979
        --disable-static                                                        \
97a979
        --with-initdir=%{_initrddir}                                            \
97a979
        --with-runstatedir=%{_rundir}                                           \
97a979
        --localstatedir=%{_var}                                                 \
97a979
        --with-nagios                                                             \
97a979
        --with-nagios-metadata-dir=%{_datadir}/pacemaker/nagios/plugins-metadata/ \
97a979
        --with-nagios-plugin-dir=%{_libdir}/nagios/plugins/                       \
97a979
        --with-version=%{version}-%{release}
97a979
97a979
make %{_smp_mflags} V=1
97a979
97a979
%check
97a979
make %{_smp_mflags} check
97a979
{ cts/cts-scheduler --run load-stopped-loop \
97a979
  && cts/cts-cli \
97a979
  && touch .CHECKED
97a979
} 2>&1 | sed 's/[fF]ail/faiil/g'  # prevent false positives in rpmlint
97a979
[ -f .CHECKED ] && rm -f -- .CHECKED
97a979
97a979
%install
97a979
# skip automake-native Python byte-compilation, since RPM-native one (possibly
97a979
# distro-confined to Python-specific directories, which is currently the only
97a979
# relevant place, anyway) assures proper intrinsic alignment with wider system
97a979
# (such as with py_byte_compile macro, which is concurrent Fedora/EL specific)
97a979
make install \
97a979
  DESTDIR=%{buildroot} V=1 docdir=%{pcmk_docdir} \
97a979
  %{?_python_bytecompile_extra:%{?py_byte_compile:am__py_compile=true}}
97a979
97a979
mkdir -p %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
97a979
for file in $(find %{nagios_name}-%{nagios_hash}/metadata -type f); do
97a979
    install -m 644 $file %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
97a979
done
97a979
97a979
97a979
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/rpm-state/%{name}
97a979
36923b
%if %{with nls}
36923b
%find_lang %{name}
36923b
%endif
36923b
97a979
# Don't package libtool archives
97a979
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
97a979
36923b
# Do not package these either on CentOS Stream
97a979
rm -f %{buildroot}/%{_sbindir}/fence_legacy
97a979
rm -f %{buildroot}/%{_mandir}/man8/fence_legacy.*
97a979
97a979
# For now, don't package the servicelog-related binaries built only for
97a979
# ppc64le when certain dependencies are installed. If they get more exercise by
97a979
# advanced users, we can reconsider.
97a979
rm -f %{buildroot}/%{_sbindir}/notifyServicelogEvent
97a979
rm -f %{buildroot}/%{_sbindir}/ipmiservicelogd
97a979
97a979
# Byte-compile Python sources where suitable and the distro procedures known
97a979
%if %{defined py_byte_compile}
97a979
%{py_byte_compile %{python_path} %{buildroot}%{_datadir}/pacemaker/tests}
97a979
%if !%{defined _python_bytecompile_extra}
97a979
%{py_byte_compile %{python_path} %{buildroot}%{python_site}/cts}
97a979
%endif
97a979
%endif
97a979
97a979
%post
97a979
%systemd_post pacemaker.service
97a979
97a979
%preun
97a979
%systemd_preun pacemaker.service
97a979
97a979
%postun
97a979
%systemd_postun_with_restart pacemaker.service
97a979
97a979
%pre remote
97a979
# Stop the service before anything is touched, and remember to restart
97a979
# it as one of the last actions (compared to using systemd_postun_with_restart,
97a979
# this avoids suicide when sbd is in use)
97a979
systemctl --quiet is-active pacemaker_remote
97a979
if [ $? -eq 0 ] ; then
97a979
    mkdir -p %{_localstatedir}/lib/rpm-state/%{name}
97a979
    touch %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
97a979
    systemctl stop pacemaker_remote >/dev/null 2>&1
97a979
else
97a979
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
97a979
fi
97a979
97a979
%post remote
97a979
%systemd_post pacemaker_remote.service
97a979
97a979
%preun remote
97a979
%systemd_preun pacemaker_remote.service
97a979
97a979
%postun remote
97a979
# This next line is a no-op, because we stopped the service earlier, but
97a979
# we leave it here because it allows us to revert to the standard behavior
97a979
# in the future if desired
97a979
%systemd_postun_with_restart pacemaker_remote.service
97a979
# Explicitly take care of removing the flag-file(s) upon final removal
97a979
if [ "$1" -eq 0 ] ; then
97a979
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
97a979
fi
97a979
97a979
%posttrans remote
97a979
if [ -e %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote ] ; then
97a979
    systemctl start pacemaker_remote >/dev/null 2>&1
97a979
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
97a979
fi
97a979
97a979
%post cli
97a979
%systemd_post crm_mon.service
97a979
if [ "$1" -eq 2 ]; then
97a979
    # Package upgrade, not initial install:
97a979
    # Move any pre-2.0 logs to new location to ensure they get rotated
97a979
    { mv -fbS.rpmsave %{_var}/log/pacemaker.log* %{_var}/log/pacemaker \
97a979
      || mv -f %{_var}/log/pacemaker.log* %{_var}/log/pacemaker
97a979
    } >/dev/null 2>/dev/null || :
97a979
fi
97a979
97a979
%preun cli
97a979
%systemd_preun crm_mon.service
97a979
97a979
%postun cli
97a979
%systemd_postun_with_restart crm_mon.service
97a979
97a979
%pre -n %{pkgname_pcmk_libs}
97a979
# @TODO Use sysusers.d:
97a979
# https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format
97a979
getent group %{gname} >/dev/null || groupadd -r %{gname} -g %{hacluster_id}
97a979
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id} -s /sbin/nologin -c "cluster user" %{uname}
97a979
exit 0
97a979
97a979
%ldconfig_scriptlets -n %{pkgname_pcmk_libs}
97a979
%ldconfig_scriptlets cluster-libs
97a979
97a979
%files
97a979
###########################################################
97a979
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
97a979
%{_sbindir}/pacemakerd
97a979
97a979
%{_unitdir}/pacemaker.service
97a979
97a979
%exclude %{_datadir}/pacemaker/nagios/plugins-metadata/*
97a979
97a979
%exclude %{_libexecdir}/pacemaker/cts-log-watcher
97a979
%exclude %{_libexecdir}/pacemaker/cts-support
97a979
%exclude %{_sbindir}/pacemaker-remoted
97a979
%exclude %{_sbindir}/pacemaker_remoted
97a979
%{_libexecdir}/pacemaker/*
97a979
97a979
%{_sbindir}/crm_master
97a979
%{_sbindir}/fence_watchdog
97a979
97a979
%doc %{_mandir}/man7/pacemaker-controld.*
97a979
%doc %{_mandir}/man7/pacemaker-schedulerd.*
97a979
%doc %{_mandir}/man7/pacemaker-fenced.*
97a979
%doc %{_mandir}/man7/ocf_pacemaker_controld.*
97a979
%doc %{_mandir}/man7/ocf_pacemaker_remote.*
97a979
%doc %{_mandir}/man8/crm_master.*
97a979
%doc %{_mandir}/man8/fence_watchdog.*
97a979
%doc %{_mandir}/man8/pacemakerd.*
97a979
97a979
%doc %{_datadir}/pacemaker/alerts
97a979
97a979
%license licenses/GPLv2
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cib
97a979
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/pengine
97a979
%{ocf_root}/resource.d/pacemaker/controld
97a979
%{ocf_root}/resource.d/pacemaker/remote
97a979
97a979
%files cli
97a979
%dir %attr (750, root, %{gname}) %{_sysconfdir}/pacemaker
97a979
%config(noreplace) %{_sysconfdir}/logrotate.d/pacemaker
97a979
%config(noreplace) %{_sysconfdir}/sysconfig/crm_mon
97a979
97a979
%{_unitdir}/crm_mon.service
97a979
97a979
%{_sbindir}/attrd_updater
97a979
%{_sbindir}/cibadmin
97a979
%if %{with cibsecrets}
97a979
%{_sbindir}/cibsecret
97a979
%endif
36923b
%{_sbindir}/crm_attribute
97a979
%{_sbindir}/crm_diff
97a979
%{_sbindir}/crm_error
97a979
%{_sbindir}/crm_failcount
97a979
%{_sbindir}/crm_mon
97a979
%{_sbindir}/crm_node
97a979
%{_sbindir}/crm_resource
97a979
%{_sbindir}/crm_rule
97a979
%{_sbindir}/crm_standby
97a979
%{_sbindir}/crm_verify
97a979
%{_sbindir}/crmadmin
97a979
%{_sbindir}/iso8601
97a979
%{_sbindir}/crm_shadow
97a979
%{_sbindir}/crm_simulate
97a979
%{_sbindir}/crm_report
97a979
%{_sbindir}/crm_ticket
97a979
%{_sbindir}/stonith_admin
97a979
# "dirname" is owned by -schemas, which is a prerequisite
97a979
%{_datadir}/pacemaker/report.collector
97a979
%{_datadir}/pacemaker/report.common
97a979
# XXX "dirname" is not owned by any prerequisite
97a979
%{_datadir}/snmp/mibs/PCMK-MIB.txt
97a979
97a979
%exclude %{ocf_root}/resource.d/pacemaker/controld
97a979
%exclude %{ocf_root}/resource.d/pacemaker/o2cb
97a979
%exclude %{ocf_root}/resource.d/pacemaker/remote
97a979
97a979
%dir %{ocf_root}
97a979
%dir %{ocf_root}/resource.d
97a979
%{ocf_root}/resource.d/pacemaker
97a979
97a979
%doc %{_mandir}/man7/*
97a979
%exclude %{_mandir}/man7/pacemaker-controld.*
97a979
%exclude %{_mandir}/man7/pacemaker-schedulerd.*
97a979
%exclude %{_mandir}/man7/pacemaker-fenced.*
97a979
%exclude %{_mandir}/man7/ocf_pacemaker_controld.*
97a979
%exclude %{_mandir}/man7/ocf_pacemaker_o2cb.*
97a979
%exclude %{_mandir}/man7/ocf_pacemaker_remote.*
97a979
%doc %{_mandir}/man8/*
97a979
%exclude %{_mandir}/man8/crm_master.*
97a979
%exclude %{_mandir}/man8/fence_legacy.*
97a979
%exclude %{_mandir}/man8/fence_watchdog.*
97a979
%exclude %{_mandir}/man8/pacemakerd.*
97a979
%exclude %{_mandir}/man8/pacemaker-remoted.*
97a979
97a979
%license licenses/GPLv2
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker
97a979
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/blackbox
97a979
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cores
97a979
%dir %attr (770, %{uname}, %{gname}) %{_var}/log/pacemaker
97a979
%dir %attr (770, %{uname}, %{gname}) %{_var}/log/pacemaker/bundles
97a979
36923b
%files -n %{pkgname_pcmk_libs} %{?with_nls:-f %{name}.lang}
97a979
%{_libdir}/libcib.so.*
97a979
%{_libdir}/liblrmd.so.*
97a979
%{_libdir}/libcrmservice.so.*
97a979
%{_libdir}/libcrmcommon.so.*
97a979
%{_libdir}/libpe_status.so.*
97a979
%{_libdir}/libpe_rules.so.*
97a979
%{_libdir}/libpacemaker.so.*
97a979
%{_libdir}/libstonithd.so.*
97a979
%license licenses/LGPLv2.1
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%files cluster-libs
97a979
%{_libdir}/libcrmcluster.so.*
97a979
%license licenses/LGPLv2.1
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%files remote
97a979
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
97a979
# state directory is shared between the subpackets
97a979
# let rpm take care of removing it once it isn't
97a979
# referenced anymore and empty
97a979
%ghost %dir %{_localstatedir}/lib/rpm-state/%{name}
97a979
%{_unitdir}/pacemaker_remote.service
97a979
97a979
%{_sbindir}/pacemaker-remoted
97a979
%{_sbindir}/pacemaker_remoted
97a979
%{_mandir}/man8/pacemaker-remoted.*
97a979
%license licenses/GPLv2
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%files doc
97a979
%doc %{pcmk_docdir}
97a979
%license licenses/CC-BY-SA-4.0
97a979
97a979
%files cts
97a979
%{python_site}/cts
97a979
%{_datadir}/pacemaker/tests
97a979
97a979
%{_libexecdir}/pacemaker/cts-log-watcher
97a979
%{_libexecdir}/pacemaker/cts-support
97a979
97a979
%license licenses/GPLv2
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%files -n %{pkgname_pcmk_libs}-devel
97a979
%{_includedir}/pacemaker
97a979
%{_libdir}/*.so
97a979
%{_libdir}/pkgconfig/*.pc
97a979
%license licenses/LGPLv2.1
97a979
%doc COPYING
97a979
%doc ChangeLog
97a979
97a979
%files schemas
97a979
%license licenses/GPLv2
97a979
%dir %{_datadir}/pacemaker
97a979
%{_datadir}/pacemaker/*.rng
97a979
%{_datadir}/pacemaker/*.xsl
97a979
%{_datadir}/pacemaker/api
36923b
%{_datadir}/pacemaker/base
97a979
%{_datadir}/pkgconfig/pacemaker-schemas.pc
97a979
97a979
%files nagios-plugins-metadata
97a979
%dir %{_datadir}/pacemaker/nagios
97a979
%dir %{_datadir}/pacemaker/nagios/plugins-metadata
97a979
%attr(0644,root,root) %{_datadir}/pacemaker/nagios/plugins-metadata/*
97a979
%license %{nagios_name}-%{nagios_hash}/COPYING
97a979
97a979
%changelog
fcdfbd
* Wed Feb 22 2023 Chris Lumens <clumens@redhat.com> - 2.1.5-7
fcdfbd
- Additional fixes for SIGABRT during pacemaker-fenced shutdown
fcdfbd
- Backport fix for attrd_updater -QA not displaying all nodes
fcdfbd
- Related: rhbz2166967
fcdfbd
- Resolves: rhbz2169829
fcdfbd
fcdfbd
* Thu Feb 9 2023 Chris Lumens <clumens@redhat.com> - 2.1.5-6
fcdfbd
- Backport fix for migration history cleanup causing resource recovery
fcdfbd
- Backport fix for SIGABRT during pacemaker-fenced shutdown
fcdfbd
- Resolves: rhbz2166393
fcdfbd
- Resolves: rhbz2166967
fcdfbd
fcdfbd
* Tue Jan 24 2023 Ken Gaillot <kgaillot@redhat.com> - 2.1.5-5
fcdfbd
- Backport fix for remote node shutdown regression
fcdfbd
- Resolves: rhbz2163450
fcdfbd
fcdfbd
* Mon Dec 12 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-4
fcdfbd
- Rebase pacemaker on upstream 2.1.5 final release
fcdfbd
- Add support for sync points to attribute daemon
fcdfbd
- Resolves: rhbz2122353
fcdfbd
fcdfbd
* Tue Dec 06 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-3
fcdfbd
- Fix errors found by covscan
fcdfbd
- Related: rhbz2122353
fcdfbd
fcdfbd
* Wed Nov 23 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-2
fcdfbd
- Rebase on upstream 2.1.5-rc3 release
fcdfbd
- Related: rhbz2122353
fcdfbd
fcdfbd
* Tue Nov 15 2022 Chris Lumens <clumens@redhat.com> - 2.1.5-1
fcdfbd
- Rebase on upstream 2.1.5-rc2 release
fcdfbd
- Resolves: rhbz2123727
fcdfbd
- Resolves: rhbz2125337
fcdfbd
- Resolves: rhbz2125344
fcdfbd
- Resolves: rhbz2133546
fcdfbd
- Resolves: rhbz2142683
46037d
36923b
* Wed Aug 10 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-5
e91052
- Fix regression in crm_resource -O
36923b
- Resolves: rhbz2089353
36923b
36923b
* Wed Jul 20 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-3
36923b
- stonith_admin --validate works again
36923b
- Resolves: rhbz2102292
36923b
36923b
* Tue Jun 28 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-2
36923b
- Restore crm_attribute query behavior when attribute does not exist
36923b
- Resolves: rhbz2099331
36923b
36923b
* Wed Jun 15 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.4-1
36923b
- Rebase pacemaker on upstream 2.1.4 final release
36923b
- Resolves: rhbz2072108
36923b
36923b
* Thu Jun 2 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.3-2
36923b
- Rebase pacemaker on upstream 2.1.3 final release
36923b
- Resolves: rhbz2072108
36923b
36923b
* Thu May 19 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.3-1
36923b
- Unable to show metadata for "service" agents with "@" and "." in the name
36923b
- Resource ocf:pacemaker:attribute does not comply with the OCF 1.1 standard
36923b
- Pacemaker does not convert & to & when generating metadata for non-ocf agents
36923b
- Rebase pacemaker on upstream 2.1.3 release
36923b
- Resolves: rhbz2045110
36923b
- Resolves: rhbz2049720
36923b
- Resolves: rhbz2050259
36923b
- Resolves: rhbz2072108
e91052
97a979
* Wed Jan 26 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-4
97a979
- Fix regression in down event detection that affects remote nodes
97a979
- Resolves: rhbz2039399
97a979
97a979
* Mon Jan 24 2022 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-3
97a979
- Detect an unresponsive subdaemon
97a979
- Handle certain probe failures as stopped instead of failed
97a979
- Update pcmk_delay_base option meta-data
97a979
- Avoid crash when using clone notifications
97a979
- Retry Corosync shutdown tracking if first attempt fails
97a979
- Improve display of failed actions
97a979
- Resolves: rhbz1707851
97a979
- Resolves: rhbz2039982
97a979
- Resolves: rhbz2032032
97a979
- Resolves: rhbz2040443
97a979
- Resolves: rhbz2042367
97a979
- Resolves: rhbz2042546
97a979
97a979
* Thu Dec 16 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-2
97a979
- Correctly get metadata for systemd agent names that end in '@'
97a979
- Use correct OCF 1.1 syntax in ocf:pacemaker:Stateful meta-data
97a979
- Fix regression in displayed times in crm_mon's fence history
97a979
- Resolves: rhbz2032031
97a979
- Resolves: rhbz2032032
97a979
- Resolves: rhbz2031765
97a979
97a979
* Tue Nov 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.2-1
97a979
- Rebase on upstream 2.1.2
97a979
- Resolves: rhbz2011974
97a979
97a979
* Fri Aug 20 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-11
97a979
- Fix XML issue with fence_watchdog meta-data
97a979
- Resolves: rhbz1988568
97a979
97a979
* Thu Aug 12 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-10
97a979
- Fix minor issue with crm_resource error message change
97a979
- Resolves: rhbz1983196
97a979
97a979
* Wed Aug 11 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-9
97a979
- Fix watchdog agent version information
97a979
- Ensure transient attributes are cleared when multiple nodes are lost
97a979
- Resolves: rhbz1988568
97a979
- Resolves: rhbz1989292
97a979
97a979
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.0-7.1
97a979
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
97a979
  Related: rhbz#1991688
97a979
97a979
* Fri Aug 06 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-7
97a979
- Allow configuring specific nodes to use watchdog-only sbd for fencing
97a979
- Resolves: rhbz1988568
97a979
97a979
* Fri Jul 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-6
97a979
- Avoid selecting wrong device when dynamic-list fencing is used with host map
97a979
- Show better error messages in crm_resource with invalid resource types
97a979
- Do not schedule probes of unmanaged resources on pending nodes
36923b
- Fix argument handling regressions in crm_attribute and wrappers
97a979
- Resolves: rhbz1978013
97a979
- Resolves: rhbz1983196
97a979
- Resolves: rhbz1983197
97a979
- Resolves: rhbz1984130
97a979
97a979
* Wed Jun 30 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-5
97a979
- crm_resource now supports XML output from resource agent actions
97a979
- Correct output for crm_simulate --show-failcounts
97a979
- Avoid remote node unfencing loop
97a979
- Resolves: rhbz1975380
97a979
- Resolves: rhbz1975386
97a979
- Resolves: rhbz1975388
97a979
97a979
* Thu Jun 10 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-4
97a979
- Rebase on upstream 2.1.0 final release
97a979
- Resolves: rhbz1936023
97a979
97a979
* Tue Jun 1 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-3
97a979
- Rebase on upstream 2.1.0-rc3 release
97a979
- Resolves: rhbz1936023
97a979
97a979
* Wed May 26 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-2
97a979
- Include recent post-rc2 fixes with rebase
97a979
- Resolves: rhbz1936023
97a979
97a979
* Wed May 12 2021 Ken Gaillot <kgaillot@redhat.com> - 2.1.0-1
97a979
- Default resource-stickiness to 1 in newly created clusters
97a979
- Rebase on upstream 2.1.0-rc2 release
97a979
- Resolves: rhbz1850145
97a979
- Resolves: rhbz1936023
97a979
97a979
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.5-10.2
97a979
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
97a979
97a979
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-10.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
97a979
97a979
* Mon Dec 7 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-10
97a979
- Conflicts of doc package introduced to fix upgrade/downgrade
97a979
  issues needs to be independent from arch
97a979
97a979
* Fri Dec 4 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-9
97a979
- Make doc-package conflict with wrong version of libs
97a979
  to fix upgrade/downgrade issues
97a979
97a979
* Fri Dec 4 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-8
97a979
- Update for new upstream release tarball: Pacemaker-2.0.5
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.5
97a979
97a979
* Wed Nov 18 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.7.rc3
97a979
- a little more syncing with upstream spec-file
97a979
97a979
* Tue Nov 17 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.6.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.5-rc3
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.5-rc3
97a979
- Corosync in Fedora now provides corosync-devel as well in isa-flavor
97a979
97a979
* Sun Nov 1 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.5.rc2
97a979
- remove no more working dist.rpmdeplint from gating
97a979
97a979
* Fri Oct 30 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.4.rc2
97a979
- never use spec-variables in changelog
97a979
- replace dist.depcheck by dist.rpmdeplint
97a979
- do gate stable as well to be effective on rawhide
97a979
97a979
* Fri Oct 30 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.3.rc2
97a979
- revert dependency corosync-devel back to corosynclib-devel as long
97a979
  as corosynclib-devel-package doesn't provide corosync-devel(isa)
97a979
  we would need for pacemaker-libs-devel to require
97a979
- enable some basic gating-tests
97a979
- re-add building documentation using publican to everything but ELN
97a979
- rename doc-dir for ELN
97a979
97a979
* Wed Oct 28 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.2.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.5-rc2,
97a979
  includes fix for CVE-2020-25654
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.5-rc2
97a979
97a979
* Thu Oct 22 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.1.rc1
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.5-rc1,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.5-rc1
97a979
- Disable building of documentation - as not to pull in publican
97a979
- Remove dependencies to nagios-plugins from metadata-package
97a979
- some sync with structure of upstream spec-file
97a979
- removed some legacy conditionals
97a979
- added with-cibsecrets
97a979
97a979
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-1.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
97a979
97a979
* Tue Jun 16 2020 Chris Lumens <clumens@redhat.com> - 2.0.4-1
97a979
- Update for new upstream tarball: Pacemaker-2.0.4
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.4
97a979
97a979
* Thu Jun 04 2020 Chris Lumens <clumens@redhat.com> - 2.0.4-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.4-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.4-rc3
97a979
97a979
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.4-0.2.rc1.1
97a979
- Rebuilt for Python 3.9
97a979
97a979
* Wed May 13 2020 Chris Lumens <clumens@redhat.com> - 2.0.4-0.2.rc1
97a979
- Rebuilt for libqb 2.0.
97a979
97a979
* Mon May 04 2020 Chris Lumens <clumens@redhat.com> - 2.0.4-0.1.rc1
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.4-rc1,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.4-rc1
97a979
97a979
* Fri Mar 06 2020 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.3-4
97a979
- return back to building also for s390x architecture, previous obstacle
97a979
  was identified and interim fix (way to build along with one actual bugfix
97a979
  as raised along) applied (RHBZ#1799842)
97a979
97a979
* Wed Mar 04 2020 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.3-3
97a979
- include upstream fix for buildability with GCC 10 (PR #1968)
97a979
- omit s390x architecture for now, compilation would fail at this time
97a979
97a979
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
97a979
97a979
* Tue Nov 26 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.3-1
97a979
- Update for new upstream tarball: Pacemaker-2.0.3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.3
97a979
  (functionally identical to 2.0.3-rc3, new build mostly to fix a memory
97a979
  leak & allow for easy glibc ~2.31+ friendly switch away from ftime(3))
97a979
- Fix unability to build with Inkscape 1.0 beta (and possibly beyond)
97a979
97a979
* Thu Nov 14 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.3-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.3-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.3-rc3
97a979
- Fix failure to build due to using obsolete ftime(3)
97a979
97a979
* Wed Nov 06 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.3-0.1.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.3-rc2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.3-rc2
97a979
97a979
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-1.3
97a979
- Rebuilt for Python 3.8.0rc1 (#1748018)
97a979
97a979
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-1.2
97a979
- Rebuilt for Python 3.8
97a979
97a979
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-1.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
97a979
97a979
* Fri Jun 07 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.2-1
97a979
- Update for new upstream tarball: Pacemaker-2.0.2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.2
97a979
  (functionally identical to 2.0.2-rc3, new build mostly to match expectations)
97a979
97a979
* Fri May 31 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.2-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.2-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.2-rc3
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . /usr/share/pacemaker now owned by -schemas, its "api" subdirectory
97a979
    is not carried redundantly in -cli anymore (f05eb7eec)
97a979
97a979
* Tue May 28 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.2-0.1.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.2-rc2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.2-rc2
97a979
97a979
* Thu Apr 25 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.2-0.1.rc1
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.2-rc1,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.2-rc1
97a979
- Customize (as allowed now) exhibited downstream-specific bug reporting URL
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . sbd ABI compatible version enforcement (37ad2bea1)
97a979
97a979
* Wed Apr 17 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.1-2
97a979
- Apply fixes for security issues:
97a979
  . CVE-2019-3885 (use-after-free with potential information disclosure)
97a979
  . CVE-2018-16877 (insufficient local IPC client-server authentication)
97a979
  . CVE-2018-16878 (insufficient verification inflicted preference of
97a979
                    uncontrolled processes)
97a979
97a979
* Tue Mar 05 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.1-1
97a979
- Update for new upstream tarball: Pacemaker-2.0.1,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.1
97a979
97a979
* Thu Feb 28 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.1-0.4.rc5
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.1-rc5,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.1-rc5
97a979
- Reflect that cts-scheduler tests are fully compatible with whatever recent
97a979
  glib version that gets to be used in run-time (incl. buildroot tests) again
97a979
97a979
* Mon Feb 04 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.1-0.3.rc4
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.1-rc4,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.1-rc4
97a979
- Conditionally disable "hash affected tests" in cts-scheduler (-cts package),
97a979
  since it is unlikely glib v2.59.0+ present in the buildroot will be
97a979
  artificially downgraded post-deployment
97a979
97a979
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.2.rc3.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
97a979
97a979
* Tue Jan 22 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.1-0.2.rc3
97a979
- Fix buildability with GCC 9 (PR #1681)
97a979
- Apply minor crm_mon XML output fix (PR #1678)
97a979
97a979
* Sun Jan 20 2019 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.1-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.1-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.1-rc3
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . split a dedicated, noarch -schemas package (c6a87bd86)
97a979
  . make static dependencies on inner libraries arch-specific (14bfff68e)
97a979
  . weak co-dependence of -cli with -remote & pacemaker proper (73e2c94a3)
97a979
  . declare bundled gnulib (d57aa84c1)
97a979
- Move stonith_admin to -cli where it belongs, since it doesn't require
97a979
  -cluster-libs (considered by upstream)
97a979
- Apply patches to restore basic buildability (still without much run-time
97a979
  reproducibility guarantees compared to what's been customary prior to glib
97a979
  v2.59.0+ that may now get run-time linked upon its fresh installation/update,
97a979
  but this applies also to whatever older version of pacemaker, and wasn't
97a979
  discovered until now; cf. https://github.com/ClusterLabs/pacemaker/pull/1677)
97a979
97a979
* Thu Aug 23 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-4
97a979
- Sanitize/generalize approach to Python byte-compilation, so that also
97a979
  out-of-Python-path *.py files (%%{_datadir}/pacemaker/tests/cts/CTSlab.py
97a979
  in particular) get the expected treatment now
97a979
97a979
* Wed Aug 15 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-3
97a979
- Fix Python 3.7 incompatibility (otherwise missed in bytecompilation phase,
97a979
  see rhbz#1616219)
97a979
97a979
* Thu Aug 09 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-2
97a979
- Include fix for "cibadmin --upgrade" related issues (rhbz#1611631)
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . assuredly skip servicelog-related binaries even when build-time
97a979
    prerequisites are present on suitable systems (9f24448d8)
97a979
97a979
* Mon Jul 09 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-1
97a979
- Update for new upstream tarball: Pacemaker-2.0.0,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0
97a979
97a979
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-0.1.rc6.1
97a979
- Rebuilt for Python 3.7
97a979
97a979
* Thu Jun 28 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-0.1.rc6
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.0-rc6,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc6
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . new procps-ng and psmisc dependencies with -cli and -cts, for e.g.
97a979
    "ps/sysctl/uptime" and "killall" invocations, respectively (a4ad8183a)
97a979
  . move crm_node to -cli (a94a1ed58)
97a979
97a979
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-0.1.rc5.1
97a979
- Rebuilt for Python 3.7
97a979
97a979
* Fri Jun 01 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-0.1.rc5
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.0-rc5,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc5
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . new coreutils dependency for "post" scriptlet of -cli,
97a979
    for "mv" invocation (c2b16165d)
97a979
97a979
* Wed May 16 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-0.1.rc4
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.0-rc4,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc4
97a979
  . as a special note, previous release candidate, rc3, had rolling upgrades
97a979
    broken, and if that is required, that particular release shall be
97a979
    skipped in the upgrade path altogether
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . as part of the update process, possibly move old log files as implicitly
97a979
    used prior to 2.0 so there's a (limited) continuity with the new implicit
97a979
    location, preventing clutter and confusion (ce2e74c99, c2b16165d)
97a979
  . move cts-exec-helper from -cli under main package (a2dc2a67e)
97a979
  . -cts backed with new helpers and, tangentially, dummy systemd service
97a979
    file transiently generated on-demand again (fa2d43445, d52b001b1)
97a979
97a979
* Wed May 02 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.0-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc3
97a979
  . IMPORTANT: this release candidate, rc3, has rolling upgrades broken,
97a979
               and if that is required, this particular release shall be
97a979
               skipped in the upgrade path altogether
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . new --without legacy_links conditional (c8a7e5225)
97a979
  . reflect name change of the auxiliary daemons
97a979
    (e4f4a0d64, db5536e40, e2fdc2bac + 9ecbfea1c, 038c465e2 + ed8ce4055a)
97a979
  . new dummy systemd service for -cts (bf0a22812)
97a979
  . honor system-wide crypto policies once for all, via package-build-time
97a979
    configurable "pcmk_gnutls_priorities" defaulting to @SYSTEM as prescribed
97a979
    in https://fedoraproject.org/wiki/Packaging:CryptoPolicies
97a979
    (based on b3dfce1d3)
97a979
- Adapt spec file akin to current packaging guidelines including:
97a979
  . make -nagios-plugins-metadata package noarch
97a979
97a979
* Mon Apr 09 2018 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 2.0.0-0.1.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-2.0.0-rc2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.0-rc2
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . out-of-tree change from 1.1.18-2 build got subsumed (508ad52e7)
97a979
  . %%{_sysconfdir}/pacemaker path got properly owned
97a979
    (-cli package; f6e3ab98d)
97a979
  . -libs package started to properly declare Requires(pre): shadow-utils
97a979
    (293fcc1e8 + b3d49d210)
97a979
  . some build conditionals and dependencies dropped for no longer
97a979
    (snmp, esmtp; f24bdc6f2 and 1f7374884, respectively) or never
97a979
    being relevant (~bison, byacc, flex; 61aef8af4)
97a979
  . some dependencies were constrained with new or higher lower bounds:
97a979
    corosync needs to be of version 2+ unconditionally (ccd58fe29),
97a979
    ditto some others components (~GLib, 1ac2e7cbb), plus both 2 and 3
97a979
    versions of Python are now (comprehensively for the auxiliary
97a979
    functionality where used) supported upstream with the latter being
97a979
    a better fit (453355f8f)
97a979
  . package descriptions got to reflect the drop of legacy low-level
97a979
    cluster infrastructures (55ab749bf)
97a979
- Adapt spec file akin to current packaging guidelines including:
97a979
  . drop some redundant/futile expressions (defattr, "-n %%{name}-libs"
97a979
    instead of plain "libs", "timezone hack"), add some notes for future
97a979
  . make -cts and -doc packages noarch (former enabled with 088a5e7d4)
97a979
  . simplify "systemd_requires" macro invocation, and relax it to
97a979
    "systemd_ordering" for -remote package where possible so as not
97a979
    to drag systemd into a lightweight system setup (e.g. container)
97a979
    needlessly
97a979
  . adjust, in a compatible way, common ldconfig invocation with
97a979
    post{,un} scriptlets
97a979
    (https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets)
97a979
  . drop some more unuseful conditionals (upstart_job)
97a979
- Apply some regression fixes on top as patches (PR #1457, #1459)
97a979
97a979
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.18-2.2
97a979
- Update Python 2 dependency declarations to new packaging standards
97a979
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
97a979
97a979
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.18-2.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
97a979
97a979
* Thu Nov 16 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.18-2
97a979
- Make sure neither of pacemaker{,_remoted} is process-limited
97a979
97a979
* Wed Nov 15 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.18-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.18,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.18
97a979
- Make -libs-devel package dependencies arch-qualified
97a979
  (-cts hasn't been switched at this time, pending further cleanup)
97a979
97a979
* Fri Nov 03 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.18-0.1.rc4
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.18-rc4,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.18-rc4
97a979
97a979
* Thu Oct 26 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.18-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.18-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.18-rc3
97a979
97a979
* Mon Oct 16 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.18-0.1.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.18-rc2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.18-rc2
97a979
- Fix check scriptlet so as to work properly also with rpm<4.14 (not strictly
97a979
  required since: https://github.com/rpm-software-management/rpm/pull/249,
97a979
  but pragmatically follow the upstream)
97a979
97a979
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-1.2
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
97a979
97a979
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.17-1.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
97a979
97a979
* Fri Jul 07 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.17,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17
97a979
97a979
* Thu Jun 22 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc4
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc4,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc4
97a979
- Add an imposed lower bound for glib2 BuildRequires
97a979
97a979
* Thu Jun 01 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc3
97a979
97a979
* Wed May 24 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc2
97a979
97a979
* Tue May 09 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.17-0.1.rc1
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.17-rc1,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.17-rc1
97a979
97a979
* Mon Feb 06 2017 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.16-2.a39ea6491.git
97a979
- Update for (slightly stabilized) snapshot beyond Pacemaker-1.1.16
97a979
  (commit a39ea6491), including:
97a979
  . prevent FTBFS with new GCC 7 (a7476dd96)
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . better pre-release vs. tags logic (4581d4366)
97a979
97a979
* Fri Dec 02 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.16-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.16,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.16
97a979
- Adapt spec file more akin to upstream version including:
97a979
  . clarify licensing, especially for -doc (f01f734)
97a979
  . fix pacemaker-remote upgrade (779e0e3)
97a979
  . require python >= 2.6 (31ef7f0)
97a979
  . older libqb is sufficient (based on 30fe1ce)
97a979
  . remove openssl-devel and libselinux-devel as BRs (2e05c17)
97a979
  . make systemd BR pkgconfig-driven (6285924)
97a979
  . defines instead of some globals + error suppression (625d427)
97a979
- Rectify -nagios-plugins-metadata declared license and install
97a979
  also respective license text
97a979
97a979
* Thu Nov 03 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-3
97a979
- Apply fix for CVE-2016-7035 (improper IPC guarding)
97a979
97a979
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.15-2.1
97a979
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
97a979
97a979
* Thu Jul 07 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-2
97a979
- Stop building with -fstack-protector-all using the upstream patches
97a979
  overhauling toolchain hardening (Fedora natively uses
97a979
  -fstack-protector-strong so this effectively relaxed stack protection
97a979
  is the only effect as hardened flags are already used by default:
97a979
  https://fedoraproject.org/wiki/Changes/Harden_All_Packages)
97a979
97a979
* Wed Jun 22 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.15,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15
97a979
- Adapt spec file more akin to upstream version:
97a979
  . move xml schema files + PCMK-MIB.txt (81ef956), logrotate configuration
97a979
    file (ce576cf; drop it from -remote package as well), attrd_updater
97a979
    (aff80ae), the normal resource agents (1fc7287), and common directories
97a979
    under /var/lib/pacemaker (3492794) from main package under -cli
97a979
  . simplify docdir build parameter passing and drop as of now
97a979
    redundant chmod invocations (e91769e)
97a979
97a979
* Fri May 27 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc3
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc3,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc3
97a979
- Drop fence_pcmk (incl. man page) from the package (no use where no CMAN)
97a979
- Drop license macro emulation for cases when not supported natively
97a979
  (several recent Fedora releases do not need that)
97a979
97a979
* Mon May 16 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc2
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc2,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc2
97a979
97a979
* Tue Apr 26 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.15-0.1.rc1
97a979
- Update for new upstream tarball for release candidate: Pacemaker-1.1.15-rc1,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15-rc1
97a979
- Adapt spec file more akin to upstream version (also to reflect recent
97a979
  changes like ability to built explicitly without Publican-based docs)
97a979
97a979
* Thu Mar 31 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.14-2.5a6cdd1.git
97a979
- Update for currently stabilized snapshot beyond Pacemaker-1.1.14
97a979
  (commit 5a6cdd1), but restore old-style notifications to the state at
97a979
  Pacemaker-1.1.14 point release (disabled)
97a979
- Definitely get rid of Corosync v1 (Flatiron) hypothetical support
97a979
- Remove some of the spec file cruft, not required for years
97a979
  (BuildRoot, AutoReqProv, "clean" scriptlet, etc.) and adapt the file
97a979
  per https://github.com/ClusterLabs/pacemaker/pull/965
97a979
97a979
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.14-1.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
97a979
97a979
* Mon Jan 18 2016 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.14-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.14,
97a979
  for full details, see included ChangeLog file or
97a979
  https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.14
97a979
- Disable Fedora crypto policies conformance patch for now (rhbz#1179335)
97a979
- Better align specfile with the upstream version (also fix issue with
97a979
  crm_mon sysconfig file not being installed)
97a979
- Further specfile modifications:
97a979
  - drop unused gcc-c++ and repeatedly mentioned pkgconfig packages
97a979
    from BuildRequires
97a979
  - refer to python_sitearch macro first, if defined
97a979
  - tolerate license macro not being defined (e.g., for EPEL rebuilds)
97a979
- Prevent console mode not available in crm_mon due to curses library test
97a979
  fragility of configure script in hardened build environment (rhbz#1297985)
97a979
97a979
* Tue Oct 20 2015 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.13-4
97a979
- Adapt to follow Fedora crypto policies (rhbz#1179335)
97a979
97a979
* Wed Oct 14 2015 Jan Pokorný <jpokorny+rpm-pacemaker@redhat.com> - 1.1.13-3
97a979
- Update to Pacemaker-1.1.13 post-release + patches (sync)
97a979
- Add nagios-plugins-metadata subpackage enabling support of selected
97a979
  Nagios plugins as resources recognized by Pacemaker
97a979
- Several specfile improvements: drop irrelevant stuff, rehash the
97a979
  included/excluded files + dependencies, add check scriptlet,
97a979
  reflect current packaging practice, do minor cleanups
97a979
  (mostly adopted from another spec)
97a979
97a979
* Thu Aug 20 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-2
97a979
- Update for new upstream tarball: Pacemaker-1.1.13
36923b
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
97a979
97a979
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.12-2.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
97a979
97a979
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-2
97a979
- Address incorrect use of the dbus API for interacting with systemd
97a979
97a979
* Tue Oct 28 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.12+ (a9c8177)
36923b
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
97a979
97a979
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-1.2
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
97a979
97a979
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.11-1.1
97a979
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
97a979
97a979
* Tue Feb 18 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.11-1
97a979
- Update for new upstream tarball: Pacemaker-1.1.11 (9d39a6b)
36923b
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
97a979
97a979
* Thu Jun 20 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-3
97a979
- Update to upstream 7d8acec
36923b
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
97a979
97a979
  + Feature: Turn off auto-respawning of systemd services when the cluster starts them
97a979
  + Fix: crmd: Ensure operations for cleaned up resources don't block recovery
97a979
  + Fix: logging: If SIGTRAP is sent before tracing is turned on, turn it on instead of crashing
97a979
97a979
* Mon Jun 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-2
97a979
- Update for new upstream tarball: 781a388
36923b
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
97a979
97a979
* Wed May 12 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-1
97a979
- Update the tarball from the upstream 1.1.2 release
36923b
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/main/ChangeLog for full details
97a979
97a979
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
97a979
- Initial checkin