50c00a
Name: pcs
80f2be
Version: 0.10.14
80f2be
Release: 5%{?dist}
1f701a
# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
50c00a
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
50c00a
# GPLv2: pcs
1f701a
# ASL 2.0: dataclasses, tornado
cfdf2f
# ASL 2.0 or BSD: dateutil
cfdf2f
# MIT: backports, dacite, daemons, ember, ethon, handlebars, jquery, jquery-ui,
cfdf2f
#      mustermann, rack, rack-protection, rack-test, sinatra, tilt
1f701a
# GPLv2 or Ruby: eventmachne, json
1f701a
# (GPLv2 or Ruby) and BSD: thin
1f701a
# BSD or Ruby: open4, ruby2_keywords
1f701a
# BSD and MIT: ffi
cfdf2f
License: GPLv2 and ASL 2.0 and MIT and BSD and (GPLv2 or Ruby) and (BSD or Ruby) and (ASL 2.0 or BSD)
50c00a
URL: https://github.com/ClusterLabs/pcs
50c00a
Group: System Environment/Base
50c00a
Summary: Pacemaker Configuration System
50c00a
#building only for architectures with pacemaker and corosync available
1f701a
ExclusiveArch: i686 x86_64 s390x ppc64le aarch64
50c00a
409d62
%global version_or_commit %{version}
80f2be
# %%global version_or_commit %%{version}.48-15d27
bc4e95
409d62
%global pcs_source_name %{name}-%{version_or_commit}
409d62
cfdf2f
# ui_commit can be determined by hash, tag or branch
80f2be
%global ui_commit 0.1.13
80f2be
%global ui_modules_version 0.1.13
409d62
%global ui_src_name pcs-web-ui-%{ui_commit}
50c00a
50c00a
%global pcs_snmp_pkg_name  pcs-snmp
50c00a
50c00a
%global pyagentx_version   0.4.pcs.2
cfdf2f
%global tornado_version    6.1.0
cfdf2f
%global dataclasses_version 0.8
cfdf2f
%global dacite_version  1.6.0
cfdf2f
%global dateutil_version  2.8.1
80f2be
%global version_rubygem_backports  3.23.0
80f2be
%global version_rubygem_daemons  1.4.1
80f2be
%global version_rubygem_ethon  0.15.0
bc4e95
%global version_rubygem_eventmachine  1.2.7
80f2be
%global version_rubygem_ffi  1.15.5
80f2be
%global version_rubygem_json  2.6.2
1f701a
%global version_rubygem_mustermann  1.1.1
50c00a
%global version_rubygem_open4  1.3.4
80f2be
%global version_rubygem_rack  2.2.3.1
f5522a
%global version_rubygem_rack_protection  2.2.0
1f701a
%global version_rubygem_rack_test  1.1.0
ce1222
%global version_rubygem_rexml  3.2.5
80f2be
%global version_rubygem_ruby2_keywords  0.0.5
f5522a
%global version_rubygem_sinatra  2.2.0
80f2be
%global version_rubygem_thin  1.8.1
1f701a
%global version_rubygem_tilt  2.0.10
50c00a
cfdf2f
# javascript bundled libraries for old web-ui
cfdf2f
%global ember_version 1.4.0
cfdf2f
%global handlebars_version 1.2.1
ce1222
%global jquery_ui_version 1.12.1
ce1222
%global jquery_version 3.6.0
ce1222
ce1222
%global pcs_bundled_dir pcs_bundled
409d62
%global pcsd_public_dir pcsd/public
ce1222
%global rubygem_bundle_dir pcsd/vendor/bundle
ce1222
%global rubygem_cache_dir %{rubygem_bundle_dir}/cache
50c00a
50c00a
# 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
50c00a
#*** 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)
50c00a
#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
50c00a
#*** 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
50c00a
#*** 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
50c00a
#*** 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.
50c00a
%undefine __brp_mangle_shebangs
50c00a
50c00a
# https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Python_bytecompilation
50c00a
# Enforce python3 because bytecompilation of tornado produced warnings:
50c00a
# DEPRECATION WARNING: python2 invoked with /usr/bin/python.
50c00a
#    Use /usr/bin/python3 or /usr/bin/python2
50c00a
#    /usr/bin/python will be removed or switched to Python 3 in the future.
50c00a
%global __python %{__python3}
50c00a
409d62
Source0: %{url}/archive/%{version_or_commit}/%{pcs_source_name}.tar.gz
50c00a
Source1: HAM-logo.png
50c00a
bc4e95
Source41: https://github.com/ondrejmular/pyagentx/archive/v%{pyagentx_version}/pyagentx-%{pyagentx_version}.tar.gz
bc4e95
Source42: https://github.com/tornadoweb/tornado/archive/v%{tornado_version}/tornado-%{tornado_version}.tar.gz
1f701a
Source43: https://github.com/ericvsmith/dataclasses/archive/%{dataclasses_version}/dataclasses-%{dataclasses_version}.tar.gz
1f701a
Source44: https://github.com/konradhalas/dacite/archive/v%{dacite_version}/dacite-%{dacite_version}.tar.gz
cfdf2f
Source45: https://github.com/dateutil/dateutil/archive/%{dateutil_version}/python-dateutil-%{dateutil_version}.tar.gz
50c00a
50c00a
Source81: https://rubygems.org/downloads/backports-%{version_rubygem_backports}.gem
50c00a
Source82: https://rubygems.org/downloads/ethon-%{version_rubygem_ethon}.gem
50c00a
Source83: https://rubygems.org/downloads/ffi-%{version_rubygem_ffi}.gem
50c00a
Source84: https://rubygems.org/downloads/json-%{version_rubygem_json}.gem
ce1222
Source85: https://rubygems.org/downloads/rexml-%{version_rubygem_rexml}.gem
50c00a
Source86: https://rubygems.org/downloads/mustermann-%{version_rubygem_mustermann}.gem
409d62
# We needed to re-upload open4 rubygem because of issues with sources in gating.
409d62
# Unfortunately, there was no newer version available, therefore we had to
409d62
# change its 'version' ourselves.
409d62
Source87: https://rubygems.org/downloads/open4-%{version_rubygem_open4}.gem#/open4-%{version_rubygem_open4}-1.gem
50c00a
Source88: https://rubygems.org/downloads/rack-%{version_rubygem_rack}.gem
50c00a
Source89: https://rubygems.org/downloads/rack-protection-%{version_rubygem_rack_protection}.gem
50c00a
Source90: https://rubygems.org/downloads/rack-test-%{version_rubygem_rack_test}.gem
50c00a
Source91: https://rubygems.org/downloads/sinatra-%{version_rubygem_sinatra}.gem
50c00a
Source92: https://rubygems.org/downloads/tilt-%{version_rubygem_tilt}.gem
bc4e95
Source93: https://rubygems.org/downloads/eventmachine-%{version_rubygem_eventmachine}.gem
bc4e95
Source94: https://rubygems.org/downloads/daemons-%{version_rubygem_daemons}.gem
bc4e95
Source95: https://rubygems.org/downloads/thin-%{version_rubygem_thin}.gem
1f701a
Source96: https://rubygems.org/downloads/ruby2_keywords-%{version_rubygem_ruby2_keywords}.gem
50c00a
ce1222
Source100: https://github.com/ClusterLabs/pcs-web-ui/archive/%{ui_commit}/%{ui_src_name}.tar.gz
ce1222
Source101: https://github.com/ClusterLabs/pcs-web-ui/releases/download/%{ui_modules_version}/pcs-web-ui-node-modules-%{ui_modules_version}.tar.xz
409d62
409d62
# Patches from upstream.
409d62
# They should come before downstream patches to avoid unnecessary conflicts.
409d62
# Z-streams are exception here: they can come from upstream but should be
409d62
# applied at the end to keep z-stream changes as straightforward as possible.
9e0fa3
9e0fa3
# pcs patches: <= 200
cfdf2f
# Patch1: bzNUMBER-01-name.patch
80f2be
Patch1: bz1786964-01-code-formatting.patch
80f2be
Patch2: bz1786964-02-make-booth-ticket-mode-value-case-insensitive.patch
80f2be
Patch3: bz1791670-01-booth-sync-check-whether-etc-booth-exists.patch
80f2be
Patch4: bz2115326-01-fix-pcs-quorum-device-remove.patch
80f2be
Patch5: bz2117650-01-fix-enable-sbd-from-webui.patch
80f2be
Patch6: bz2116838-01-fix-ruby-socket-permissions.patch
409d62
409d62
# Downstream patches do not come from upstream. They adapt pcs for specific
409d62
# RHEL needs.
50c00a
Patch101: do-not-support-cluster-setup-with-udp-u-transport.patch
9e0fa3
9e0fa3
# ui patches: >200
50c00a
50c00a
# git for patches
cfdf2f
BuildRequires: git-core
50c00a
#printf from coreutils is used in makefile
50c00a
BuildRequires: coreutils
50c00a
# python for pcs
50c00a
BuildRequires: platform-python
50c00a
BuildRequires: python3-devel
50c00a
BuildRequires: platform-python-setuptools
50c00a
BuildRequires: python3-pycurl
ce1222
BuildRequires: python3-pip
1f701a
BuildRequires: python3-pyparsing
ce1222
BuildRequires: python3-cryptography
ce1222
BuildRequires: python3-lxml
ce1222
# for building bundled python packages
ce1222
BuildRequires: python3-wheel
cfdf2f
# for bundled python dateutil
cfdf2f
BuildRequires: python3-setuptools_scm
50c00a
# gcc for compiling custom rubygems
50c00a
BuildRequires: gcc
50c00a
BuildRequires: gcc-c++
50c00a
# ruby and gems for pcsd
50c00a
BuildRequires: ruby >= 2.2.0
50c00a
BuildRequires: ruby-devel
50c00a
BuildRequires: rubygems
ce1222
BuildRequires: rubygem-bundler
50c00a
# ruby libraries for tests
50c00a
BuildRequires: rubygem-test-unit
50c00a
# for touching patch files (sanitization function)
50c00a
BuildRequires: diffstat
50c00a
# for post, preun and postun macros
50c00a
BuildRequires: systemd
50c00a
# pcsd fonts and font management tools for creating symlinks to fonts
50c00a
BuildRequires: fontconfig
50c00a
BuildRequires: liberation-sans-fonts
cfdf2f
BuildRequires: make
50c00a
BuildRequires: overpass-fonts
409d62
# Red Hat logo for creating symlink of favicon
409d62
BuildRequires: redhat-logos
409d62
409d62
# for building web ui
409d62
BuildRequires: npm
50c00a
ce1222
# cluster stack packages for pkg-config
ce1222
BuildRequires: booth
ce1222
BuildRequires: corosync-qdevice-devel
ce1222
BuildRequires: corosynclib-devel >= 3.0
ce1222
BuildRequires: fence-agents-common
ce1222
BuildRequires: pacemaker-libs-devel >= 2.0.0
ce1222
BuildRequires: resource-agents
ce1222
BuildRequires: sbd
ce1222
50c00a
# python and libraries for pcs, setuptools for pcs entrypoint
50c00a
Requires: platform-python
50c00a
Requires: python3-lxml
50c00a
Requires: platform-python-setuptools
50c00a
Requires: python3-clufter => 0.70.0
50c00a
Requires: python3-pycurl
1f701a
Requires: python3-pyparsing
ce1222
Requires: python3-cryptography
50c00a
# ruby and gems for pcsd
50c00a
Requires: ruby >= 2.2.0
50c00a
Requires: rubygems
50c00a
# for killall
50c00a
Requires: psmisc
50c00a
# cluster stack and related packages
50c00a
Requires: pcmk-cluster-manager >= 2.0.0
50c00a
Suggests: pacemaker
50c00a
Requires: (corosync >= 2.99 if pacemaker)
50c00a
# pcs enables corosync encryption by default so we require libknet1-plugins-all
50c00a
Requires: (libknet1-plugins-all if corosync)
50c00a
Requires: pacemaker-cli >= 2.0.0
50c00a
# for post, preun and postun macros
50c00a
Requires(post): systemd
50c00a
Requires(preun): systemd
50c00a
Requires(postun): systemd
409d62
# pam is used for authentication inside daemon (python ctypes)
409d62
# more details: https://bugzilla.redhat.com/show_bug.cgi?id=1717113
409d62
Requires: pam
50c00a
# pcsd fonts
50c00a
Requires: liberation-sans-fonts
50c00a
Requires: overpass-fonts
409d62
# favicon Red Hat logo
409d62
Requires: redhat-logos
1f701a
# needs logrotate for /etc/logrotate.d/pcsd
1f701a
Requires: logrotate
50c00a
50c00a
Provides: bundled(tornado) = %{tornado_version}
1f701a
Provides: bundled(dataclasses) = %{dataclasses_version}
1f701a
Provides: bundled(dacite) = %{dacite_version}
cfdf2f
Provides: bundled(dateutil) = %{dateutil_version}
50c00a
Provides: bundled(backports) = %{version_rubygem_backports}
bc4e95
Provides: bundled(daemons) = %{version_rubygem_daemons}
50c00a
Provides: bundled(ethon) = %{version_rubygem_ethon}
bc4e95
Provides: bundled(eventmachine) = %{version_rubygem_eventmachine}
50c00a
Provides: bundled(ffi) = %{version_rubygem_ffi}
50c00a
Provides: bundled(json) = %{version_rubygem_json}
50c00a
Provides: bundled(mustermann) = %{version_rubygem_mustermann}
50c00a
Provides: bundled(open4) = %{version_rubygem_open4}
50c00a
Provides: bundled(rack) = %{version_rubygem_rack}
1f701a
Provides: bundled(rack_protection) = %{version_rubygem_rack_protection}
1f701a
Provides: bundled(rack_test) = %{version_rubygem_rack_test}
ce1222
Provides: bundled(rexml) = %{version_rubygem_rexml}
1f701a
Provides: bundled(ruby2_keywords) = %{version_rubygem_ruby2_keywords}
50c00a
Provides: bundled(sinatra) = %{version_rubygem_sinatra}
bc4e95
Provides: bundled(thin) = %{version_rubygem_thin}
50c00a
Provides: bundled(tilt) = %{version_rubygem_tilt}
50c00a
cfdf2f
# javascript bundled libraries for old web-ui
cfdf2f
Provides: bundled(ember) = %{ember_version}
cfdf2f
Provides: bundled(handlebars) = %{handlebars_version}
cfdf2f
Provides: bundled(jquery) = %{jquery_version}
cfdf2f
Provides: bundled(jquery-ui) = %{jquery_ui_version}
cfdf2f
50c00a
%description
50c00a
pcs is a corosync and pacemaker configuration tool.  It permits users to
50c00a
easily view, modify and create pacemaker based clusters.
50c00a
50c00a
# pcs-snmp package definition
50c00a
%package -n %{pcs_snmp_pkg_name}
50c00a
Group: System Environment/Base
50c00a
Summary: Pacemaker cluster SNMP agent
50c00a
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
50c00a
# GPLv2: pcs
50c00a
# BSD-2-Clause: pyagentx
50c00a
License: GPLv2 and BSD-2-Clause
50c00a
URL: https://github.com/ClusterLabs/pcs
50c00a
50c00a
# tar for unpacking pyagetx source tar ball
50c00a
BuildRequires: tar
50c00a
50c00a
Requires: pcs = %{version}-%{release}
50c00a
Requires: pacemaker
50c00a
Requires: net-snmp
50c00a
50c00a
Provides: bundled(pyagentx) = %{pyagentx_version}
50c00a
50c00a
%description -n %{pcs_snmp_pkg_name}
50c00a
SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)
50c00a
50c00a
%prep
50c00a
# -- following is inspired by python-simplejon.el5 --
50c00a
# Update timestamps on the files touched by a patch, to avoid non-equal
50c00a
# .pyc/.pyo files across the multilib peers within a build
50c00a
50c00a
update_times(){
50c00a
  # update_times <reference_file> <file_to_touch> ...
50c00a
  # set the access and modification times of each file_to_touch to the times
50c00a
  # of reference_file
50c00a
50c00a
  # put all args to file_list
50c00a
  file_list=("$@")
50c00a
  # first argument is reference_file: so take it and remove from file_list
50c00a
  reference_file=${file_list[0]}
50c00a
  unset file_list[0]
50c00a
50c00a
  for fname in ${file_list[@]}; do
1f701a
    # some files could be deleted by a patch therefore we test file for
1f701a
    # existance before touch to avoid exit with error: No such file or
1f701a
    # directory
1f701a
    # diffstat cannot create list of files without deleted files
1f701a
    test -e $fname && touch -r $reference_file $fname
50c00a
  done
50c00a
}
50c00a
50c00a
update_times_patch(){
50c00a
  # update_times_patch <patch_file_name>
50c00a
  # set the access and modification times of each file in patch to the times
50c00a
  # of patch_file_name
50c00a
50c00a
  patch_file_name=$1
50c00a
50c00a
  # diffstat
50c00a
  # -l lists only the filenames. No histogram is generated.
50c00a
  # -p override the logic that strips common pathnames,
50c00a
  #    simulating the patch "-p" option. (Strip the smallest prefix containing
50c00a
  #    num leading slashes from each file name found in the patch file)
50c00a
  update_times ${patch_file_name} `diffstat -p1 -l ${patch_file_name}`
50c00a
}
50c00a
9e0fa3
# documentation for setup/autosetup/autopatch:
9e0fa3
#   * http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
9e0fa3
#   * https://rpm-software-management.github.io/rpm/manual/autosetup.html
9e0fa3
# patch web-ui sources
9e0fa3
%autosetup -D -T -b 100 -a 101 -S git -n %{ui_src_name} -N
9e0fa3
%autopatch -p1 -m 201
9e0fa3
# update_times_patch %%{PATCH201}
9e0fa3
9e0fa3
# patch pcs sources
9e0fa3
%autosetup -S git -n %{pcs_source_name} -N
9e0fa3
%autopatch -p1 -M 200
9e0fa3
ce1222
update_times_patch %{PATCH1}
ce1222
update_times_patch %{PATCH2}
ce1222
update_times_patch %{PATCH3}
ce1222
update_times_patch %{PATCH4}
9e0fa3
update_times_patch %{PATCH5}
9e0fa3
update_times_patch %{PATCH6}
409d62
update_times_patch %{PATCH101}
50c00a
ce1222
cp -f %SOURCE1 %{pcsd_public_dir}/images
50c00a
50c00a
# prepare dirs/files necessary for building all bundles
50c00a
# -----------------------------------------------------
ce1222
# 1) rubygems sources
ce1222
ce1222
mkdir -p %{rubygem_cache_dir}
ce1222
cp -f %SOURCE81 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE82 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE83 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE84 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE85 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE86 %{rubygem_cache_dir}
409d62
# For reason why we are renaming open4 rubygem, see comment of source
409d62
# definition above.
ce1222
cp -f %SOURCE87 %{rubygem_cache_dir}/open4-%{version_rubygem_open4}.gem
ce1222
cp -f %SOURCE88 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE89 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE90 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE91 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE92 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE93 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE94 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE95 %{rubygem_cache_dir}
ce1222
cp -f %SOURCE96 %{rubygem_cache_dir}
ce1222
ce1222
ce1222
# 2) prepare python bundles
ce1222
mkdir -p %{pcs_bundled_dir}/src
ce1222
cp -f %SOURCE41 rpm/
ce1222
cp -f %SOURCE42 rpm/
ce1222
cp -f %SOURCE43 rpm/
ce1222
cp -f %SOURCE44 rpm/
ce1222
cp -f %SOURCE45 rpm/
cfdf2f
50c00a
%build
50c00a
%define debug_package %{nil}
50c00a
ce1222
./autogen.sh
9e0fa3
%{configure} --enable-local-build --enable-use-local-cache-only --enable-individual-bundling PYTHON=%{__python3} ruby_CFLAGS="%{optflags}" ruby_LIBS="%{build_ldflags}"
ce1222
make all
ce1222
9e0fa3
# build pcs-web-ui
9e0fa3
make -C %{_builddir}/%{ui_src_name} build BUILD_USE_EXISTING_NODE_MODULES=true
9e0fa3
50c00a
%install
50c00a
rm -rf $RPM_BUILD_ROOT
50c00a
pwd
50c00a
ce1222
%make_install
ce1222
9e0fa3
# something like make install for pcs-web-ui
9e0fa3
cp -r %{_builddir}/%{ui_src_name}/build  ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/ui
1f701a
1f701a
# prepare license files
1f701a
# some rubygems do not have a license file (ruby2_keywords, thin)
1f701a
mv %{rubygem_bundle_dir}/gems/backports-%{version_rubygem_backports}/LICENSE.txt backports_LICENSE.txt
1f701a
mv %{rubygem_bundle_dir}/gems/daemons-%{version_rubygem_daemons}/LICENSE daemons_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/ethon-%{version_rubygem_ethon}/LICENSE ethon_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/eventmachine-%{version_rubygem_eventmachine}/LICENSE eventmachine_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/eventmachine-%{version_rubygem_eventmachine}/GNU eventmachine_GNU
1f701a
mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/COPYING ffi_COPYING
1f701a
mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/LICENSE ffi_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/LICENSE.SPECS ffi_LICENSE.SPECS
1f701a
mv %{rubygem_bundle_dir}/gems/json-%{version_rubygem_json}/LICENSE json_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/mustermann-%{version_rubygem_mustermann}/LICENSE mustermann_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/open4-%{version_rubygem_open4}/LICENSE open4_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/rack-%{version_rubygem_rack}/MIT-LICENSE rack_MIT-LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/rack-protection-%{version_rubygem_rack_protection}/License rack-protection_License
1f701a
mv %{rubygem_bundle_dir}/gems/rack-test-%{version_rubygem_rack_test}/MIT-LICENSE.txt rack-test_MIT-LICENSE.txt
1f701a
mv %{rubygem_bundle_dir}/gems/sinatra-%{version_rubygem_sinatra}/LICENSE sinatra_LICENSE
1f701a
mv %{rubygem_bundle_dir}/gems/tilt-%{version_rubygem_tilt}/COPYING tilt_COPYING
50c00a
ce1222
# symlink favicon into pcsd directories
ce1222
ln -fs /etc/favicon.png ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/images/favicon.png
50c00a
50c00a
ce1222
cp %{pcs_bundled_dir}/src/pyagentx-*/LICENSE.txt pyagentx_LICENSE.txt
ce1222
cp %{pcs_bundled_dir}/src/pyagentx-*/CONTRIBUTORS.txt pyagentx_CONTRIBUTORS.txt
ce1222
cp %{pcs_bundled_dir}/src/pyagentx-*/README.md pyagentx_README.md
ce1222
ce1222
cp %{pcs_bundled_dir}/src/tornado-*/LICENSE tornado_LICENSE
ce1222
cp %{pcs_bundled_dir}/src/tornado-*/README.rst tornado_README.rst
ce1222
ce1222
cp %{pcs_bundled_dir}/src/dataclasses-*/LICENSE.txt dataclasses_LICENSE.txt
ce1222
cp %{pcs_bundled_dir}/src/dataclasses-*/README.rst dataclasses_README.rst
ce1222
ce1222
cp %{pcs_bundled_dir}/src/dacite-*/LICENSE dacite_LICENSE
ce1222
cp %{pcs_bundled_dir}/src/dacite-*/README.md dacite_README.md
409d62
ce1222
cp %{pcs_bundled_dir}/src/python-dateutil-*/LICENSE dateutil_LICENSE
ce1222
cp %{pcs_bundled_dir}/src/python-dateutil-*/README.rst dateutil_README.rst
50c00a
1f701a
# We are not building debug package for pcs but we need to add MiniDebuginfo
1f701a
# to the bundled shared libraries from rubygem extensions in order to satisfy
1f701a
# rpmdiff's binary stripping checker.
1f701a
# Therefore we call find-debuginfo.sh script manually in order to strip
1f701a
# binaries and add MiniDebugInfo with .gnu_debugdata section
1f701a
/usr/lib/rpm/find-debuginfo.sh -j2 -m -i -S debugsourcefiles.list
1f701a
# find-debuginfo.sh generated some files into /usr/lib/debug  and
1f701a
# /usr/src/debug/ that we don't want in the package
ce1222
rm -rf $RPM_BUILD_ROOT%{_libdir}/debug
ce1222
rm -rf $RPM_BUILD_ROOT/usr/lib/debug
1f701a
rm -rf $RPM_BUILD_ROOT%{_prefix}/src/debug
1f701a
1f701a
# We can remove files required for gem compilation
ce1222
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/eventmachine-%{version_rubygem_eventmachine}/ext
ce1222
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/ffi-%{version_rubygem_ffi}/ext
ce1222
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/json-%{version_rubygem_json}/ext
ce1222
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/thin-%{version_rubygem_thin}/ext
1f701a
50c00a
%check
50c00a
run_all_tests(){
50c00a
  #run pcs tests
50c00a
50c00a
  # disabled tests:
50c00a
  #
409d62
  # pcs_test.tier0.lib.commands.test_resource_agent.DescribeAgentUtf8.test_describe
409d62
  #   For an unknown reason this test is failing in mock environment and
409d62
  #   passing outside the mock environment.
50c00a
  #   TODO: Investigate the issue
50c00a
ce1222
    %{__python3} pcs_test/suite --tier0 -v --vanilla --all-but \
bc4e95
    pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_get_not_locked \
bc4e95
    pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_post_not_locked \
50c00a
50c00a
  test_result_python=$?
50c00a
50c00a
  #run pcsd tests and remove them
ce1222
  GEM_HOME=$RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir} ruby \
ce1222
    -I$RPM_BUILD_ROOT%{_libdir}/pcsd \
ce1222
    -Ipcsd/test \
ce1222
    pcsd/test/test_all_suite.rb
50c00a
  test_result_ruby=$?
50c00a
50c00a
  if [ $test_result_python -ne 0 ]; then
50c00a
    return $test_result_python
50c00a
  fi
50c00a
  return $test_result_ruby
50c00a
}
50c00a
409d62
remove_all_tests() {
409d62
  # remove javascript testing files
ce1222
  rm -r -v $RPM_BUILD_ROOT%{_libdir}/%{pcsd_public_dir}/js/dev
409d62
}
409d62
50c00a
run_all_tests
409d62
remove_all_tests
50c00a
bc4e95
%posttrans
bc4e95
# Make sure the new version of the daemon is runnning.
bc4e95
# Also, make sure to start pcsd-ruby if it hasn't been started or even
bc4e95
# installed before. This is done by restarting pcsd.service.
bc4e95
%{_bindir}/systemctl daemon-reload
bc4e95
%{_bindir}/systemctl try-restart pcsd.service
bc4e95
bc4e95
50c00a
%post
50c00a
%systemd_post pcsd.service
bc4e95
%systemd_post pcsd-ruby.service
50c00a
50c00a
%post -n %{pcs_snmp_pkg_name}
50c00a
%systemd_post pcs_snmp_agent.service
50c00a
50c00a
%preun
50c00a
%systemd_preun pcsd.service
bc4e95
%systemd_preun pcsd-ruby.service
50c00a
50c00a
%preun -n %{pcs_snmp_pkg_name}
50c00a
%systemd_preun pcs_snmp_agent.service
50c00a
50c00a
%postun
50c00a
%systemd_postun_with_restart pcsd.service
bc4e95
%systemd_postun_with_restart pcsd-ruby.service
50c00a
50c00a
%postun -n %{pcs_snmp_pkg_name}
50c00a
%systemd_postun_with_restart pcs_snmp_agent.service
50c00a
50c00a
%files
50c00a
%doc CHANGELOG.md
50c00a
%doc README.md
50c00a
%doc tornado_README.rst
1f701a
%doc dacite_README.md
cfdf2f
%doc dateutil_README.rst
1f701a
%doc dataclasses_README.rst
50c00a
%license tornado_LICENSE
1f701a
%license dacite_LICENSE
cfdf2f
%license dateutil_LICENSE
1f701a
%license dataclasses_LICENSE.txt
50c00a
%license COPYING
1f701a
# rugygem licenses
1f701a
%license backports_LICENSE.txt
1f701a
%license daemons_LICENSE
1f701a
%license ethon_LICENSE
1f701a
%license eventmachine_LICENSE
1f701a
%license eventmachine_GNU
1f701a
%license ffi_COPYING
1f701a
%license ffi_LICENSE
1f701a
%license ffi_LICENSE.SPECS
1f701a
%license json_LICENSE
1f701a
%license mustermann_LICENSE
1f701a
%license open4_LICENSE
1f701a
%license rack_MIT-LICENSE
1f701a
%license rack-protection_License
1f701a
%license rack-test_MIT-LICENSE.txt
1f701a
%license sinatra_LICENSE
1f701a
%license tilt_COPYING
ce1222
%{python3_sitelib}/*
50c00a
%{_sbindir}/pcs
50c00a
%{_sbindir}/pcsd
ce1222
%{_libdir}/pcs/*
ce1222
%{_libdir}/pcsd/*
50c00a
%{_unitdir}/pcsd.service
bc4e95
%{_unitdir}/pcsd-ruby.service
50c00a
%{_datadir}/bash-completion/completions/pcs
50c00a
%{_sharedstatedir}/pcsd
1f701a
%config(noreplace) %{_sysconfdir}/pam.d/pcsd
50c00a
%dir %{_var}/log/pcsd
50c00a
%config(noreplace) %{_sysconfdir}/logrotate.d/pcsd
50c00a
%config(noreplace) %{_sysconfdir}/sysconfig/pcsd
409d62
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/cfgsync_ctl
409d62
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/known-hosts
409d62
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.cookiesecret
409d62
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.crt
409d62
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.key
409d62
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_settings.conf
409d62
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_users.conf
50c00a
%{_mandir}/man8/pcs.*
50c00a
%{_mandir}/man8/pcsd.*
ce1222
%exclude %{_libdir}/pcs/pcs_snmp_agent
ce1222
%exclude %{_libdir}/pcs/%{pcs_bundled_dir}/packages/pyagentx*
ce1222
50c00a
50c00a
%files -n %{pcs_snmp_pkg_name}
ce1222
%{_libdir}/pcs/pcs_snmp_agent
ce1222
%{_libdir}/pcs/%{pcs_bundled_dir}/packages/pyagentx*
50c00a
%{_unitdir}/pcs_snmp_agent.service
50c00a
%{_datadir}/snmp/mibs/PCMK-PCS*-MIB.txt
50c00a
%{_mandir}/man8/pcs_snmp_agent.*
50c00a
%config(noreplace) %{_sysconfdir}/sysconfig/pcs_snmp_agent
50c00a
%doc CHANGELOG.md
50c00a
%doc pyagentx_CONTRIBUTORS.txt
50c00a
%doc pyagentx_README.md
50c00a
%license COPYING
50c00a
%license pyagentx_LICENSE.txt
50c00a
50c00a
%changelog
80f2be
* Mon Sep 05 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.14-5
4160ab
- Fixed ruby socket permissions
80f2be
- Resolves: rhbz#2116838
4160ab
80f2be
* Wed Aug 17 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.14-4
80f2be
- Fixed enable sbd from webui
80f2be
- Resolves: rhbz#2117650
80f2be
80f2be
* Mon Aug 08 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.14-3
80f2be
- Fixed `pcs quorum device remove`
80f2be
- Resolves: rhbz#2115326
80f2be
80f2be
* Thu Jul 28 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.14-2
80f2be
- Fixed booth ticket mode value case insensitive
80f2be
- Fixed booth sync check whether /etc/booth exists
80f2be
- Resolves: rhbz#1786964 rhbz#1791670
80f2be
80f2be
* Fri Jun 24 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.14-1
80f2be
- Rebased to latest upstream sources (see CHANGELOG.md)
80f2be
- Updated bundled rubygems: rack
80f2be
- Resolves: rhbz#2059500 rhbz#2096787 rhbz#2097383 rhbz#2097391 rhbz#2097392 rhbz#2097393
80f2be
80f2be
* Tue May 24 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.13-1
80f2be
- Rebased to latest upstream sources (see CHANGELOG.md)
80f2be
- Updated pcs-web-ui
80f2be
- Updated bundled rubygems: backports, daemons, ethon ffi, json, ruby2_keywords, thin
80f2be
- Resolves: rhbz#1730232 rhbz#1786964 rhbz#1791661 rhbz#1791670 rhbz#1874624 rhbz#1909904 rhbz#1950551 rhbz#1954099 rhbz#2019894 rhbz#2023845 rhbz#2059500 rhbz#2064805 rhbz#2068456
80f2be
80f2be
* Thu May 05 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-7
f5522a
- Updated bundled rubygems: sinatra, rack-protection
80f2be
- Resolves: rhbz#2081332
9e0fa3
4160ab
* Fri Feb 11 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-6
4160ab
- Fixed processing agents not conforming to OCF schema
4160ab
- Resolves: rhbz#2050274
4160ab
9e0fa3
* Tue Feb 01 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-5
9e0fa3
- Fixed snmp client
9e0fa3
- Resolves: rhbz#2047983
9e0fa3
9e0fa3
* Tue Jan 25 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-4
9e0fa3
- Fixed cluster destroy in web ui
9e0fa3
- Fixed covscan issue in web ui
9e0fa3
- Resolves: rhbz#1970508
9e0fa3
9e0fa3
* Fri Jan 14 2022 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-3
9e0fa3
- Fixed 'pcs resource move --autodelete' command
9e0fa3
- Fixed removing of unavailable fence-scsi storage device
9e0fa3
- Fixed ocf validation of ocf linbit drdb agent
13e978
- Fixed creating empty cib
9e0fa3
- Updated pcs-web-ui
9e0fa3
- Resolves: rhbz#1990784 rhbz#2022463 rhbz#2032997 rhbz#2036633
13e978
9e0fa3
* Wed Dec 15 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-2
9e0fa3
- Fixed rsc update cmd when unable to get agent metadata
9e0fa3
- Fixed enabling corosync-qdevice
9e0fa3
- Resolves: rhbz#1384485 rhbz#2028902
ce1222
9e0fa3
* Thu Dec 02 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.12-1
9e0fa3
- Rebased to latest upstream sources (see CHANGELOG.md)
9e0fa3
- Updated pcs-web-ui
9e0fa3
- Resolves: rhbz#1552470 rhbz#1997011 rhbz#2017311 rhbz#2017312 rhbz#2024543 rhbz#2012128
9e0fa3
9e0fa3
* Mon Nov 22 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.11-2
9e0fa3
- Rebased to latest upstream sources (see CHANGELOG.md)
9e0fa3
- Removed 'export PYTHONCOERCECLOCALE=0'
9e0fa3
- Resolves: rhbz#1384485 rhbz#1936833 rhbz#1968088 rhbz#1990784 rhbz#2012128
9e0fa3
9e0fa3
* Mon Nov 01 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.11-1
9e0fa3
- Rebased to latest upstream sources (see CHANGELOG.md)
9e0fa3
- Updated pcs-web-ui
9e0fa3
- Enabled wui patching
9e0fa3
- Resolves: rhbz#1533090 rhbz#1970508 rhbz#1997011 rhbz#2003066 rhbz#2003068 rhbz#2012128
ce1222
ce1222
* Fri Aug 27 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.10-2
ce1222
- Fixed create resources with depth operation attribute
ce1222
- Resolves: rhbz#1998454
ce1222
ce1222
* Thu Aug 19 2021 Ondrej Mular <omular@redhat.com> - 0.10.10-1
ce1222
- Rebased to latest upstream sources (see CHANGELOG.md)
ce1222
- Updated pcs-web-ui
ce1222
- Resolves: rhbz#1885293 rhbz#1847102 rhbz#1935594
ce1222
ce1222
* Tue Aug 10 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.9-1
ce1222
- Rebased to latest upstream sources (see CHANGELOG.md)
ce1222
- Resolves: rhbz#1432097 rhbz#1847102 rhbz#1935594 rhbz#1984901
ce1222
ce1222
* Tue Jul 20 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-4
ce1222
- Rebased to latest upstream sources (see CHANGELOG.md)
ce1222
- Resolves: rhbz#1759995 rhbz#1872378 rhbz#1935594
ce1222
ce1222
* Thu Jul 08 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-3
ce1222
- Rebased to latest upstream sources (see CHANGELOG.md)
ce1222
- Gating changes
ce1222
- Resolves: rhbz#1678273 rhbz#1690419 rhbz#1750240 rhbz#1759995 rhbz#1872378 rhbz#1909901 rhbz#1935594
ce1222
ce1222
* Thu Jun 10 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-2
ce1222
- Rebased to latest upstream sources (see CHANGELOG.md)
ce1222
- Updated pcs-web-ui
ce1222
- Resolves: rhbz#1285269 rhbz#1290830 rhbz#1720221 rhbz#1841019 rhbz#1854238 rhbz#1882291 rhbz#1885302 rhbz#1886342 rhbz#1896458 rhbz#1922996 rhbz#1927384 rhbz#1927394 rhbz#1930886 rhbz#1935594
ce1222
cfdf2f
* Mon Feb 01 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-1
cfdf2f
- Rebased to latest upstream sources (see CHANGELOG.md)
cfdf2f
- Updated pcs-web-ui
cfdf2f
- Updated python bundled dependencies: dacite, dataclasses
cfdf2f
- Resolves: rhbz#1457314 rhbz#1619818 rhbz#1667066 rhbz#1762816 rhbz#1794062 rhbz#1845470 rhbz#1856397 rhbz#1877762 rhbz#1917286
cfdf2f
cfdf2f
* Thu Dec 17 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.7-3
cfdf2f
- Rebased to latest upstream sources (see CHANGELOG.md)
cfdf2f
- Add BuildRequires: make
cfdf2f
- Resolves: rhbz#1667061 rhbz#1667066 rhbz#1774143 rhbz#1885658
cfdf2f
cfdf2f
* Fri Nov 13 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.7-2
cfdf2f
- Rebased to latest upstream sources (see CHANGELOG.md)
cfdf2f
- Changed BuildRequires from git to git-core
cfdf2f
- Resolves: rhbz#1869399 rhbz#1885658 rhbz#1896379
cfdf2f
cfdf2f
* Wed Oct 14 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.7-1
cfdf2f
- Rebased to latest upstream sources (see CHANGELOG.md)
cfdf2f
- Added python bundled dependency dateutil
cfdf2f
- Fixed virtual bundle provides for ember, handelbars, jquery and jquery-ui
cfdf2f
- Resolves: rhbz#1222691 rhbz#1741056 rhbz#1851335 rhbz#1862966 rhbz#1869399 rhbz#1873691 rhbz#1875301 rhbz#1883445 rhbz#1885658 rhbz#1885841
82c061
1f701a
* Tue Aug 11 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-4
1f701a
- Fixed invalid CIB error caused by resource and operation defaults with mixed and-or rules
1f701a
- Updated pcs-web-ui
1f701a
- Resolves: rhbz#1867516
1f701a
1f701a
* Thu Jul 16 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-3
1f701a
- Added Upgrade CIB if user specifies on-fail=demote
1f701a
- Fixed rpmdiff issue with binary stripping checker
1f701a
- Fixed removing non-empty tag by removing tagged resource group or clone
1f701a
- Resolves: rhbz#1843079 rhbz#1857295
1f701a
1f701a
* Thu Jun 25 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-2
1f701a
- Added resource and operation defaults that apply to specific resource/operation types
1f701a
- Added Requires/BuildRequires: python3-pyparsing
1f701a
- Added Requires: logrotate
1f701a
- Fixed resource and stonith documentation
1f701a
- Fixed rubygem licenses
1f701a
- Fixed update_times()
1f701a
- Updated rubygem rack to version 2.2.3
1f701a
- Removed BuildRequires execstack (it is not needed)
1f701a
- Resolves: rhbz#1805082 rhbz#1817547
1f701a
1f701a
* Thu Jun 11 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-1
1f701a
- Rebased to latest upstream sources (see CHANGELOG.md)
1f701a
- Added python bundled dependencies: dacite, dataclasses
1f701a
- Added new bundled rubygem ruby2_keywords
1f701a
- Updated rubygem bundled packages: backports, ethon, ffi, json, mustermann, rack, rack_protection, rack_test, sinatra, tilt
1f701a
- Updated pcs-web-ui
1f701a
- Updated test run, only tier0 tests are running during build
1f701a
- Removed BuildRequires needed for tier1 tests which were removed for build (pacemaker-cli, fence_agents-*, fence_virt, booth-site)
1f701a
- Resolves: rhbz#1387358 rhbz#1684676 rhbz#1722970 rhbz#1778672 rhbz#1782553 rhbz#1790460 rhbz#1805082 rhbz#1810017 rhbz#1817547 rhbz#1830552 rhbz#1832973 rhbz#1833114 rhbz#1833506 rhbz#1838853 rhbz#1839637
b4545b
bc4e95
* Fri Mar 20 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-6
bc4e95
- Fixed communication between python and ruby daemons
bc4e95
- Resolves: rhbz#1783106
bc4e95
bc4e95
* Thu Feb 13 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-5
bc4e95
- Fixed link to sbd man page from `sbd enable` doc
bc4e95
- Fixed safe-disabling clones, groups, bundles
bc4e95
- Fixed sinatra wrapper performance issue
bc4e95
- Fixed detecting fence history support
bc4e95
- Fixed cookie options
bc4e95
- Updated hint for 'resource create ... master'
bc4e95
- Updated gating tests execution, smoke tests run from upstream sources
bc4e95
- Resolves: rhbz#1750427 rhbz#1781303 rhbz#1783106 rhbz#1793574
bc4e95
bc4e95
* Mon Jan 20 2020 Tomas Jelinek <tojeline@redhat.com> - 0.10.4-4
bc4e95
- Fix testsuite for pacemaker-2.0.3-4
bc4e95
- Resolves: rhbz#1792946
bc4e95
bc4e95
* Mon Dec 02 2019 Ivan Devat <idevat@redhat.com> - 0.10.4-3
bc4e95
- Added basic resource views in new webUI
bc4e95
- Resolves: rhbz#1744060
bc4e95
bc4e95
* Fri Nov 29 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-2
bc4e95
- Added disaster recovery support
bc4e95
- Fixed error message when cluster is not set up
bc4e95
- Removed '-g' option from rubygem's cflags because it does not generate .gnu_debugdata and option '-K' for strip command was removed
bc4e95
- Resolves: rhbz#1676431 rhbz#1743731
bc4e95
bc4e95
* Thu Nov 28 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-1
bc4e95
- Rebased to latest upstream sources (see CHANGELOG.md)
bc4e95
- Add '-g' to rubygem's cflags
bc4e95
- Resolves: rhbz#1743704 rhbz#1741586 rhbz#1750427
bc4e95
bc4e95
* Mon Nov 18 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.3-2
bc4e95
- Rebased to latest upstream sources (see CHANGELOG.md)
bc4e95
- Do not strip .gnu_debugdata section from binaries
bc4e95
- Resolves: rhbz#1631514 rhbz#1631519 rhbz#1734361 rhbz#1743704
bc4e95
bc4e95
* Mon Oct 21 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.3-1
bc4e95
- Rebased to latest upstream sources (see CHANGELOG.md)
bc4e95
- Resolves: rhbz#1442116 rhbz#1631514 rhbz#1631519 rhbz#1673835 rhbz#1698763 rhbz#1728890 rhbz#1734361 rhbz#1743704 rhbz#1743735 rhbz#1744056
bc4e95
409d62
* Tue Aug 13 2019 Tomas Jelinek <tojeline@redhat.com> - 0.10.2-4
409d62
- Generate 256 bytes long corosync authkey so clusters can start when FIPS is enabled
409d62
- Resolves: rhbz#1740218
409d62
409d62
* Mon Jul 08 2019 Ivan Devat <idevat@redhat.com> - 0.10.2-3
409d62
- Options starting with - and -- are no longer ignored for non-root users
409d62
- Resolves: rhbz#1725183
409d62
409d62
* Thu Jun 27 2019 Ivan Devat <idevat@redhat.com> - 0.10.2-2
409d62
- Fixed crashes in the `pcs host auth` command
409d62
- Command `pcs resource bundle reset` no longer accepts the container type
409d62
- Fixed id conflict with current bundle configuration in i`pcs resource bundle reset`
409d62
- Resolves: rhbz#1657166 rhbz#1676957
409d62
409d62
* Thu Jun 13 2019 Ivan Devat <idevat@redhat.com> - 0.10.2-1
409d62
- Rebased to latest upstream sources (see CHANGELOG.md)
409d62
- Added pam as required package
409d62
- An alternative webUI rebased to latest upstream sources
409d62
- Resolves: rhbz#1673907 rhbz#1679196 rhbz#1714663 rhbz#1717113
409d62
409d62
* Tue May 21 2019 Ivan Devat <idevat@redhat.com> - 0.10.1-9
409d62
- Added git as required package in tests/tests.yml
409d62
- Resolves: rhbz#1673907
409d62
409d62
* Mon May 20 2019 Ivan Devat <idevat@redhat.com> - 0.10.1-8
409d62
- Rebased to latest upstream sources (see CHANGELOG.md)
409d62
- Added an alternative webUI
409d62
- Resolves: rhbz#1673907 rhbz#1679197 rhbz#1667058
409d62
409d62
* Mon May 06 2019 Ondrej Mular <omular@redhat.com> - 0.10.1-7
409d62
- Enable upstream tests in gating
409d62
- Update tilt ruby gem
409d62
- Resolves: rhbz#1682129
409d62
409d62
* Thu May 02 2019 Ondrej Mular <omular@redhat.com> - 0.10.1-6
409d62
- Rebased to latest upstream sources (see CHANGELOG.md)
409d62
- Updated Red Hat logo
409d62
- Improved configuration files permissions in rpm
409d62
- Removed multi_json rubygem
409d62
- Excluded files required for building gems from rpm
409d62
- Resolves: rhbz#1625386 rhbz#1653316 rhbz#1655055 rhbz#1657166 rhbz#1659144 rhbz#1660702 rhbz#1664828 rhbz#1665404 rhbz#1667040 rhbz#1667053 rhbz#1667058 rhbz#1667090 rhbz#1668223 rhbz#1673822 rhbz#1673825 rhbz#1674005 rhbz#1676945 rhbz#1676957 rhbz#1682129 rhbz#1687562 rhbz#1687965 rhbz#1698373 rhbz#1700543
409d62
409d62
* Mon Mar 25 2019 Ondrej Mular <omular@redhat.com> - 0.10.1-5
409d62
- Enable gating
409d62
- Resolves: rhbz#1682129
3f6cae
50c00a
* Wed Jan 30 2019 Ivan Devat <idevat@redhat.com> - 0.10.1-4
50c00a
- Fixed crash when using unsupported options in commands `pcs status` and `pcs config`
50c00a
- Resolves: rhbz#1668422
50c00a
50c00a
* Mon Jan 14 2019 Ivan Devat <idevat@redhat.com> - 0.10.1-3
50c00a
- Fixed configuration names of link options that pcs puts to corosync.conf during cluster setup
50c00a
- Fixed webUI issues in cluster setup
50c00a
- Command `pcs resource show` was returned back and was signed as deprecated
50c00a
- Added dependency on libknet1-plugins-all
50c00a
- Resolves: rhbz#1661059 rhbz#1659051 rhbz#1664057
50c00a
50c00a
* Thu Dec 13 2018 Ondrej Mular <omular@redhat.com> - 0.10.1-2
50c00a
- Fix documentation
50c00a
- Resolves: rhbz#1656953
50c00a
50c00a
* Fri Nov 23 2018 Ivan Devát <idevat@redhat.com> - 0.10.1-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Udp/udpu transport is marked as unsupported
50c00a
- Require pcmk-cluster-manager instead of pacemaker
50c00a
- Require platform-python-setuptools instead of python3-setuptools
50c00a
- Resolves: rhbz#1650109 rhbz#1183103 rhbz#1648942 rhbz#1650510 rhbz#1388398 rhbz#1651197 rhbz#1553736
50c00a
50c00a
* Fri Oct 26 2018 Ondrej Mular <omular@redhat.com> - 0.10.0.alpha.7-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Resolves: rhbz#1553736 rhbz#1615891 rhbz#1436217 rhbz#1596050 rhbz#1554310 rhbz#1553718 rhbz#1638852 rhbz#1620190 rhbz#1158816 rhbz#1640477
50c00a
50c00a
* Wed Oct 17 2018 Ondrej Mular <omular@redhat.com> - 0.10.0.alpha.6-3
50c00a
- Add dependency on rubygems package
50c00a
- Resolves: rhbz#1553736
50c00a
50c00a
* Thu Oct 04 2018 Ondrej Mular <omular@redhat.com> - 0.10.0.alpha.6-2
50c00a
- Enable tests
50c00a
- Cleanup of unnecessary bundle ruby-gem files
50c00a
- Switch Require: python3 dependency to platform-python
50c00a
- Added required linker flags
50c00a
- Resolves: rhbz#1633613 rhbz#1630616
50c00a
50c00a
* Wed Sep 19 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.6-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Resolves: rhbz#1553736
50c00a
50c00a
* Thu Sep 13 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.5-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Resolves: rhbz#1553736 rhbz#1542288 rhbz#1619620
50c00a
50c00a
* Thu Sep 13 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.4-2
50c00a
- Fixed symlinks correction for rubygem ffi
50c00a
- Resolves: rhbz#1553736
50c00a
50c00a
* Wed Sep 12 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.4-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Resolves: rhbz#1549535 rhbz#1578955 rhbz#1158816 rhbz#1183103 rhbz#1536121 rhbz#1573344 rhbz#1619620 rhbz#1533866 rhbz#1578898 rhbz#1595829 rhbz#1605185 rhbz#1615420 rhbz#1566430 rhbz#1578891 rhbz#1591308 rhbz#1554953
50c00a
50c00a
* Mon Aug 06 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.3-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Removed ruby dependencies (the dependencies are bundled instead)
50c00a
- Resolves: rhbz#1611990
50c00a
50c00a
* Thu Aug 02 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
50c00a
* Wed Jul 18 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.1-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
50c00a
* Mon Apr 09 2018 Ondrej Mular <omular@redhat.com> - 0.9.164-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Fixed: CVE-2018-1086, CVE-2018-1079
50c00a
50c00a
* Mon Feb 26 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-2
50c00a
- Fixed crash when adding a node to a cluster
50c00a
50c00a
* Tue Feb 20 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- Adapted for Rack 2 and Sinatra 2
50c00a
50c00a
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.160-5
50c00a
- Escape macros in %%changelog
50c00a
50c00a
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.160-4
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
50c00a
50c00a
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 0.9.160-3
50c00a
- Rebuilt for switch to libxcrypt
50c00a
50c00a
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.160-2
50c00a
- F-28: rebuild for ruby25
50c00a
- Workaround for gem install option
50c00a
50c00a
* Wed Oct 18 2017 Ondrej Mular <omular@redhat.com> - 0.9.160-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
- All pcs tests are temporarily disabled because of issues in pacemaker.
50c00a
50c00a
* Thu Sep 14 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-4
50c00a
- Bundle rubygem-rack-protection which is being updated to 2.0.0 in Fedora.
50c00a
- Removed setuptools patch.
50c00a
- Disabled debuginfo subpackage.
50c00a
50c00a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-3
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
50c00a
50c00a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-2
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
50c00a
50c00a
* Wed Jul 12 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
50c00a
* Tue May 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-3
50c00a
- Fixed python locales issue preventing build-time tests to pass
50c00a
- Bundle rubygem-tilt which is being retired from Fedora
50c00a
50c00a
* Thu Mar 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-2
50c00a
- Fixed Cross-site scripting (XSS) vulnerability in web UI CVE-2017-2661
50c00a
- Re-added support for clufter as it is now available for Python 3
50c00a
50c00a
* Wed Feb 22 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-1
50c00a
- Rebased to latest upstream sources (see CHANGELOG.md)
50c00a
50c00a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.155-3
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
50c00a
50c00a
* Thu Jan 12 2017 Vít Ondruch <vondruch@redhat.com> - 0.9.155-2
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
50c00a
50c00a
* Wed Jan 04 2017 Adam Williamson <awilliam@redhat.com> - 0.9.155-1
50c00a
- Latest release 0.9.155
50c00a
- Fix tests with Python 3.6 and lxml 3.7
50c00a
- Package the license as license, not doc
50c00a
- Use -f param for rm when wiping test directories as they are nested now
50c00a
50c00a
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com>
50c00a
- Rebuild for Python 3.6
50c00a
50c00a
* Tue Oct 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-2
50c00a
- Fixed upgrading from pcs-0.9.150
50c00a
50c00a
* Thu Sep 22 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-1
50c00a
- Re-synced to upstream sources
50c00a
- Spec file cleanup and fixes
50c00a
50c00a
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.150-2
50c00a
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
50c00a
50c00a
* Mon Apr 11 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.150-1
50c00a
- Re-synced to upstream sources
50c00a
- Make pcs depend on python3
50c00a
- Spec file cleanup
50c00a
50c00a
* Tue Feb 23 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-2
50c00a
- Fixed rubygems issues which prevented pcsd from starting
50c00a
- Added missing python-lxml dependency
50c00a
50c00a
* Thu Feb 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-1
50c00a
- Re-synced to upstream sources
50c00a
- Security fix for CVE-2016-0720, CVE-2016-0721
50c00a
- Fixed rubygems issues which prevented pcsd from starting
50c00a
- Rubygems built with RELRO
50c00a
- Spec file cleanup
50c00a
- Fixed multilib .pyc/.pyo issue
50c00a
50c00a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.144-3
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
50c00a
50c00a
* Tue Jan 12 2016 Vít Ondruch <vondruch@redhat.com> - 0.9.144-2
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
50c00a
50c00a
* Fri Sep 18 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.144-1
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-2
50c00a
- Added requirement for psmisc for killall
50c00a
50c00a
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-1
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.140-2
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
50c00a
50c00a
* Fri Jun 05 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.140-1
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Fri May 22 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-4
50c00a
- Fix for CVE-2015-1848, CVE-2015-3983 (sessions not signed)
50c00a
50c00a
* Thu Mar 26 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-3
50c00a
- Add BuildRequires: systemd (rhbz#1206253)
50c00a
50c00a
* Fri Feb 27 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-2
50c00a
- Reflect clufter inclusion (rhbz#1180723)
50c00a
50c00a
* Thu Feb 19 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-1
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Sat Jan 17 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.115-5
50c00a
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
50c00a
50c00a
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-4
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
50c00a
50c00a
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-3
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
50c00a
50c00a
* Tue May 06 2014 Tomas Jelinek <tojeline@redhat.com> - 0.9.115-2
50c00a
- Rebuild to fix ruby dependencies
50c00a
50c00a
* Mon Apr 21 2014 Chris Feist <cfeist@redhat.com> - 0.9.115-1
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Fri Dec 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.102-1
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Wed Jun 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.48-1
50c00a
- Rebuild with upstream sources
50c00a
50c00a
* Thu Jun 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-5
50c00a
- Added fixes for building rpam with ruby-2.0.0
50c00a
50c00a
* Mon Jun 03 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-4
50c00a
- Rebuild with upstream sources
50c00a
50c00a
* Tue May 07 2013 Chris Feist <cfeist@redhat.com> - 0.9.41-2
50c00a
- Resynced to upstream sources
50c00a
50c00a
* Fri Apr 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.39-1
50c00a
- Fixed gem building
50c00a
- Re-synced to upstream sources
50c00a
50c00a
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-4
50c00a
- Don't try to build gems at all
50c00a
50c00a
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-3
50c00a
- Removed all gems from build, will need to find pam package in the future
50c00a
50c00a
* Mon Mar 25 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-2
50c00a
- Removed duplicate libraries already present in fedora
50c00a
50c00a
* Mon Mar 18 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-1
50c00a
- Resynced to latest upstream
50c00a
50c00a
* Mon Mar 11 2013 Chris Feist <cfeist@redhat.com> - 0.9.33-1
50c00a
- Resynched to latest upstream
50c00a
- pcsd has been moved to /usr/lib to fix /usr/local packaging issues
50c00a
50c00a
* Thu Feb 21 2013 Chris Feist <cfeist@redhat.com> - 0.9.32-1
50c00a
- Resynced to latest version of pcs/pcsd
50c00a
50c00a
* Mon Nov 05 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-3
50c00a
- Build on all archs
50c00a
50c00a
* Thu Oct 25 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-2
50c00a
- Resync to latest version of pcs
50c00a
- Added pcsd daemon
50c00a
50c00a
* Mon Oct 08 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.26-1
50c00a
- Resync to latest version of pcs
50c00a
50c00a
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.24-1
50c00a
- Resync to latest version of pcs
50c00a
50c00a
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.23-1
50c00a
- Resync to latest version of pcs
50c00a
50c00a
* Wed Sep 12 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.22-1
50c00a
- Resync to latest version of pcs
50c00a
50c00a
* Thu Sep 06 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.19-1
50c00a
- Resync to latest version of pcs
50c00a
50c00a
* Tue Aug 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.12-1
50c00a
- Resync to latest version of pcs
50c00a
50c00a
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.1-2
50c00a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
50c00a
50c00a
* Thu May 24 2012 Chris Feist <cfeist@redhat.com> - 0.9.4-1
50c00a
- Resync to latest version of pcs
50c00a
- Move cluster creation options to cluster sub command.
50c00a
50c00a
* Mon May 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.3.1-1
50c00a
- Resync to latest version of pcs which includes fixes to work with F17.
50c00a
50c00a
* Mon Mar 19 2012 Chris Feist <cfeist@redhat.com> - 0.9.2.4-1
50c00a
- Resynced to latest version of pcs
50c00a
50c00a
* Mon Jan 23 2012 Chris Feist <cfeist@redhat.com> - 0.9.1-1
50c00a
- Updated BuildRequires and %%doc section for fedora
50c00a
50c00a
* Fri Jan 20 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-2
50c00a
- Updated spec file for fedora specific changes
50c00a
50c00a
* Mon Jan 16 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-1
50c00a
- Initial Build