2fc0ad8
Name: pcs
eff9068
Version: 0.10.8
d6820b5
Release: 4%{?dist}
Ivan Devat 6341d90
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
Ivan Devat 6341d90
# GPLv2: pcs
08d2960
# MIT: ember, handlebars, jquery, jquery-ui
7bbab36
License: GPLv2 and MIT
0a8dade
URL: https://github.com/ClusterLabs/pcs
2fc0ad8
Summary: Pacemaker Configuration System
0a8dade
7bbab36
%global version_or_commit %{version}
7bbab36
# %%global version_or_commit 67591ed1487cb0aefa181fdfc166c8a66b55d25a
ca4645e
%global pcs_source_name %{name}-%{version_or_commit}
ca4645e
ca4645e
# ui_commit can be determined by hash, tag or branch
eff9068
%global ui_commit 0.1.5
ca4645e
%global ui_src_name pcs-web-ui-%{ui_commit}
Ivan Devat 47f1518
Ivan Devat 47f1518
%global pcs_snmp_pkg_name  pcs-snmp
Ivan Devat a504446
Ivan Devat a504446
%global pyagentx_version 0.4.pcs.2
eff9068
%global dacite_version 1.6.0
Ivan Devat a504446
08d2960
# bundled libraries for old web-ui
08d2960
%global ember_version 1.4.0
08d2960
%global jquery_version 1.9.1
08d2960
%global jquery_ui_version 1.10.1
08d2960
%global handlebars_version 1.2.1
08d2960
Ivan Devat 7e17d16
# We do not use _libdir macro because upstream is not prepared for it.
Ivan Devat 7e17d16
# Pcs does not include binaries and thus it should live in /usr/lib. Tornado
Ivan Devat 7e17d16
# and gems include binaries and thus it should live in /usr/lib64. But the
Ivan Devat 7e17d16
# path to tornado/gems is hardcoded in pcs sources. Modify hard links in pcs
Ivan Devat 7e17d16
# sources is not the way since then rpmdiff complains that the same file has
Ivan Devat 7e17d16
# different content in different architectures.
Ivan Devat 7e17d16
%global pcs_libdir %{_prefix}/lib
Ivan Devat a504446
%global bundled_src_dir pcs/bundled
ca4645e
%global pcsd_public_dir pcsd/public
29a1625
0a8dade
#part after last slash is recognized as filename in look-aside repository
0a8dade
#desired name is achived by trick with hash anchor
ca4645e
Source0: %{url}/archive/%{version_or_commit}/%{pcs_source_name}.tar.gz
Ivan Devat a504446
f0ef8cf
Source41: https://github.com/ondrejmular/pyagentx/archive/v%{pyagentx_version}/pyagentx-%{pyagentx_version}.tar.gz
ebc60dd
Source44: https://github.com/konradhalas/dacite/archive/v%{dacite_version}/dacite-%{dacite_version}.tar.gz
2fc0ad8
ca4645e
Source100: https://github.com/idevat/pcs-web-ui/archive/%{ui_commit}/%{ui_src_name}.tar.gz
ca4645e
Source101: https://github.com/idevat/pcs-web-ui/releases/download/%{ui_commit}/pcs-web-ui-node-modules-%{ui_commit}.tar.xz
ca4645e
eff9068
# Patch0: name.patch
0a8dade
0a8dade
# git for patches
f5aa587
BuildRequires: make
eff9068
BuildRequires: git-core
Ivan Devat 6341d90
#printf from coreutils is used in makefile
Ivan Devat 6341d90
BuildRequires: coreutils
0a8dade
# python for pcs
Ivan Devat 6341d90
BuildRequires: python3 >= 3.6
08d2960
BuildRequires: python3-dateutil >= 2.7.0
195f96a
BuildRequires: python3-devel
195f96a
BuildRequires: python3-setuptools
195f96a
BuildRequires: python3-pycurl
08d2960
BuildRequires: python3-pyparsing
7bbab36
BuildRequires: python3-tornado
0a8dade
# ruby and gems for pcsd
Ivan Devat 6341d90
BuildRequires: ruby >= 2.2.0
195f96a
BuildRequires: ruby-devel
195f96a
BuildRequires: rubygem-backports
195f96a
BuildRequires: rubygem-ethon
195f96a
BuildRequires: rubygem-ffi
195f96a
BuildRequires: rubygem-io-console
195f96a
BuildRequires: rubygem-json
195f96a
BuildRequires: rubygem-open4
Ivan Devat 47f1518
BuildRequires: rubygem-rack
Ivan Devat 47f1518
BuildRequires: rubygem-rack-protection
195f96a
BuildRequires: rubygem-rack-test
eff9068
%if 0%{?fedora} >= 34 || 0%{?eln} || 0%{?rhel} >= 9
415687d
BuildRequires: rubygem(rexml)
eff9068
%endif
Ivan Devat 47f1518
BuildRequires: rubygem-sinatra
7bbab36
BuildRequires: rubygem-tilt
195f96a
# ruby libraries for tests
195f96a
BuildRequires: rubygem-test-unit
Ivan Devat 7e17d16
# for touching patch files (sanitization function)
2fc0ad8
BuildRequires: diffstat
Ivan Devat 6341d90
# for post, preun and postun macros
Ivan Devat 6341d90
BuildRequires: systemd
0a8dade
# for tests
Ivan Devat 6341d90
BuildRequires: python3-lxml
Ivan Devat 6341d90
BuildRequires: python3-pyOpenSSL
Ivan Devat 6341d90
# pcsd fonts and font management tools for creating symlinks to fonts
Ivan Devat 6341d90
BuildRequires: fontconfig
Ivan Devat 6341d90
BuildRequires: liberation-sans-fonts
Ivan Devat 6341d90
BuildRequires: overpass-fonts
0a8dade
ca4645e
# for building web ui
ca4645e
BuildRequires: npm
ca4645e
0a8dade
# python and libraries for pcs, setuptools for pcs entrypoint
Ivan Devat 6341d90
Requires: python3 >= 3.6
08d2960
Requires: python3-dateutil >= 2.7.0
195f96a
Requires: python3-lxml
195f96a
Requires: python3-setuptools
Ivan Devat 6341d90
Requires: python3-pycurl
08d2960
Requires: python3-pyparsing
7bbab36
Requires: python3-tornado
0a8dade
# ruby and gems for pcsd
Ivan Devat 6341d90
Requires: ruby >= 2.2.0
195f96a
Requires: rubygem-backports
195f96a
Requires: rubygem-ethon
195f96a
Requires: rubygem-ffi
195f96a
Requires: rubygem-json
195f96a
Requires: rubygem-open4
Ivan Devat 47f1518
Requires: rubygem-rack
Ivan Devat 47f1518
Requires: rubygem-rack-protection
195f96a
Requires: rubygem-rack-test
eff9068
%if 0%{?fedora} >= 34 || 0%{?eln} || 0%{?rhel} >= 9
415687d
Requires: rubygem(rexml)
eff9068
Requires: rubygem(webrick)
eff9068
%endif
Ivan Devat 47f1518
Requires: rubygem-sinatra
7bbab36
Requires: rubygem-tilt
a859606
# ruby and gems for pcsd-ruby
a859606
Requires: rubygem-daemons
a859606
Requires: rubygem-eventmachine
a859606
Requires: rubygem-thin
0a8dade
# for killall
0a8dade
Requires: psmisc
0a8dade
# for working with certificates (validation etc.)
0a8dade
Requires: openssl
Ivan Devat 6341d90
Requires: python3-pyOpenSSL
0a8dade
# cluster stack and related packages
Ivan Devat 7e17d16
Suggests: pacemaker
Ivan Devat 7e17d16
Requires: (corosync >= 2.99 if pacemaker)
Ivan Devat 7e17d16
# pcs enables corosync encryption by default so we require libknet1-plugins-all
ca4645e
Requires: (libknet1-plugins-all if corosync)
Ivan Devat 7e17d16
Requires: pacemaker-cli >= 2.0.0
0a8dade
# for post, preun and postun macros
0a8dade
Requires(post): systemd
0a8dade
Requires(preun): systemd
0a8dade
Requires(postun): systemd
ca4645e
# pam is used for authentication inside daemon (python ctypes)
ca4645e
# more details: https://bugzilla.redhat.com/show_bug.cgi?id=1717113
ca4645e
Requires: pam
Ivan Devat 6341d90
# pcsd fonts
Ivan Devat 6341d90
Requires: liberation-sans-fonts
Ivan Devat 6341d90
Requires: overpass-fonts
a0d1bea
a859606
Provides: bundled(dacite) = %{dacite_version}
08d2960
Provides: bundled(ember) = %{ember_version}
08d2960
Provides: bundled(handlebars) = %{handlebars_version}
08d2960
Provides: bundled(jquery) = %{jquery_version}
08d2960
Provides: bundled(jquery-ui) = %{jquery_ui_version}
bea4b7d
a0d1bea
%description
a0d1bea
pcs is a corosync and pacemaker configuration tool.  It permits users to
195f96a
easily view, modify and create pacemaker based clusters.
a0d1bea
Ivan Devat 47f1518
# pcs-snmp package definition
Ivan Devat 47f1518
%package -n %{pcs_snmp_pkg_name}
Ivan Devat 47f1518
Summary: Pacemaker cluster SNMP agent
Ivan Devat 6341d90
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
Ivan Devat 6341d90
# GPLv2: pcs
Ivan Devat 6341d90
# BSD-2-Clause: pyagentx
Ivan Devat 6341d90
License: GPLv2 and BSD-2-Clause
Ivan Devat 47f1518
URL: https://github.com/ClusterLabs/pcs
Ivan Devat 47f1518
Ivan Devat 47f1518
# tar for unpacking pyagetx source tar ball
Ivan Devat 47f1518
BuildRequires: tar
Ivan Devat 47f1518
Ivan Devat 47f1518
Requires: pcs = %{version}-%{release}
Ivan Devat 47f1518
Requires: pacemaker
Ivan Devat 47f1518
Requires: net-snmp
Ivan Devat 47f1518
Ivan Devat 47f1518
Provides: bundled(pyagentx) = %{pyagentx_version}
Ivan Devat 47f1518
Ivan Devat 47f1518
%description -n %{pcs_snmp_pkg_name}
Ivan Devat 47f1518
SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)
Ivan Devat 47f1518
a0d1bea
%prep
ca4645e
%autosetup -p1 -S git -n %{pcs_source_name}
6044b69
29a1625
# -- following is inspired by python-simplejon.el5 --
2fc0ad8
# Update timestamps on the files touched by a patch, to avoid non-equal
29a1625
# .pyc/.pyo files across the multilib peers within a build
29a1625
29a1625
update_times(){
29a1625
  # update_times <reference_file> <file_to_touch> ...
29a1625
  # set the access and modification times of each file_to_touch to the times
29a1625
  # of reference_file
29a1625
29a1625
  # put all args to file_list
29a1625
  file_list=("$@")
29a1625
  # first argument is reference_file: so take it and remove from file_list
29a1625
  reference_file=${file_list[0]}
29a1625
  unset file_list[0]
29a1625
29a1625
  for fname in ${file_list[@]}; do
29a1625
    touch -r $reference_file $fname
2fc0ad8
  done
2fc0ad8
}
2fc0ad8
29a1625
update_times_patch(){
29a1625
  # update_times_patch <patch_file_name>
29a1625
  # set the access and modification times of each file in patch to the times
29a1625
  # of patch_file_name
29a1625
29a1625
  patch_file_name=$1
29a1625
29a1625
  # diffstat
29a1625
  # -l lists only the filenames. No histogram is generated.
29a1625
  # -p override the logic that strips common pathnames,
29a1625
  #    simulating the patch "-p" option. (Strip the smallest prefix containing
29a1625
  #    num leading slashes from each file name found in the patch file)
29a1625
  update_times ${patch_file_name} `diffstat -p1 -l ${patch_file_name}`
29a1625
}
29a1625
eff9068
# update_times_patch %%{PATCH0}
ca4645e
ca4645e
# prepare dirs/files necessary for building web ui
ca4645e
# inside SOURCE100 is only directory %%{ui_src_name}
ca4645e
tar -xzf %SOURCE100 -C %{pcsd_public_dir}
ca4645e
tar -xf %SOURCE101 -C %{pcsd_public_dir}/%{ui_src_name}
2fc0ad8
Ivan Devat a504446
# 3) dir for python bundles
Ivan Devat 6341d90
mkdir -p %{bundled_src_dir}
Ivan Devat 6341d90
Ivan Devat a504446
# 4) sources for pyagentx
Ivan Devat 6341d90
tar -xzf %SOURCE41 -C %{bundled_src_dir}
Ivan Devat 6341d90
mv %{bundled_src_dir}/pyagentx-%{pyagentx_version} %{bundled_src_dir}/pyagentx
Ivan Devat 7e17d16
update_times %SOURCE41 `find %{bundled_src_dir}/pyagentx -follow`
Ivan Devat 6341d90
cp %{bundled_src_dir}/pyagentx/LICENSE.txt pyagentx_LICENSE.txt
Ivan Devat 6341d90
cp %{bundled_src_dir}/pyagentx/CONTRIBUTORS.txt pyagentx_CONTRIBUTORS.txt
Ivan Devat 6341d90
cp %{bundled_src_dir}/pyagentx/README.md pyagentx_README.md
Ivan Devat 6341d90
a859606
# 7) sources for python dacite
a859606
tar -xzf %SOURCE44 -C %{bundled_src_dir}
a859606
mv %{bundled_src_dir}/dacite-%{dacite_version} %{bundled_src_dir}/dacite
a859606
cp %{bundled_src_dir}/dacite/LICENSE dacite_LICENSE
a859606
cp %{bundled_src_dir}/dacite/README.md dacite_README.md
a859606
a0d1bea
%build
3e00919
%define debug_package %{nil}
a0d1bea
a0d1bea
%install
a0d1bea
rm -rf $RPM_BUILD_ROOT
a0d1bea
pwd
Ivan Devat a504446
ca4645e
# build web ui and put it to pcsd
ca4645e
make -C %{pcsd_public_dir}/%{ui_src_name} build
ca4645e
mv %{pcsd_public_dir}/%{ui_src_name}/build  pcsd/public/ui
ca4645e
rm -r %{pcsd_public_dir}/%{ui_src_name}
ca4645e
Ivan Devat a504446
# main pcs install
2aa2099
%make_install \
29a1625
  PREFIX=%{_prefix} \
29a1625
  SYSTEMD_UNIT_DIR=%{_unitdir} \
29a1625
  LIB_DIR=%{pcs_libdir} \
0a8dade
  PYTHON=%{__python3} \
0a8dade
  PYTHON_SITELIB=%{python3_sitelib} \
29a1625
  BASH_COMPLETION_DIR=%{_datadir}/bash-completion/completions \
Ivan Devat 6341d90
  BUNDLE_PYAGENTX_SRC_DIR=`readlink -f %{bundled_src_dir}/pyagentx` \
a859606
  BUNDLE_DACITE_SRC_DIR=`readlink -f %{bundled_src_dir}/dacite` \
Ivan Devat a504446
  BUILD_GEMS=false \
4ad2fc6
  SYSTEMCTL_OVERRIDE=true \
0a8dade
  hdrdir="%{_includedir}" \
0a8dade
  rubyhdrdir="%{_includedir}" \
0a8dade
  includedir="%{_includedir}"
0a8dade
0a8dade
%check
beb8bbb
# In the building environment LC_CTYPE is set to C which causes tests to fail
beb8bbb
# due to python prints a warning about it to stderr. The following environment
beb8bbb
# variable disables the warning.
beb8bbb
# On the live system either UTF8 locale is set or the warning is emmited
beb8bbb
# which breaks pcs. That is the correct behavior since with wrong locales it
beb8bbb
# would be probably broken anyway.
beb8bbb
# The main concern here is to make the tests pass.
beb8bbb
# See https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale for details.
beb8bbb
export PYTHONCOERCECLOCALE=0
beb8bbb
0a8dade
run_all_tests(){
29a1625
  #run pcs tests
0a8dade
0a8dade
  # disabled tests:
0a8dade
  #
ca4645e
  BUNDLED_LIB_LOCATION=$RPM_BUILD_ROOT%{pcs_libdir}/pcs/bundled/packages \
7bbab36
    %{__python3} pcs_test/suite.py --tier0 -v --vanilla --all-but \
7bbab36
    pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_get_not_locked \
7bbab36
    pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_post_not_locked \
c088c22
c088c22
  test_result_python=$?
0a8dade
0a8dade
  #run pcsd tests and remove them
29a1625
  pcsd_dir=$RPM_BUILD_ROOT%{pcs_libdir}/pcsd
7bbab36
  # GEM_HOME is not needed anymore since all required gems are in fedora
7bbab36
  ruby \
0a8dade
    -I${pcsd_dir} \
0a8dade
    -I${pcsd_dir}/test \
0a8dade
    ${pcsd_dir}/test/test_all_suite.rb
0a8dade
  test_result_ruby=$?
Ivan Devat 7e17d16
0a8dade
  if [ $test_result_python -ne 0 ]; then
0a8dade
    return $test_result_python
0a8dade
  fi
0a8dade
  return $test_result_ruby
0a8dade
}
0a8dade
ca4645e
remove_all_tests() {
ca4645e
  pcsd_dir=$RPM_BUILD_ROOT%{pcs_libdir}/pcsd
ca4645e
  #remove pcsd tests, we do not distribute them in the rpm
ca4645e
  rm -r -v ${pcsd_dir}/test
ca4645e
ca4645e
  # remove javascript testing files
ca4645e
  rm -r -v ${pcsd_dir}/public/js/dev
ca4645e
}
ca4645e
0a8dade
run_all_tests
ca4645e
remove_all_tests
4bfe6fb
a859606
%posttrans
a859606
# Make sure the new version of the daemon is runnning.
a859606
# Also, make sure to start pcsd-ruby if it hasn't been started or even
a859606
# installed before. This is done by restarting pcsd.service.
a859606
%{_bindir}/systemctl daemon-reload
a859606
%{_bindir}/systemctl try-restart pcsd.service
a859606
4bfe6fb
%post
4bfe6fb
%systemd_post pcsd.service
a859606
%systemd_post pcsd-ruby.service
4bfe6fb
Ivan Devat 47f1518
%post -n %{pcs_snmp_pkg_name}
Ivan Devat 47f1518
%systemd_post pcs_snmp_agent.service
Ivan Devat 47f1518
4bfe6fb
%preun
4bfe6fb
%systemd_preun pcsd.service
a859606
%systemd_preun pcsd-ruby.service
4bfe6fb
Ivan Devat 6341d90
%preun -n %{pcs_snmp_pkg_name}
Ivan Devat 6341d90
%systemd_preun pcs_snmp_agent.service
Ivan Devat 6341d90
4bfe6fb
%postun
4bfe6fb
%systemd_postun_with_restart pcsd.service
a859606
%systemd_postun_with_restart pcsd-ruby.service
337b855
Ivan Devat 6341d90
%postun -n %{pcs_snmp_pkg_name}
Ivan Devat 6341d90
%systemd_postun_with_restart pcs_snmp_agent.service
Ivan Devat 6341d90
a0d1bea
%files
195f96a
%doc CHANGELOG.md
4ad2fc6
%doc README.md
a859606
%doc dacite_README.md
a859606
%license dacite_LICENSE
f104d71
%license COPYING
de104aa
%{python3_sitelib}/pcs
ca4645e
%{python3_sitelib}/pcs-%{version}-py3.*.egg-info
29a1625
%{_sbindir}/pcs
29a1625
%{_sbindir}/pcsd
Ivan Devat 7e17d16
%{pcs_libdir}/pcs/pcs_internal
29a1625
%{pcs_libdir}/pcsd/*
a859606
%{pcs_libdir}/pcs/bundled/packages/dacite*
29a1625
%{_unitdir}/pcsd.service
a859606
%{_unitdir}/pcsd-ruby.service
29a1625
%{_datadir}/bash-completion/completions/pcs
29a1625
%{_sharedstatedir}/pcsd
29a1625
%{_sysconfdir}/pam.d/pcsd
29a1625
%dir %{_var}/log/pcsd
29a1625
%config(noreplace) %{_sysconfdir}/logrotate.d/pcsd
29a1625
%config(noreplace) %{_sysconfdir}/sysconfig/pcsd
ca4645e
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/cfgsync_ctl
ca4645e
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/known-hosts
ca4645e
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.cookiesecret
ca4645e
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.crt
ca4645e
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.key
ca4645e
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_settings.conf
ca4645e
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_users.conf
4bfe6fb
%{_mandir}/man8/pcs.*
779e837
%{_mandir}/man8/pcsd.*
29a1625
%exclude %{pcs_libdir}/pcsd/*.debian
bdca7ba
%exclude %{pcs_libdir}/pcsd/Gemfile
bdca7ba
%exclude %{pcs_libdir}/pcsd/Gemfile.lock
bdca7ba
%exclude %{pcs_libdir}/pcsd/Makefile
29a1625
%exclude %{pcs_libdir}/pcsd/pcsd.conf
bdca7ba
%exclude %{pcs_libdir}/pcsd/pcsd.service
a859606
%exclude %{pcs_libdir}/pcsd/pcsd-ruby.service
29a1625
%exclude %{pcs_libdir}/pcsd/pcsd.8
Ivan Devat 7e17d16
%exclude %{pcs_libdir}/pcsd/public/js/dev/*
195f96a
%exclude %{python3_sitelib}/pcs/bash_completion
de104aa
%exclude %{python3_sitelib}/pcs/pcs.8
de104aa
%exclude %{python3_sitelib}/pcs/pcs
a0d1bea
Ivan Devat 47f1518
%files -n %{pcs_snmp_pkg_name}
29a1625
%{pcs_libdir}/pcs/pcs_snmp_agent
29a1625
%{pcs_libdir}/pcs/bundled/packages/pyagentx*
29a1625
%{_unitdir}/pcs_snmp_agent.service
29a1625
%{_datadir}/snmp/mibs/PCMK-PCS*-MIB.txt
Ivan Devat 47f1518
%{_mandir}/man8/pcs_snmp_agent.*
29a1625
%config(noreplace) %{_sysconfdir}/sysconfig/pcs_snmp_agent
Ivan Devat 47f1518
%doc CHANGELOG.md
Ivan Devat 47f1518
%doc pyagentx_CONTRIBUTORS.txt
Ivan Devat 47f1518
%doc pyagentx_README.md
Ivan Devat 6341d90
%license COPYING
Ivan Devat 6341d90
%license pyagentx_LICENSE.txt
Ivan Devat 47f1518
a0d1bea
%changelog
d6820b5
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.8-4
d6820b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d6820b5
0edfcc7
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.8-3
0edfcc7
- Rebuilt for Python 3.10
0edfcc7
c125a16
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.10.8-2
c125a16
- Rebuilt for updated systemd-rpm-macros
c125a16
  See https://pagure.io/fesco/issue/2583.
c125a16
eff9068
* Thu Feb 04 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-1
eff9068
- Rebased to latest upstream sources (see CHANGELOG.md)
eff9068
- Updated pcs-web-ui
eff9068
- Updated bundled python dependency: dacite
eff9068
- Changed BuildRequires from git to git-core
eff9068
- Added conditional (Build)Requires: rubygem(rexml)
eff9068
- Added conditional Requires: rubygem(webrick)
eff9068
7247eb7
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.7-4
7247eb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7247eb7
415687d
* Thu Jan  7 2021 Vít Ondruch <vondruch@redhat.com> - 0.10.7-3
415687d
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.0
415687d
f00a25e
* Thu Nov 26 2020 Ondrej Mular <omular@redhat.com> - 0.10.7-2
f00a25e
- Python 3.10 related fix
f00a25e
08d2960
* Wed Sep 30 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.7-1
08d2960
- Rebased to latest upstream sources (see CHANGELOG.md)
08d2960
- Added dependency on python packages pyparsing and dateutil
08d2960
- Fixed virtual bundle provides for ember, handelbars, jquery and jquery-ui
08d2960
- Removed dependency on python3-clufter
08d2960
2755aa8
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-2
2755aa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2755aa8
7bbab36
* Tue Jul 21 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-1
7bbab36
- Rebased to latest upstream sources (see CHANGELOG.md)
7bbab36
- Updated pcs-web-ui
7bbab36
- Stopped bundling tornado (use distribution package instead)
7bbab36
- Stopped bundling rubygem-tilt (use distribution package instead)
7bbab36
- Removed rubygem bundling
7bbab36
- Removed unneeded BuildRequires: execstack, gcc, gcc-c++
7bbab36
- Excluded some tests for tornado daemon
7bbab36
2aa2099
* Tue Jul 21 2020 Tom Stellard <tstellar@redhat.com> - 0.10.5-8
2aa2099
- Use make macros
2aa2099
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2aa2099
68ffc62
* Wed Jul 15 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-7
ebc60dd
- Use fixed upstream version of dacite with Python 3.9 support
ebc60dd
- Split upstream tests in gating into tiers
ebc60dd
92ce856
* Fri Jul 03 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-6
92ce856
- Use patched version of dacite compatible with Python 3.9
92ce856
- Resolves: rhbz#1838327
92ce856
c2ddcd2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-5
c2ddcd2
- Rebuilt for Python 3.9
c2ddcd2
3b2f88a
* Thu May 07 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-4
3b2f88a
- Rebased to latest upstream sources (see CHANGELOG.md)
3b2f88a
- Run only tier0 tests in check section
3b2f88a
704acb7
* Fri Apr 03 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-3
704acb7
- Enable gating
704acb7
4816924
* Fri Mar 27 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-2
4816924
- Remove usage of deprecated module xml.etree.cElementTree
4816924
- Resolves: rhbz#1817695
4816924
a859606
* Wed Mar 18 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.5-1
a859606
- Rebased to latest upstream sources (see CHANGELOG.md)
a859606
bb6d268
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-2
bb6d268
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bb6d268
737f32d
* Thu Nov 28 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-1
737f32d
- Rebased to latest upstream sources (see CHANGELOG.md)
737f32d
15c3525
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.3-2
15c3525
- Rebuilt for Python 3.8.0rc1 (#1748018)
15c3525
f0ef8cf
* Fri Aug 23 2019 Ondrej Mular <omular@redhat.com> - 0.10.3-1
f0ef8cf
- Rebased to latest upstream sources (see CHANGELOG.md)
f0ef8cf
4f71ee4
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-3
4f71ee4
- Rebuilt for Python 3.8
4f71ee4
1ae25be
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
1ae25be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1ae25be
ca4645e
* Fri Jun 14 2019 Ondrej Mular <omular@redhat.com> - 0.10.2-1
ca4645e
- Rebased to latest upstream sources (see CHANGELOG.md)
ca4645e
- Added pam as required package
ca4645e
- An alternative webUI rebased to latest upstream sources
ca4645e
- Improved configuration files permissions in rpm
ca4645e
bdca7ba
* Tue Mar 19 2019 Tomas Jelinek <tojeline@redhat.com> - 0.10.1-4
bdca7ba
- Removed unused dependency rubygem-multi_json
bdca7ba
- Removed files needed only for building rubygems from the package
bdca7ba
Ivan Devat b03e36b
* Mon Feb 04 2019 Ivan Devát <idevat@redhat.com> - 0.10.1-3
Ivan Devat b03e36b
- Corrected gem install flags
Ivan Devat b03e36b
36bfc82
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
36bfc82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
36bfc82
Ivan Devat 7e17d16
* Wed Jan 09 2019 Ivan Devát <idevat@redhat.com> - 0.10.1-1
Ivan Devat 7e17d16
- Rebased to latest upstream sources (see CHANGELOG.md)
Ivan Devat 7e17d16
29a1625
* Tue Oct 09 2018 Ondrej Mular <omular@redhat.com> - 0.10.0.alpha.6-1
29a1625
- Rebased to latest upstream sources (see CHANGELOG.md)
29a1625
- Resolves: rhbz#1618911
29a1625
Ivan Devat a504446
* Fri Aug 31 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-3
Ivan Devat a504446
- Started bundling rubygem-tilt (rubygem-tilt is orphaned in fedora due to rubygem-prawn dependency)
Ivan Devat a504446
- Enabled passing tests
Ivan Devat a504446
Ivan Devat af67efa
* Sat Aug 25 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-2
Ivan Devat af67efa
- Fixed error with missing rubygem location during pcsd start
Ivan Devat af67efa
- Resolves: rhbz#1618911
Ivan Devat af67efa
Ivan Devat 6341d90
* Thu Aug 02 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-1
Ivan Devat 6341d90
- Rebased to latest upstream sources (see CHANGELOG.md)
Ivan Devat 6341d90
Ivan Devat c9ec744
* Wed Jul 25 2018 Ivan Devát <idevat@redhat.com> - 0.9.164-4
Ivan Devat c9ec744
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Ivan Devat c9ec744
040429d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.164-3
040429d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
040429d
a23ce0d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.164-2
a23ce0d
- Rebuilt for Python 3.7
a23ce0d
c088c22
* Mon Apr 09 2018 Ondrej Mular <omular@redhat.com> - 0.9.164-1
c088c22
- Rebased to latest upstream sources (see CHANGELOG.md)
c088c22
- Fixed: CVE-2018-1086, CVE-2018-1079
c088c22
Ivan Devat 33b5b2b
* Mon Feb 26 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-2
Ivan Devat 33b5b2b
- Fixed crash when adding a node to a cluster
Ivan Devat 33b5b2b
Ivan Devat 47f1518
* Tue Feb 20 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-1
Ivan Devat 47f1518
- Rebased to latest upstream sources (see CHANGELOG.md)
Ivan Devat 47f1518
- Adapted for Rack 2 and Sinatra 2
Ivan Devat 47f1518
f9e106a
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.160-5
f9e106a
- Escape macros in %%changelog
f9e106a
b44327d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.160-4
b44327d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b44327d
9e50f9c
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 0.9.160-3
9e50f9c
- Rebuilt for switch to libxcrypt
9e50f9c
9b7a652
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.160-2
9b7a652
- F-28: rebuild for ruby25
9b7a652
- Workaround for gem install option
9b7a652
4ad2fc6
* Wed Oct 18 2017 Ondrej Mular <omular@redhat.com> - 0.9.160-1
4ad2fc6
- Rebased to latest upstream sources (see CHANGELOG.md)
4ad2fc6
- All pcs tests are temporarily disabled because of issues in pacemaker.
4ad2fc6
3e00919
* Thu Sep 14 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-4
3e00919
- Bundle rubygem-rack-protection which is being updated to 2.0.0 in Fedora.
3e00919
- Removed setuptools patch.
3e00919
- Disabled debuginfo subpackage.
3e00919
8cadf8c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-3
8cadf8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
8cadf8c
30614f8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-2
30614f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
30614f8
779e837
* Wed Jul 12 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-1
779e837
- Rebased to latest upstream sources (see CHANGELOG.md)
779e837
beb8bbb
* Tue May 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-3
beb8bbb
- Fixed python locales issue preventing build-time tests to pass
beb8bbb
- Bundle rubygem-tilt which is being retired from Fedora
beb8bbb
d9cf044
* Thu Mar 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-2
d9cf044
- Fixed Cross-site scripting (XSS) vulnerability in web UI CVE-2017-2661
d9cf044
- Re-added support for clufter as it is now available for Python 3
d9cf044
195f96a
* Wed Feb 22 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-1
195f96a
- Rebased to latest upstream sources (see CHANGELOG.md)
195f96a
2aa1067
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.155-3
2aa1067
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2aa1067
7ea790e
* Thu Jan 12 2017 Vít Ondruch <vondruch@redhat.com> - 0.9.155-2
7ea790e
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
7ea790e
f104d71
* Wed Jan 04 2017 Adam Williamson <awilliam@redhat.com> - 0.9.155-1
f104d71
- Latest release 0.9.155
f104d71
- Fix tests with Python 3.6 and lxml 3.7
f104d71
- Package the license as license, not doc
f104d71
- Use -f param for rm when wiping test directories as they are nested now
f104d71
f104d71
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com>
0775475
- Rebuild for Python 3.6
0775475
4013dee
* Tue Oct 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-2
4013dee
- Fixed upgrading from pcs-0.9.150
4013dee
0a8dade
* Thu Sep 22 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-1
0a8dade
- Re-synced to upstream sources
0a8dade
- Spec file cleanup and fixes
0a8dade
044cd9b
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.150-2
044cd9b
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
044cd9b
de104aa
* Mon Apr 11 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.150-1
de104aa
- Re-synced to upstream sources
de104aa
- Make pcs depend on python3
de104aa
- Spec file cleanup
de104aa
4d10d73
* Tue Feb 23 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-2
4d10d73
- Fixed rubygems issues which prevented pcsd from starting
4d10d73
- Added missing python-lxml dependency
4d10d73
2fc0ad8
* Thu Feb 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-1
2fc0ad8
- Re-synced to upstream sources
2fc0ad8
- Security fix for CVE-2016-0720, CVE-2016-0721
2fc0ad8
- Fixed rubygems issues which prevented pcsd from starting
2fc0ad8
- Rubygems built with RELRO
2fc0ad8
- Spec file cleanup
2fc0ad8
- Fixed multilib .pyc/.pyo issue
2fc0ad8
bb375ed
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.144-3
bb375ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bb375ed
d8b9096
* Tue Jan 12 2016 Vít Ondruch <vondruch@redhat.com> - 0.9.144-2
d8b9096
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
d8b9096
a80e8a1
* Fri Sep 18 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.144-1
a80e8a1
- Re-synced to upstream sources
a80e8a1
5968f87
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-2
5968f87
- Added requirement for psmisc for killall
5968f87
bea4b7d
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-1
bea4b7d
- Re-synced to upstream sources
bea4b7d
3ebb60a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.140-2
3ebb60a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3ebb60a
21e433b
* Fri Jun 05 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.140-1
21e433b
- Re-synced to upstream sources
21e433b
72637d9
* Fri May 22 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-4
72637d9
- Fix for CVE-2015-1848, CVE-2015-3983 (sessions not signed)
72637d9
9fb5798
* Thu Mar 26 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-3
9fb5798
- Add BuildRequires: systemd (rhbz#1206253)
9fb5798
fb7c9d6
* Fri Feb 27 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-2
fb7c9d6
- Reflect clufter inclusion (rhbz#1180723)
fb7c9d6
c1e59b1
* Thu Feb 19 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-1
c1e59b1
- Re-synced to upstream sources
c1e59b1
5fba2b6
* Sat Jan 17 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.115-5
5fba2b6
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
5fba2b6
3828620
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-4
3828620
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3828620
4d6e61f
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-3
4d6e61f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4d6e61f
a61cbbe
* Tue May 06 2014 Tomas Jelinek <tojeline@redhat.com> - 0.9.115-2
a61cbbe
- Rebuild to fix ruby dependencies
a61cbbe
6044b69
* Mon Apr 21 2014 Chris Feist <cfeist@redhat.com> - 0.9.115-1
6044b69
- Re-synced to upstream sources
6044b69
4bfe6fb
* Fri Dec 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.102-1
4bfe6fb
- Re-synced to upstream sources
4bfe6fb
174df12
* Wed Jun 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.48-1
174df12
- Rebuild with upstream sources
174df12
337b855
* Thu Jun 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-5
337b855
- Added fixes for building rpam with ruby-2.0.0
337b855
471dca8
* Mon Jun 03 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-4
471dca8
- Rebuild with upstream sources
471dca8
05df7ef
* Tue May 07 2013 Chris Feist <cfeist@redhat.com> - 0.9.41-2
f032d5e
- Resynced to upstream sources
f032d5e
a6211c3
* Fri Apr 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.39-1
a6211c3
- Fixed gem building
a6211c3
- Re-synced to upstream sources
a6211c3
274eea6
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-4
274eea6
- Don't try to build gems at all
274eea6
cb9739c
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-3
cb9739c
- Removed all gems from build, will need to find pam package in the future
cb9739c
b23d2bf
* Mon Mar 25 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-2
b23d2bf
- Removed duplicate libraries already present in fedora
b23d2bf
4b95f46
* Mon Mar 18 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-1
4b95f46
- Resynced to latest upstream
4b95f46
fdead59
* Mon Mar 11 2013 Chris Feist <cfeist@redhat.com> - 0.9.33-1
fdead59
- Resynched to latest upstream
fdead59
- pcsd has been moved to /usr/lib to fix /usr/local packaging issues
fdead59
0676999
* Thu Feb 21 2013 Chris Feist <cfeist@redhat.com> - 0.9.32-1
0676999
- Resynced to latest version of pcs/pcsd
0676999
d483875
* Mon Nov 05 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-3
d483875
- Build on all archs
d483875
d483875
* Thu Oct 25 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-2
edefe50
- Resync to latest version of pcs
edefe50
- Added pcsd daemon
edefe50
2e01a34
* Mon Oct 08 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.26-1
2e01a34
- Resync to latest version of pcs
2e01a34
3fead96
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.24-1
3fead96
- Resync to latest version of pcs
3fead96
857bdbf
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.23-1
857bdbf
- Resync to latest version of pcs
857bdbf
a92303e
* Wed Sep 12 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.22-1
a92303e
- Resync to latest version of pcs
a92303e
75bb1b1
* Thu Sep 06 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.19-1
75bb1b1
- Resync to latest version of pcs
75bb1b1
802cd98
* Tue Aug 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.12-1
802cd98
- Resync to latest version of pcs
802cd98
f04571f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.1-2
f04571f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f04571f
ebab0ab
* Thu May 24 2012 Chris Feist <cfeist@redhat.com> - 0.9.4-1
ebab0ab
- Resync to latest version of pcs
ebab0ab
- Move cluster creation options to cluster sub command.
ebab0ab
2be175f
* Mon May 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.3.1-1
2be175f
- Resync to latest version of pcs which includes fixes to work with F17.
2be175f
5abd448
* Mon Mar 19 2012 Chris Feist <cfeist@redhat.com> - 0.9.2.4-1
511d924
- Resynced to latest version of pcs
511d924
a0d1bea
* Mon Jan 23 2012 Chris Feist <cfeist@redhat.com> - 0.9.1-1
f9e106a
- Updated BuildRequires and %%doc section for fedora
a0d1bea
a0d1bea
* Fri Jan 20 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-2
a0d1bea
- Updated spec file for fedora specific changes
a0d1bea
a0d1bea
* Mon Jan 16 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-1
a0d1bea
- Initial Build