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