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