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