b75106
Name: pcs
4434d4
Version: 0.11.3
505415
Release: 4%{?dist}.2
b75106
# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
b75106
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
b75106
# GPLv2: pcs
b75106
# ASL 2.0: tornado
b75106
# MIT: backports, dacite, daemons, ethon, mustermann, rack, rack-protection,
b75106
#      rack-test, sinatra, tilt
b75106
# GPLv2 or Ruby: eventmachne
b75106
# (GPLv2 or Ruby) and BSD: thin
4434d4
# BSD or Ruby: open4, ruby2_keywords, webrick
b75106
# BSD and MIT: ffi
b75106
License: GPLv2 and ASL 2.0 and MIT and BSD and (GPLv2 or Ruby) and (BSD or Ruby)
b75106
URL: https://github.com/ClusterLabs/pcs
b75106
Group: System Environment/Base
b75106
Summary: Pacemaker Configuration System
b75106
#building only for architectures with pacemaker and corosync available
b75106
ExclusiveArch: i686 x86_64 s390x ppc64le aarch64
b75106
b75106
%global version_or_commit %{version}
4434d4
# %%global version_or_commit %%{version}.44-9da7
b75106
b75106
%global pcs_source_name %{name}-%{version_or_commit}
b75106
b75106
# ui_commit can be determined by hash, tag or branch
4434d4
%global ui_commit 0.1.14
4434d4
%global ui_modules_version 0.1.14
b75106
%global ui_src_name pcs-web-ui-%{ui_commit}
b75106
b75106
%global pcs_snmp_pkg_name  pcs-snmp
b75106
b75106
%global pyagentx_version   0.4.pcs.2
b75106
%global tornado_version    6.1.0
b75106
%global dacite_version  1.6.0
4434d4
%global version_rubygem_backports  3.23.0
4434d4
%global version_rubygem_daemons  1.4.1
4434d4
%global version_rubygem_ethon  0.15.0
b75106
%global version_rubygem_eventmachine  1.2.7
4434d4
%global version_rubygem_ffi  1.15.5
505415
%global version_rubygem_mustermann  2.0.2
b75106
%global version_rubygem_open4  1.3.4
505415
%global version_rubygem_rack  2.2.6.2
505415
%global version_rubygem_rack_protection  2.2.4
b75106
%global version_rubygem_rack_test  1.1.0
4434d4
%global version_rubygem_ruby2_keywords  0.0.5
505415
%global version_rubygem_sinatra  2.2.4
4434d4
%global version_rubygem_thin  1.8.1
505415
%global version_rubygem_tilt  2.0.11
b75106
%global version_rubygem_webrick  1.7.0
b75106
b75106
%global required_pacemaker_version 2.1.0
b75106
b75106
%global pcs_bundled_dir pcs_bundled
b75106
%global pcsd_public_dir pcsd/public
b75106
%global rubygem_bundle_dir pcsd/vendor/bundle
b75106
%global rubygem_cache_dir %{rubygem_bundle_dir}/cache
b75106
b75106
# mangling shebang in /usr/lib/pcsd/vendor/bundle/ruby/gems/rack-2.0.5/test/cgi/test from /usr/bin/env ruby to #!/usr/bin/ruby
b75106
#*** ERROR: ./usr/lib/pcsd/vendor/bundle/ruby/gems/rack-2.0.5/test/cgi/test.ru has shebang which doesn't start with '/' (../../bin/rackup)
b75106
#mangling shebang in /usr/lib/pcsd/vendor/bundle/ruby/gems/rack-2.0.5/test/cgi/rackup_stub.rb from /usr/bin/env ruby to #!/usr/bin/ruby
b75106
#*** WARNING: ./usr/lib/pcsd/vendor/bundle/ruby/gems/rack-2.0.5/test/cgi/sample_rackup.ru is executable but has empty or no shebang, removing executable bit
b75106
#*** WARNING: ./usr/lib/pcsd/vendor/bundle/ruby/gems/rack-2.0.5/test/cgi/lighttpd.conf is executable but has empty or no shebang, removing executable bit
b75106
#*** ERROR: ambiguous python shebang in /usr/lib/pcsd/vendor/bundle/ruby/gems/ffi-1.9.25/ext/ffi_c/libffi/generate-darwin-source-and-headers.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
b75106
%undefine __brp_mangle_shebangs
b75106
b75106
# https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Python_bytecompilation
b75106
# Enforce python3 because bytecompilation of tornado produced warnings:
b75106
# DEPRECATION WARNING: python2 invoked with /usr/bin/python.
b75106
#    Use /usr/bin/python3 or /usr/bin/python2
b75106
#    /usr/bin/python will be removed or switched to Python 3 in the future.
b75106
%global __python %{__python3}
b75106
b75106
Source0: %{url}/archive/%{version_or_commit}/%{pcs_source_name}.tar.gz
b75106
b75106
Source41: https://github.com/ondrejmular/pyagentx/archive/v%{pyagentx_version}/pyagentx-%{pyagentx_version}.tar.gz
b75106
Source42: https://github.com/tornadoweb/tornado/archive/v%{tornado_version}/tornado-%{tornado_version}.tar.gz
b75106
Source44: https://github.com/konradhalas/dacite/archive/v%{dacite_version}/dacite-%{dacite_version}.tar.gz
b75106
b75106
Source81: https://rubygems.org/downloads/backports-%{version_rubygem_backports}.gem
b75106
Source82: https://rubygems.org/downloads/ethon-%{version_rubygem_ethon}.gem
b75106
Source83: https://rubygems.org/downloads/ffi-%{version_rubygem_ffi}.gem
b75106
Source86: https://rubygems.org/downloads/mustermann-%{version_rubygem_mustermann}.gem
b75106
# We needed to re-upload open4 rubygem because of issues with sources in gating.
b75106
# Unfortunately, there was no newer version available, therefore we had to
b75106
# change its 'version' ourselves.
b75106
Source87: https://rubygems.org/downloads/open4-%{version_rubygem_open4}.gem#/open4-%{version_rubygem_open4}-1.gem
b75106
Source88: https://rubygems.org/downloads/rack-%{version_rubygem_rack}.gem
b75106
Source89: https://rubygems.org/downloads/rack-protection-%{version_rubygem_rack_protection}.gem
b75106
Source90: https://rubygems.org/downloads/rack-test-%{version_rubygem_rack_test}.gem
b75106
Source91: https://rubygems.org/downloads/sinatra-%{version_rubygem_sinatra}.gem
b75106
Source92: https://rubygems.org/downloads/tilt-%{version_rubygem_tilt}.gem
b75106
Source93: https://rubygems.org/downloads/eventmachine-%{version_rubygem_eventmachine}.gem
b75106
Source94: https://rubygems.org/downloads/daemons-%{version_rubygem_daemons}.gem
b75106
Source95: https://rubygems.org/downloads/thin-%{version_rubygem_thin}.gem
b75106
Source96: https://rubygems.org/downloads/ruby2_keywords-%{version_rubygem_ruby2_keywords}.gem
b75106
Source97: https://rubygems.org/downloads/webrick-%{version_rubygem_webrick}.gem
b75106
b75106
Source100: https://github.com/ClusterLabs/pcs-web-ui/archive/%{ui_commit}/%{ui_src_name}.tar.gz
b75106
Source101: https://github.com/ClusterLabs/pcs-web-ui/releases/download/%{ui_commit}/pcs-web-ui-node-modules-%{ui_modules_version}.tar.xz
b75106
b75106
# Patches from upstream.
b75106
# They should come before downstream patches to avoid unnecessary conflicts.
b75106
# Z-streams are exception here: they can come from upstream but should be
b75106
# applied at the end to keep z-stream changes as straightforward as possible.
b75106
# Patch1: bzNUMBER-01-name.patch
b75106
b75106
# Downstream patches do not come from upstream. They adapt pcs for specific
b75106
# RHEL needs.
b75106
b75106
# pcs patches: <= 200
b75106
Patch1: do-not-support-cluster-setup-with-udp-u-transport.patch
4434d4
Patch2: bz2102663-01-fix-pcs-resource-restart-traceback.patch
4434d4
Patch3: bz2058243-01-code-formatting.patch
4434d4
Patch4: bz2058243-02-make-booth-ticket-mode-value-case-insensitive.patch
4434d4
Patch5: bz2026725-01-booth-sync-check-whether-etc-booth-exists.patch
4434d4
Patch6: bz2116841-01-fix-ruby-socket-permissions.patch
a58e1c
Patch7: bz2151575-01-fix-displaying-bool-and-integer-values.patch
b75106
b75106
# ui patches: >200
b75106
# Patch201: bzNUMBER-01-name.patch
b75106
b75106
# git for patches
b75106
BuildRequires: git-core
b75106
#printf from coreutils is used in makefile
b75106
BuildRequires: coreutils
b75106
# python for pcs
b75106
BuildRequires: python3 >= 3.9
b75106
BuildRequires: python3-cryptography
b75106
BuildRequires: python3-dateutil >= 2.7.0
b75106
BuildRequires: python3-devel
b75106
BuildRequires: python3-setuptools
b75106
BuildRequires: python3-pycurl
b75106
BuildRequires: python3-pip
b75106
BuildRequires: python3-pyparsing
b75106
BuildRequires: python3-cryptography
b75106
BuildRequires: python3-lxml
b75106
# for building bundled python packages
b75106
BuildRequires: python3-wheel
b75106
# for bundled python dateutil
b75106
BuildRequires: python3-setuptools_scm
b75106
# gcc for compiling custom rubygems
b75106
BuildRequires: gcc
b75106
BuildRequires: gcc-c++
b75106
# ruby and gems for pcsd
b75106
BuildRequires: ruby >= 2.5
b75106
BuildRequires: ruby-devel
b75106
BuildRequires: rubygems
b75106
BuildRequires: rubygem-bundler
b75106
BuildRequires: rubygem-json
4434d4
BuildRequires: rubygem-rexml
4434d4
# ruby libraries for tests
b75106
BuildRequires: rubygem-test-unit
b75106
# for touching patch files (sanitization function)
b75106
BuildRequires: diffstat
b75106
# for post, preun and postun macros
b75106
BuildRequires: systemd
b75106
BuildRequires: make
b75106
# Red Hat logo for creating symlink of favicon
b75106
BuildRequires: redhat-logos
b75106
# for building web ui
b75106
BuildRequires: npm
b75106
# cluster stack packages for pkg-config
b75106
BuildRequires: booth
b75106
BuildRequires: corosync-qdevice-devel
b75106
BuildRequires: corosynclib-devel >= 3.0
b75106
BuildRequires: fence-agents-common
b75106
BuildRequires: pacemaker-libs-devel >= %{required_pacemaker_version}
b75106
BuildRequires: resource-agents
b75106
BuildRequires: sbd
b75106
b75106
# python and libraries for pcs, setuptools for pcs entrypoint
b75106
Requires: python3 >= 3.9
b75106
Requires: python3-cryptography
b75106
Requires: python3-dateutil >= 2.7.0
b75106
Requires: python3-lxml
b75106
Requires: python3-setuptools
b75106
Requires: python3-pycurl
b75106
Requires: python3-pyparsing
b75106
Requires: python3-cryptography
b75106
# ruby and gems for pcsd
b75106
Requires: ruby >= 2.5
b75106
Requires: rubygems
b75106
Requires: rubygem-json
4434d4
Requires: rubygem-rexml
b75106
# for killall
b75106
Requires: psmisc
b75106
# cluster stack and related packages
b75106
Requires: pcmk-cluster-manager >= %{required_pacemaker_version}
b75106
Suggests: pacemaker >= %{required_pacemaker_version}
b75106
Requires: (corosync >= 3.0 if pacemaker)
b75106
# pcs enables corosync encryption by default so we require libknet1-plugins-all
b75106
Requires: (libknet1-plugins-all if corosync)
b75106
Requires: pacemaker-cli >= %{required_pacemaker_version}
b75106
# for post, preun and postun macros
b75106
Requires(post): systemd
b75106
Requires(preun): systemd
b75106
Requires(postun): systemd
b75106
# pam is used for authentication inside daemon (python ctypes)
b75106
# more details: https://bugzilla.redhat.com/show_bug.cgi?id=1717113
b75106
Requires: pam
b75106
# favicon Red Hat logo
b75106
Requires: redhat-logos
b75106
# needs logrotate for /etc/logrotate.d/pcsd
b75106
Requires: logrotate
b75106
b75106
Provides: bundled(tornado) = %{tornado_version}
b75106
Provides: bundled(dacite) = %{dacite_version}
b75106
Provides: bundled(backports) = %{version_rubygem_backports}
b75106
Provides: bundled(daemons) = %{version_rubygem_daemons}
b75106
Provides: bundled(ethon) = %{version_rubygem_ethon}
b75106
Provides: bundled(eventmachine) = %{version_rubygem_eventmachine}
b75106
Provides: bundled(ffi) = %{version_rubygem_ffi}
b75106
Provides: bundled(mustermann) = %{version_rubygem_mustermann}
b75106
Provides: bundled(open4) = %{version_rubygem_open4}
b75106
Provides: bundled(rack) = %{version_rubygem_rack}
b75106
Provides: bundled(rack_protection) = %{version_rubygem_rack_protection}
b75106
Provides: bundled(rack_test) = %{version_rubygem_rack_test}
b75106
Provides: bundled(ruby2_keywords) = %{version_rubygem_ruby2_keywords}
b75106
Provides: bundled(sinatra) = %{version_rubygem_sinatra}
b75106
Provides: bundled(thin) = %{version_rubygem_thin}
b75106
Provides: bundled(tilt) = %{version_rubygem_tilt}
b75106
Provides: bundled(webrick) = %{version_rubygem_webrick}
b75106
b75106
%description
b75106
pcs is a corosync and pacemaker configuration tool.  It permits users to
b75106
easily view, modify and create pacemaker based clusters.
b75106
b75106
# pcs-snmp package definition
b75106
%package -n %{pcs_snmp_pkg_name}
b75106
Group: System Environment/Base
b75106
Summary: Pacemaker cluster SNMP agent
b75106
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
b75106
# GPLv2: pcs
b75106
# BSD-2-Clause: pyagentx
b75106
License: GPLv2 and BSD-2-Clause
b75106
URL: https://github.com/ClusterLabs/pcs
b75106
b75106
# tar for unpacking pyagetx source tar ball
b75106
BuildRequires: tar
b75106
b75106
Requires: pcs = %{version}-%{release}
b75106
Requires: pacemaker
b75106
Requires: net-snmp
b75106
b75106
Provides: bundled(pyagentx) = %{pyagentx_version}
b75106
b75106
%description -n %{pcs_snmp_pkg_name}
b75106
SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)
b75106
b75106
%prep
b75106
# -- following is inspired by python-simplejon.el5 --
b75106
# Update timestamps on the files touched by a patch, to avoid non-equal
b75106
# .pyc/.pyo files across the multilib peers within a build
b75106
b75106
update_times(){
b75106
  # update_times <reference_file> <file_to_touch> ...
b75106
  # set the access and modification times of each file_to_touch to the times
b75106
  # of reference_file
b75106
b75106
  # put all args to file_list
b75106
  file_list=("$@")
b75106
  # first argument is reference_file: so take it and remove from file_list
b75106
  reference_file=${file_list[0]}
b75106
  unset file_list[0]
b75106
b75106
  for fname in ${file_list[@]}; do
b75106
    # some files could be deleted by a patch therefore we test file for
b75106
    # existance before touch to avoid exit with error: No such file or
b75106
    # directory
b75106
    # diffstat cannot create list of files without deleted files
b75106
    test -e $fname && touch -r $reference_file $fname
b75106
  done
b75106
}
b75106
b75106
update_times_patch(){
b75106
  # update_times_patch <patch_file_name>
b75106
  # set the access and modification times of each file in patch to the times
b75106
  # of patch_file_name
b75106
b75106
  patch_file_name=$1
b75106
b75106
  # diffstat
b75106
  # -l lists only the filenames. No histogram is generated.
b75106
  # -p override the logic that strips common pathnames,
b75106
  #    simulating the patch "-p" option. (Strip the smallest prefix containing
b75106
  #    num leading slashes from each file name found in the patch file)
b75106
  update_times ${patch_file_name} `diffstat -p1 -l ${patch_file_name}`
b75106
}
b75106
b75106
# documentation for setup/autosetup/autopatch:
b75106
#   * http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
b75106
#   * https://rpm-software-management.github.io/rpm/manual/autosetup.html
b75106
# patch web-ui sources
b75106
%autosetup -D -T -b 100 -a 101 -S git -n %{ui_src_name} -N
b75106
%autopatch -p1 -m 201
b75106
# update_times_patch %%{PATCH201}
b75106
b75106
# patch pcs sources
b75106
%autosetup -S git -n %{pcs_source_name} -N
b75106
%autopatch -p1 -M 200
b75106
update_times_patch %{PATCH1}
b75106
update_times_patch %{PATCH2}
b75106
update_times_patch %{PATCH3}
b75106
update_times_patch %{PATCH4}
b75106
update_times_patch %{PATCH5}
b75106
update_times_patch %{PATCH6}
a58e1c
update_times_patch %{PATCH7}
b75106
b75106
# prepare dirs/files necessary for building all bundles
b75106
# -----------------------------------------------------
b75106
# 1) rubygems sources
b75106
b75106
mkdir -p %{rubygem_cache_dir}
b75106
cp -f %SOURCE81 %{rubygem_cache_dir}
b75106
cp -f %SOURCE82 %{rubygem_cache_dir}
b75106
cp -f %SOURCE83 %{rubygem_cache_dir}
b75106
cp -f %SOURCE86 %{rubygem_cache_dir}
b75106
# For reason why we are renaming open4 rubygem, see comment of source
b75106
# definition above.
b75106
cp -f %SOURCE87 %{rubygem_cache_dir}/open4-%{version_rubygem_open4}.gem
b75106
cp -f %SOURCE88 %{rubygem_cache_dir}
b75106
cp -f %SOURCE89 %{rubygem_cache_dir}
b75106
cp -f %SOURCE90 %{rubygem_cache_dir}
b75106
cp -f %SOURCE91 %{rubygem_cache_dir}
b75106
cp -f %SOURCE92 %{rubygem_cache_dir}
b75106
cp -f %SOURCE93 %{rubygem_cache_dir}
b75106
cp -f %SOURCE94 %{rubygem_cache_dir}
b75106
cp -f %SOURCE95 %{rubygem_cache_dir}
b75106
cp -f %SOURCE96 %{rubygem_cache_dir}
b75106
cp -f %SOURCE97 %{rubygem_cache_dir}
b75106
b75106
b75106
# 2) prepare python bundles
b75106
mkdir -p %{pcs_bundled_dir}/src
b75106
cp -f %SOURCE41 rpm/
b75106
cp -f %SOURCE42 rpm/
b75106
cp -f %SOURCE44 rpm/
b75106
b75106
%build
b75106
%define debug_package %{nil}
b75106
b75106
./autogen.sh
b75106
%{configure} --enable-local-build --enable-use-local-cache-only --enable-individual-bundling PYTHON=%{__python3} ruby_CFLAGS="%{optflags}" ruby_LIBS="%{build_ldflags}"
b75106
make all
b75106
b75106
# build pcs-web-ui
b75106
make -C %{_builddir}/%{ui_src_name} build BUILD_USE_EXISTING_NODE_MODULES=true
b75106
b75106
%install
b75106
rm -rf $RPM_BUILD_ROOT
b75106
pwd
b75106
b75106
%make_install
b75106
b75106
# install pcs-web-ui
b75106
cp -r %{_builddir}/%{ui_src_name}/build  ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/ui
b75106
b75106
# symlink favicon into pcsd directories
b75106
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/images/
b75106
ln -fs /etc/favicon.png ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/images/favicon.png
b75106
b75106
# prepare license files
505415
# some rubygems do not have a license file (thin)
b75106
mv %{rubygem_bundle_dir}/gems/backports-%{version_rubygem_backports}/LICENSE.txt backports_LICENSE.txt
b75106
mv %{rubygem_bundle_dir}/gems/daemons-%{version_rubygem_daemons}/LICENSE daemons_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/ethon-%{version_rubygem_ethon}/LICENSE ethon_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/eventmachine-%{version_rubygem_eventmachine}/LICENSE eventmachine_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/eventmachine-%{version_rubygem_eventmachine}/GNU eventmachine_GNU
b75106
mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/COPYING ffi_COPYING
b75106
mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/LICENSE ffi_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/LICENSE.SPECS ffi_LICENSE.SPECS
b75106
mv %{rubygem_bundle_dir}/gems/mustermann-%{version_rubygem_mustermann}/LICENSE mustermann_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/open4-%{version_rubygem_open4}/LICENSE open4_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/rack-%{version_rubygem_rack}/MIT-LICENSE rack_MIT-LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/rack-protection-%{version_rubygem_rack_protection}/License rack-protection_License
b75106
mv %{rubygem_bundle_dir}/gems/rack-test-%{version_rubygem_rack_test}/MIT-LICENSE.txt rack-test_MIT-LICENSE.txt
505415
mv %{rubygem_bundle_dir}/gems/ruby2_keywords-%{version_rubygem_ruby2_keywords}/LICENSE ruby2_keywords_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/sinatra-%{version_rubygem_sinatra}/LICENSE sinatra_LICENSE
b75106
mv %{rubygem_bundle_dir}/gems/tilt-%{version_rubygem_tilt}/COPYING tilt_COPYING
b75106
mv %{rubygem_bundle_dir}/gems/webrick-%{version_rubygem_webrick}/LICENSE.txt webrick_LICENSE.txt
b75106
b75106
cp %{pcs_bundled_dir}/src/pyagentx-*/LICENSE.txt pyagentx_LICENSE.txt
b75106
cp %{pcs_bundled_dir}/src/pyagentx-*/CONTRIBUTORS.txt pyagentx_CONTRIBUTORS.txt
b75106
cp %{pcs_bundled_dir}/src/pyagentx-*/README.md pyagentx_README.md
b75106
b75106
cp %{pcs_bundled_dir}/src/tornado-*/LICENSE tornado_LICENSE
b75106
cp %{pcs_bundled_dir}/src/tornado-*/README.rst tornado_README.rst
b75106
b75106
cp %{pcs_bundled_dir}/src/dacite-*/LICENSE dacite_LICENSE
b75106
cp %{pcs_bundled_dir}/src/dacite-*/README.md dacite_README.md
b75106
b75106
# We are not building debug package for pcs but we need to add MiniDebuginfo
b75106
# to the bundled shared libraries from rubygem extensions in order to satisfy
b75106
# rpmdiff's binary stripping checker.
b75106
# Therefore we call find-debuginfo.sh script manually in order to strip
b75106
# binaries and add MiniDebugInfo with .gnu_debugdata section
b75106
/usr/lib/rpm/find-debuginfo.sh -j2 -m -i -S debugsourcefiles.list
b75106
# find-debuginfo.sh generated some files into /usr/lib/debug  and
b75106
# /usr/src/debug/ that we don't want in the package
b75106
rm -rf $RPM_BUILD_ROOT%{_libdir}/debug
b75106
rm -rf $RPM_BUILD_ROOT/usr/lib/debug
b75106
rm -rf $RPM_BUILD_ROOT%{_prefix}/src/debug
b75106
b75106
# We can remove files required for gem compilation
b75106
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/eventmachine-%{version_rubygem_eventmachine}/ext
b75106
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/ext
b75106
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/thin-%{version_rubygem_thin}/ext
b75106
b75106
%check
b75106
# In the building environment LC_CTYPE is set to C which causes tests to fail
b75106
# due to python prints a warning about it to stderr. The following environment
b75106
# variable disables the warning.
b75106
# On the live system either UTF8 locale is set or the warning is emmited
b75106
# which breaks pcs. That is the correct behavior since with wrong locales it
b75106
# would be probably broken anyway.
b75106
# The main concern here is to make the tests pass.
b75106
# See https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale for details.
b75106
export PYTHONCOERCECLOCALE=0
b75106
b75106
run_all_tests(){
b75106
  #run pcs tests
b75106
b75106
  # disabled tests:
b75106
  #
b75106
  # pcs_test.tier0.lib.commands.test_resource_agent.DescribeAgentUtf8.test_describe
b75106
  #   For an unknown reason this test is failing in mock environment and
b75106
  #   passing outside the mock environment.
b75106
  #   TODO: Investigate the issue
b75106
b75106
    %{__python3} pcs_test/suite --tier0 -v --vanilla --all-but \
b75106
    pcs_test.tier0.lib.commands.test_resource_agent.DescribeAgentUtf8.test_describe \
b75106
    pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_get_not_locked \
b75106
    pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_post_not_locked \
b75106
b75106
  test_result_python=$?
b75106
b75106
  #run pcsd tests and remove them
b75106
  GEM_HOME=$RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir} ruby \
b75106
    -I$RPM_BUILD_ROOT%{_libdir}/pcsd \
b75106
    -Ipcsd/test \
b75106
    pcsd/test/test_all_suite.rb
b75106
  test_result_ruby=$?
b75106
b75106
  if [ $test_result_python -ne 0 ]; then
b75106
    return $test_result_python
b75106
  fi
b75106
  return $test_result_ruby
b75106
}
b75106
b75106
run_all_tests
b75106
b75106
%posttrans
b75106
# Make sure the new version of the daemon is runnning.
b75106
# Also, make sure to start pcsd-ruby if it hasn't been started or even
b75106
# installed before. This is done by restarting pcsd.service.
b75106
%{_bindir}/systemctl daemon-reload
b75106
%{_bindir}/systemctl try-restart pcsd.service
b75106
b75106
b75106
%post
b75106
%systemd_post pcsd.service
b75106
%systemd_post pcsd-ruby.service
b75106
b75106
%post -n %{pcs_snmp_pkg_name}
b75106
%systemd_post pcs_snmp_agent.service
b75106
b75106
%preun
b75106
%systemd_preun pcsd.service
b75106
%systemd_preun pcsd-ruby.service
b75106
b75106
%preun -n %{pcs_snmp_pkg_name}
b75106
%systemd_preun pcs_snmp_agent.service
b75106
b75106
%postun
b75106
%systemd_postun_with_restart pcsd.service
b75106
%systemd_postun_with_restart pcsd-ruby.service
b75106
b75106
%postun -n %{pcs_snmp_pkg_name}
b75106
%systemd_postun_with_restart pcs_snmp_agent.service
b75106
b75106
%files
b75106
%doc CHANGELOG.md
b75106
%doc README.md
b75106
%doc tornado_README.rst
b75106
%doc dacite_README.md
b75106
%license tornado_LICENSE
b75106
%license dacite_LICENSE
b75106
%license COPYING
b75106
# rugygem licenses
b75106
%license backports_LICENSE.txt
b75106
%license daemons_LICENSE
b75106
%license ethon_LICENSE
b75106
%license eventmachine_LICENSE
b75106
%license eventmachine_GNU
b75106
%license ffi_COPYING
b75106
%license ffi_LICENSE
b75106
%license ffi_LICENSE.SPECS
b75106
%license mustermann_LICENSE
b75106
%license open4_LICENSE
b75106
%license rack_MIT-LICENSE
b75106
%license rack-protection_License
b75106
%license rack-test_MIT-LICENSE.txt
505415
%license ruby2_keywords_LICENSE
b75106
%license sinatra_LICENSE
b75106
%license tilt_COPYING
b75106
%license webrick_LICENSE.txt
b75106
%{python3_sitelib}/*
b75106
%{_sbindir}/pcs
b75106
%{_sbindir}/pcsd
b75106
%{_libdir}/pcs/*
b75106
%{_libdir}/pcsd/*
b75106
%{_unitdir}/pcsd.service
b75106
%{_unitdir}/pcsd-ruby.service
b75106
%{_datadir}/bash-completion/completions/pcs
b75106
%{_sharedstatedir}/pcsd
b75106
%config(noreplace) %{_sysconfdir}/pam.d/pcsd
b75106
%dir %{_var}/log/pcsd
b75106
%config(noreplace) %{_sysconfdir}/logrotate.d/pcsd
b75106
%config(noreplace) %{_sysconfdir}/sysconfig/pcsd
b75106
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/cfgsync_ctl
b75106
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/known-hosts
b75106
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.cookiesecret
b75106
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.crt
b75106
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.key
b75106
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_settings.conf
b75106
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_users.conf
b75106
%{_mandir}/man8/pcs.*
b75106
%{_mandir}/man8/pcsd.*
b75106
%exclude %{_libdir}/pcs/pcs_snmp_agent
b75106
%exclude %{_libdir}/pcs/%{pcs_bundled_dir}/packages/pyagentx*
b75106
b75106
b75106
%files -n %{pcs_snmp_pkg_name}
b75106
%{_libdir}/pcs/pcs_snmp_agent
b75106
%{_libdir}/pcs/%{pcs_bundled_dir}/packages/pyagentx*
b75106
%{_unitdir}/pcs_snmp_agent.service
b75106
%{_datadir}/snmp/mibs/PCMK-PCS*-MIB.txt
b75106
%{_mandir}/man8/pcs_snmp_agent.*
b75106
%config(noreplace) %{_sysconfdir}/sysconfig/pcs_snmp_agent
b75106
%doc CHANGELOG.md
b75106
%doc pyagentx_CONTRIBUTORS.txt
b75106
%doc pyagentx_README.md
b75106
%license COPYING
b75106
%license pyagentx_LICENSE.txt
b75106
b75106
%changelog
505415
* Thu Jan 26 2023 Michal Pospisil <mpospisi@redhat.com> - 0.11.3-4.el9_1.2
505415
- Updated bundled rubygems: mustermann, rack, rack_protection, sinatra, tilt
505415
- Added license for rubygem ruby2_keywords
505415
- Resolves: rhbz#2159426
505415
a58e1c
* Mon Dec 19 2022 Michal Pospisil <mpospisi@redhat.com> - 0.11.3-4.el9_1.1
a58e1c
- Fixed displaying of bool and integer values in `pcs resource config` command
a58e1c
- Resolves: rhbz#2151575
a58e1c
4434d4
* Mon Sep 05 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.3-4
fe4db9
- Fixed ruby socket permissions
4434d4
- Resolves: rhbz#2116841
4434d4
4434d4
* Thu Jul 28 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.3-3
4434d4
- Fixed booth ticket mode value case insensitive
4434d4
- Fixed booth sync check whether /etc/booth exists
4434d4
- Resolves: rhbz#2026725 rhbz#2058243
4434d4
4434d4
* Tue Jul 12 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.3-2
4434d4
- Fixed 'pcs resource restart' traceback
4434d4
- Resolves: rhbz#2102663
4434d4
4434d4
* Fri Jun 24 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.3-1
4434d4
- Rebased to latest upstream sources (see CHANGELOG.md)
4434d4
- Updated pcs-web-ui
4434d4
- Updated bundled rubygems: rack
4434d4
- Resolves: rhbz#2059122 rhbz#2059177 rhbz#2059501 rhbz#2095695 rhbz#2096886 rhbz#2097730 rhbz#2097731 rhbz#2097732 rhbz#2097733 rhbz#2097778
4434d4
4434d4
* Thu May 19 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.2-1
4434d4
- Rebased to latest upstream sources (see CHANGELOG.md)
4434d4
- Updated pcs-web-ui
4434d4
- Updated bundled rubygems: backports, daemons, ethon ffi, ruby2_keywords, thin
4434d4
- Stopped bundling rubygem-rexml (use distribution package instead)
4434d4
- Resolves: rhbz#1301204 rhbz#2024522 rhbz#2026725 rhbz#2029844 rhbz#2039884 rhbz#2053177 rhbz#2054671 rhbz#2058243 rhbz#2058246 rhbz#2058247 rhbz#2058251 rhbz#2058252 rhbz#2059142 rhbz#2059145 rhbz#2059148 rhbz#2059149 rhbz#2059501 rhbz#2064818 rhbz#2068457 rhbz#2076585
4434d4
4434d4
* Wed May 04 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-11
3cb452
- Updated bundled rubygems: sinatra, rack-protection
4434d4
- Resolves: rhbz#2081334
3cb452
b75106
* Tue Feb 01 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-10
b75106
- Fixed snmp client
b75106
- Fixed translating resource roles in colocation constraint
b75106
- Resolves: rhbz#2048640
b75106
b75106
* Tue Jan 25 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-9
b75106
- Fixed cluster destroy in web ui
b75106
- Fixed covscan issue in web ui
b75106
- Resolves: rhbz#2044409
b75106
b75106
* Fri Jan 14 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-8
b75106
- Fixed 'pcs resource move' command
b75106
- Fixed removing of unavailable fence-scsi storage device
b75106
- Fixed ocf validation of ocf linbit drdb agent
b75106
- Fixed creating empty cib
b75106
- Updated pcs-web-ui
b75106
- Resolves: rhbz#1990787 rhbz#2033248 rhbz#2039883 rhbz#2040420
b75106
b75106
* Wed Dec 15 2021 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-7
b75106
- Fixed enabling corosync-qdevice
b75106
- Fixed resource update command when unable to get agent metadata
b75106
- Fixed revert of disallowing to clone a group with a stonith
b75106
- Resolves: rhbz#1811072 rhbz#2019836 rhbz#2032473
b75106
b75106
* Thu Dec 02 2021 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-6
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Updated pcs web ui
b75106
- Resolves: rhbz#1990787 rhbz#1997019 rhbz#2012129 rhbz#2024542 rhbz#2027678 rhbz#2027679
b75106
b75106
* Thu Nov 18 2021 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-5
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Resolves: rhbz#1990787 rhbz#2018969 rhbz#2019836 rhbz#2023752 rhbz#2012129
b75106
b75106
* Tue Nov 02 2021 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-4
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Updated pcs web ui
b75106
- Enabled wui patching
b75106
- Resolves: rhbz#1811072 rhbz#1945305 rhbz#1997019 rhbz#2012129
b75106
b75106
* Thu Aug 26 2021 Miroslav Lisik <mlisik@redhat.com> - 0.11.1-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Resolves: rhbz#1283805 rhbz#1910644 rhbz#1910645  rhbz#1956703 rhbz#1956706 rhbz#1985981 rhbz#1991957 rhbz#1996062 rhbz#1996067
b75106
b75106
* Tue Aug 24 2021 Miroslav Lisik <mlisik@redhat.com> - 0.11.0.alpha.1-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Updated pcs web ui
b75106
- Resolves: rhbz#1283805 rhbz#1910644 rhbz#1910645 rhbz#1985981 rhbz#1991957 rhbz#1996067
b75106
b75106
* Thu Aug 19 2021 DJ Delorie <dj@redhat.com> - 0.10.9-2
b75106
- Rebuilt for libffi 3.4.2 SONAME transition.
b75106
  Related: rhbz#1891914
b75106
b75106
* Tue Aug 10 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.9-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Resolves: rhbz#1991957
b75106
b75106
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.8-11
b75106
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b75106
  Related: rhbz#1991688
b75106
b75106
* Tue Jul 20 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-10
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Fixed web-ui build
b75106
- Fixed tests for pacemaker 2.1
b75106
- Resolves: rhbz#1975440 rhbz#1922302
b75106
b75106
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.8-9
b75106
- Rebuilt for RHEL 9 BETA for openssl 3.0
b75106
  Related: rhbz#1971065
b75106
b75106
* Wed Jun 16 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-8
b75106
- Rebuild with fixed gaiting tests
b75106
- Stopped bundling rubygem-json (use distribution package instead)
b75106
- Fixed patches
b75106
- Resolves: rhbz#1881064
b75106
b75106
* Tue Jun 15 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-7
b75106
- Fixed License tag
b75106
- Rebuild with fixed dependency for gating tier0 tests
b75106
- Resolves: rhbz#1881064
b75106
b75106
* Thu Jun 10 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-6
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Removed clufter related commands
b75106
- Resolves: rhbz#1881064
b75106
b75106
* Wed Apr 28 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-5
b75106
- Updated pcs web ui node modules
b75106
- Fixed build issue on low memory build hosts
b75106
- Resolves: rhbz#1951272
b75106
b75106
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.8-4
b75106
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b75106
b75106
* Thu Mar 04 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-3
b75106
- Replace pyOpenSSL with python-cryptography
b75106
- Resolves: rhbz#1927404
b75106
b75106
* Fri Feb 19 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-2
b75106
- Bundle rubygem depedencies and python3-tornado
b75106
- Resolves: rhbz#1929710
b75106
b75106
* Thu Feb 04 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Updated pcs-web-ui
b75106
- Updated bundled python dependency: dacite
b75106
- Changed BuildRequires from git to git-core
b75106
- Added conditional (Build)Requires: rubygem(rexml)
b75106
- Added conditional Requires: rubygem(webrick)
b75106
b75106
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.7-4
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b75106
b75106
* Thu Jan  7 2021 Vít Ondruch <vondruch@redhat.com> - 0.10.7-3
b75106
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.0
b75106
b75106
* Thu Nov 26 2020 Ondrej Mular <omular@redhat.com> - 0.10.7-2
b75106
- Python 3.10 related fix
b75106
b75106
* Wed Sep 30 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.7-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Added dependency on python packages pyparsing and dateutil
b75106
- Fixed virtual bundle provides for ember, handelbars, jquery and jquery-ui
b75106
- Removed dependency on python3-clufter
b75106
b75106
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b75106
b75106
* Tue Jul 21 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Updated pcs-web-ui
b75106
- Stopped bundling tornado (use distribution package instead)
b75106
- Stopped bundling rubygem-tilt (use distribution package instead)
b75106
- Removed rubygem bundling
b75106
- Removed unneeded BuildRequires: execstack, gcc, gcc-c++
b75106
- Excluded some tests for tornado daemon
b75106
b75106
* Tue Jul 21 2020 Tom Stellard <tstellar@redhat.com> - 0.10.5-8
b75106
- Use make macros
b75106
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
b75106
b75106
* Wed Jul 15 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-7
b75106
- Use fixed upstream version of dacite with Python 3.9 support
b75106
- Split upstream tests in gating into tiers
b75106
b75106
* Fri Jul 03 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-6
b75106
- Use patched version of dacite compatible with Python 3.9
b75106
- Resolves: rhbz#1838327
b75106
b75106
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-5
b75106
- Rebuilt for Python 3.9
b75106
b75106
* Thu May 07 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-4
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Run only tier0 tests in check section
b75106
b75106
* Fri Apr 03 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-3
b75106
- Enable gating
b75106
b75106
* Fri Mar 27 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-2
b75106
- Remove usage of deprecated module xml.etree.cElementTree
b75106
- Resolves: rhbz#1817695
b75106
b75106
* Wed Mar 18 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.5-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b75106
b75106
* Thu Nov 28 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.3-2
b75106
- Rebuilt for Python 3.8.0rc1 (#1748018)
b75106
b75106
* Fri Aug 23 2019 Ondrej Mular <omular@redhat.com> - 0.10.3-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-3
b75106
- Rebuilt for Python 3.8
b75106
b75106
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b75106
b75106
* Fri Jun 14 2019 Ondrej Mular <omular@redhat.com> - 0.10.2-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Added pam as required package
b75106
- An alternative webUI rebased to latest upstream sources
b75106
- Improved configuration files permissions in rpm
b75106
b75106
* Tue Mar 19 2019 Tomas Jelinek <tojeline@redhat.com> - 0.10.1-4
b75106
- Removed unused dependency rubygem-multi_json
b75106
- Removed files needed only for building rubygems from the package
b75106
b75106
* Mon Feb 04 2019 Ivan Devát <idevat@redhat.com> - 0.10.1-3
b75106
- Corrected gem install flags
b75106
b75106
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b75106
b75106
* Wed Jan 09 2019 Ivan Devát <idevat@redhat.com> - 0.10.1-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Tue Oct 09 2018 Ondrej Mular <omular@redhat.com> - 0.10.0.alpha.6-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Resolves: rhbz#1618911
b75106
b75106
* Fri Aug 31 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-3
b75106
- Started bundling rubygem-tilt (rubygem-tilt is orphaned in fedora due to rubygem-prawn dependency)
b75106
- Enabled passing tests
b75106
b75106
* Sat Aug 25 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-2
b75106
- Fixed error with missing rubygem location during pcsd start
b75106
- Resolves: rhbz#1618911
b75106
b75106
* Thu Aug 02 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Wed Jul 25 2018 Ivan Devát <idevat@redhat.com> - 0.9.164-4
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b75106
b75106
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.164-3
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b75106
b75106
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.164-2
b75106
- Rebuilt for Python 3.7
b75106
b75106
* Mon Apr 09 2018 Ondrej Mular <omular@redhat.com> - 0.9.164-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Fixed: CVE-2018-1086, CVE-2018-1079
b75106
b75106
* Mon Feb 26 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-2
b75106
- Fixed crash when adding a node to a cluster
b75106
b75106
* Tue Feb 20 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- Adapted for Rack 2 and Sinatra 2
b75106
b75106
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.160-5
b75106
- Escape macros in %%changelog
b75106
b75106
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.160-4
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b75106
b75106
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 0.9.160-3
b75106
- Rebuilt for switch to libxcrypt
b75106
b75106
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.160-2
b75106
- F-28: rebuild for ruby25
b75106
- Workaround for gem install option
b75106
b75106
* Wed Oct 18 2017 Ondrej Mular <omular@redhat.com> - 0.9.160-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
- All pcs tests are temporarily disabled because of issues in pacemaker.
b75106
b75106
* Thu Sep 14 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-4
b75106
- Bundle rubygem-rack-protection which is being updated to 2.0.0 in Fedora.
b75106
- Removed setuptools patch.
b75106
- Disabled debuginfo subpackage.
b75106
b75106
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-3
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b75106
b75106
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b75106
b75106
* Wed Jul 12 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Tue May 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-3
b75106
- Fixed python locales issue preventing build-time tests to pass
b75106
- Bundle rubygem-tilt which is being retired from Fedora
b75106
b75106
* Thu Mar 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-2
b75106
- Fixed Cross-site scripting (XSS) vulnerability in web UI CVE-2017-2661
b75106
- Re-added support for clufter as it is now available for Python 3
b75106
b75106
* Wed Feb 22 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-1
b75106
- Rebased to latest upstream sources (see CHANGELOG.md)
b75106
b75106
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.155-3
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b75106
b75106
* Thu Jan 12 2017 Vít Ondruch <vondruch@redhat.com> - 0.9.155-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
b75106
b75106
* Wed Jan 04 2017 Adam Williamson <awilliam@redhat.com> - 0.9.155-1
b75106
- Latest release 0.9.155
b75106
- Fix tests with Python 3.6 and lxml 3.7
b75106
- Package the license as license, not doc
b75106
- Use -f param for rm when wiping test directories as they are nested now
b75106
b75106
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com>
b75106
- Rebuild for Python 3.6
b75106
b75106
* Tue Oct 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-2
b75106
- Fixed upgrading from pcs-0.9.150
b75106
b75106
* Thu Sep 22 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-1
b75106
- Re-synced to upstream sources
b75106
- Spec file cleanup and fixes
b75106
b75106
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.150-2
b75106
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b75106
b75106
* Mon Apr 11 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.150-1
b75106
- Re-synced to upstream sources
b75106
- Make pcs depend on python3
b75106
- Spec file cleanup
b75106
b75106
* Tue Feb 23 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-2
b75106
- Fixed rubygems issues which prevented pcsd from starting
b75106
- Added missing python-lxml dependency
b75106
b75106
* Thu Feb 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-1
b75106
- Re-synced to upstream sources
b75106
- Security fix for CVE-2016-0720, CVE-2016-0721
b75106
- Fixed rubygems issues which prevented pcsd from starting
b75106
- Rubygems built with RELRO
b75106
- Spec file cleanup
b75106
- Fixed multilib .pyc/.pyo issue
b75106
b75106
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.144-3
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b75106
b75106
* Tue Jan 12 2016 Vít Ondruch <vondruch@redhat.com> - 0.9.144-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
b75106
b75106
* Fri Sep 18 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.144-1
b75106
- Re-synced to upstream sources
b75106
b75106
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-2
b75106
- Added requirement for psmisc for killall
b75106
b75106
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-1
b75106
- Re-synced to upstream sources
b75106
b75106
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.140-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b75106
b75106
* Fri Jun 05 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.140-1
b75106
- Re-synced to upstream sources
b75106
b75106
* Fri May 22 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-4
b75106
- Fix for CVE-2015-1848, CVE-2015-3983 (sessions not signed)
b75106
b75106
* Thu Mar 26 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-3
b75106
- Add BuildRequires: systemd (rhbz#1206253)
b75106
b75106
* Fri Feb 27 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-2
b75106
- Reflect clufter inclusion (rhbz#1180723)
b75106
b75106
* Thu Feb 19 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-1
b75106
- Re-synced to upstream sources
b75106
b75106
* Sat Jan 17 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.115-5
b75106
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
b75106
b75106
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-4
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b75106
b75106
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-3
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b75106
b75106
* Tue May 06 2014 Tomas Jelinek <tojeline@redhat.com> - 0.9.115-2
b75106
- Rebuild to fix ruby dependencies
b75106
b75106
* Mon Apr 21 2014 Chris Feist <cfeist@redhat.com> - 0.9.115-1
b75106
- Re-synced to upstream sources
b75106
b75106
* Fri Dec 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.102-1
b75106
- Re-synced to upstream sources
b75106
b75106
* Wed Jun 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.48-1
b75106
- Rebuild with upstream sources
b75106
b75106
* Thu Jun 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-5
b75106
- Added fixes for building rpam with ruby-2.0.0
b75106
b75106
* Mon Jun 03 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-4
b75106
- Rebuild with upstream sources
b75106
b75106
* Tue May 07 2013 Chris Feist <cfeist@redhat.com> - 0.9.41-2
b75106
- Resynced to upstream sources
b75106
b75106
* Fri Apr 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.39-1
b75106
- Fixed gem building
b75106
- Re-synced to upstream sources
b75106
b75106
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-4
b75106
- Don't try to build gems at all
b75106
b75106
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-3
b75106
- Removed all gems from build, will need to find pam package in the future
b75106
b75106
* Mon Mar 25 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-2
b75106
- Removed duplicate libraries already present in fedora
b75106
b75106
* Mon Mar 18 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-1
b75106
- Resynced to latest upstream
b75106
b75106
* Mon Mar 11 2013 Chris Feist <cfeist@redhat.com> - 0.9.33-1
b75106
- Resynched to latest upstream
b75106
- pcsd has been moved to /usr/lib to fix /usr/local packaging issues
b75106
b75106
* Thu Feb 21 2013 Chris Feist <cfeist@redhat.com> - 0.9.32-1
b75106
- Resynced to latest version of pcs/pcsd
b75106
b75106
* Mon Nov 05 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-3
b75106
- Build on all archs
b75106
b75106
* Thu Oct 25 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-2
b75106
- Resync to latest version of pcs
b75106
- Added pcsd daemon
b75106
b75106
* Mon Oct 08 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.26-1
b75106
- Resync to latest version of pcs
b75106
b75106
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.24-1
b75106
- Resync to latest version of pcs
b75106
b75106
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.23-1
b75106
- Resync to latest version of pcs
b75106
b75106
* Wed Sep 12 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.22-1
b75106
- Resync to latest version of pcs
b75106
b75106
* Thu Sep 06 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.19-1
b75106
- Resync to latest version of pcs
b75106
b75106
* Tue Aug 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.12-1
b75106
- Resync to latest version of pcs
b75106
b75106
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.1-2
b75106
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b75106
b75106
* Thu May 24 2012 Chris Feist <cfeist@redhat.com> - 0.9.4-1
b75106
- Resync to latest version of pcs
b75106
- Move cluster creation options to cluster sub command.
b75106
b75106
* Mon May 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.3.1-1
b75106
- Resync to latest version of pcs which includes fixes to work with F17.
b75106
b75106
* Mon Mar 19 2012 Chris Feist <cfeist@redhat.com> - 0.9.2.4-1
b75106
- Resynced to latest version of pcs
b75106
b75106
* Mon Jan 23 2012 Chris Feist <cfeist@redhat.com> - 0.9.1-1
b75106
- Updated BuildRequires and %%doc section for fedora
b75106
b75106
* Fri Jan 20 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-2
b75106
- Updated spec file for fedora specific changes
b75106
b75106
* Mon Jan 16 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-1
b75106
- Initial Build