2016-02-17 14:12:56 +00:00
|
|
|
Name: pcs
|
2022-12-13 09:47:51 +00:00
|
|
|
Version: 0.11.4
|
2023-01-19 23:33:26 +00:00
|
|
|
Release: 3%{?dist}
|
2021-08-16 18:52:04 +00:00
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
|
2018-07-26 08:22:42 +00:00
|
|
|
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
|
2022-12-13 09:47:51 +00:00
|
|
|
# GPL-2.0-only: pcs
|
2021-10-05 16:40:50 +00:00
|
|
|
# MIT: dacite, ember, handlebars, jquery, jquery-ui
|
2022-12-13 09:47:51 +00:00
|
|
|
# (GPL-2.0-only or Ruby) and BSD-2-Clause: thin
|
2021-08-16 18:52:04 +00:00
|
|
|
|
2022-12-13 09:47:51 +00:00
|
|
|
License: GPL-2.0-only AND MIT AND (GPL-2.0-only OR Ruby) AND BSD-2-Clause
|
2016-09-22 13:49:51 +00:00
|
|
|
URL: https://github.com/ClusterLabs/pcs
|
2021-08-16 18:52:04 +00:00
|
|
|
Group: System Environment/Base
|
2016-02-17 14:12:56 +00:00
|
|
|
Summary: Pacemaker Configuration System
|
2016-09-22 13:49:51 +00:00
|
|
|
|
2022-12-13 09:47:51 +00:00
|
|
|
# %%global version_or_commit %%{version}
|
|
|
|
%global version_or_commit %{version}.15-f7301
|
2019-06-14 06:48:30 +00:00
|
|
|
%global pcs_source_name %{name}-%{version_or_commit}
|
|
|
|
|
|
|
|
# ui_commit can be determined by hash, tag or branch
|
2022-12-13 09:47:51 +00:00
|
|
|
%global ui_commit 0.1.16
|
|
|
|
%global ui_modules_version 0.1.16
|
2019-06-14 06:48:30 +00:00
|
|
|
%global ui_src_name pcs-web-ui-%{ui_commit}
|
2018-02-14 15:54:25 +00:00
|
|
|
|
|
|
|
%global pcs_snmp_pkg_name pcs-snmp
|
2018-08-31 12:18:36 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
%global pyagentx_version 0.4.pcs.2
|
2021-02-04 14:59:39 +00:00
|
|
|
%global dacite_version 1.6.0
|
2018-08-31 12:18:36 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
%global version_rubygem_thin 1.8.1
|
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
%global required_pacemaker_version 2.1.0
|
2020-10-02 08:09:31 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
%global pcs_bundled_dir pcs_bundled
|
2019-06-14 06:48:30 +00:00
|
|
|
%global pcsd_public_dir pcsd/public
|
2021-08-16 18:52:04 +00:00
|
|
|
%global rubygem_bundle_dir pcsd/vendor/bundle
|
|
|
|
%global rubygem_cache_dir %{rubygem_bundle_dir}/cache
|
2018-10-09 13:38:20 +00:00
|
|
|
|
2016-09-22 13:49:51 +00:00
|
|
|
#part after last slash is recognized as filename in look-aside repository
|
|
|
|
#desired name is achived by trick with hash anchor
|
2019-06-14 06:48:30 +00:00
|
|
|
Source0: %{url}/archive/%{version_or_commit}/%{pcs_source_name}.tar.gz
|
2018-08-31 12:18:36 +00:00
|
|
|
|
2019-08-23 10:34:14 +00:00
|
|
|
Source41: https://github.com/ondrejmular/pyagentx/archive/v%{pyagentx_version}/pyagentx-%{pyagentx_version}.tar.gz
|
2021-08-16 18:52:04 +00:00
|
|
|
Source42: https://github.com/konradhalas/dacite/archive/v%{dacite_version}/dacite-%{dacite_version}.tar.gz
|
|
|
|
|
|
|
|
Source88: https://rubygems.org/downloads/thin-%{version_rubygem_thin}.gem
|
2016-02-17 14:12:56 +00:00
|
|
|
|
2021-10-05 16:40:50 +00:00
|
|
|
Source100: https://github.com/ClusterLabs/pcs-web-ui/archive/%{ui_commit}/%{ui_src_name}.tar.gz
|
|
|
|
Source101: https://github.com/ClusterLabs/pcs-web-ui/releases/download/%{ui_commit}/pcs-web-ui-node-modules-%{ui_modules_version}.tar.xz
|
2019-06-14 06:48:30 +00:00
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
# pcs patches: <= 200
|
2021-02-04 14:59:39 +00:00
|
|
|
# Patch0: name.patch
|
2016-09-22 13:49:51 +00:00
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
# ui patches: >200
|
|
|
|
# Patch201: name.patch
|
|
|
|
|
2016-09-22 13:49:51 +00:00
|
|
|
# git for patches
|
2021-02-04 14:59:39 +00:00
|
|
|
BuildRequires: git-core
|
2021-08-16 18:52:04 +00:00
|
|
|
BuildRequires: make
|
2018-07-26 08:22:42 +00:00
|
|
|
#printf from coreutils is used in makefile
|
|
|
|
BuildRequires: coreutils
|
2016-09-22 13:49:51 +00:00
|
|
|
# python for pcs
|
2022-02-04 14:24:19 +00:00
|
|
|
BuildRequires: python3 >= 3.9
|
2020-10-02 08:09:31 +00:00
|
|
|
BuildRequires: python3-dateutil >= 2.7.0
|
2017-02-22 12:25:59 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-pycurl
|
2021-08-16 18:52:04 +00:00
|
|
|
BuildRequires: python3-pip
|
2020-10-02 08:09:31 +00:00
|
|
|
BuildRequires: python3-pyparsing
|
2020-07-20 18:29:10 +00:00
|
|
|
BuildRequires: python3-tornado
|
2021-08-16 18:52:04 +00:00
|
|
|
BuildRequires: python3-cryptography
|
|
|
|
BuildRequires: python3-lxml
|
|
|
|
# for building bundled python packages
|
|
|
|
BuildRequires: python3-wheel
|
|
|
|
# for bundled python dateutil
|
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
BuildRequires: python3-distro
|
2016-09-22 13:49:51 +00:00
|
|
|
# ruby and gems for pcsd
|
2022-02-04 14:24:19 +00:00
|
|
|
BuildRequires: ruby >= 2.5.0
|
2017-02-22 12:25:59 +00:00
|
|
|
BuildRequires: ruby-devel
|
|
|
|
BuildRequires: rubygem-backports
|
2022-12-13 09:47:51 +00:00
|
|
|
BuildRequires: rubygem-childprocess
|
2021-10-05 16:40:50 +00:00
|
|
|
BuildRequires: rubygem-daemons
|
2017-02-22 12:25:59 +00:00
|
|
|
BuildRequires: rubygem-ethon
|
2021-10-05 16:40:50 +00:00
|
|
|
BuildRequires: rubygem-eventmachine
|
2017-02-22 12:25:59 +00:00
|
|
|
BuildRequires: rubygem-ffi
|
|
|
|
BuildRequires: rubygem-io-console
|
|
|
|
BuildRequires: rubygem-json
|
2021-08-16 18:52:04 +00:00
|
|
|
BuildRequires: rubygem-mustermann
|
2021-10-05 16:40:50 +00:00
|
|
|
BuildRequires: rubygem-rack
|
|
|
|
BuildRequires: rubygem-rack-protection
|
2017-02-22 12:25:59 +00:00
|
|
|
BuildRequires: rubygem-rack-test
|
2021-10-05 16:40:50 +00:00
|
|
|
BuildRequires: rubygem-sinatra
|
|
|
|
BuildRequires: rubygem-tilt
|
2021-02-04 14:59:39 +00:00
|
|
|
%if 0%{?fedora} >= 34 || 0%{?eln} || 0%{?rhel} >= 9
|
2021-01-07 17:24:40 +00:00
|
|
|
BuildRequires: rubygem(rexml)
|
2021-08-16 18:52:04 +00:00
|
|
|
BuildRequires: rubygem(webrick)
|
2021-02-04 14:59:39 +00:00
|
|
|
%endif
|
2017-02-22 12:25:59 +00:00
|
|
|
# ruby libraries for tests
|
|
|
|
BuildRequires: rubygem-test-unit
|
2021-08-16 18:52:04 +00:00
|
|
|
# for bundled rubygems
|
|
|
|
BuildRequires: rubygems
|
|
|
|
BuildRequires: rubygem-bundler
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2019-01-08 12:10:36 +00:00
|
|
|
# for touching patch files (sanitization function)
|
2016-02-17 14:12:56 +00:00
|
|
|
BuildRequires: diffstat
|
2018-07-26 08:22:42 +00:00
|
|
|
# for post, preun and postun macros
|
|
|
|
BuildRequires: systemd
|
2016-09-22 13:49:51 +00:00
|
|
|
|
2019-06-14 06:48:30 +00:00
|
|
|
# for building web ui
|
2023-01-04 06:01:32 +00:00
|
|
|
# Explicitly require binary path to workaround dnf dependency resolution
|
|
|
|
# confusion between nodejs16 <-> nodejs
|
|
|
|
BuildRequires: %{_bindir}/npx
|
2019-06-14 06:48:30 +00:00
|
|
|
BuildRequires: npm
|
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
# cluster stack packages for pkg-config
|
|
|
|
BuildRequires: booth
|
|
|
|
BuildRequires: corosync-qdevice-devel
|
|
|
|
BuildRequires: corosynclib-devel >= 3.0
|
|
|
|
BuildRequires: fence-agents-common
|
2022-02-04 14:24:19 +00:00
|
|
|
BuildRequires: pacemaker-libs-devel >= %{required_pacemaker_version}
|
2021-08-16 18:52:04 +00:00
|
|
|
BuildRequires: resource-agents
|
|
|
|
BuildRequires: sbd
|
|
|
|
|
2016-09-22 13:49:51 +00:00
|
|
|
# python and libraries for pcs, setuptools for pcs entrypoint
|
2022-02-04 14:24:19 +00:00
|
|
|
Requires: python3 >= 3.9
|
2021-08-16 18:52:04 +00:00
|
|
|
Requires: python3-cryptography
|
2020-10-02 08:09:31 +00:00
|
|
|
Requires: python3-dateutil >= 2.7.0
|
2017-02-22 12:25:59 +00:00
|
|
|
Requires: python3-lxml
|
|
|
|
Requires: python3-setuptools
|
2018-07-26 08:22:42 +00:00
|
|
|
Requires: python3-pycurl
|
2020-10-02 08:09:31 +00:00
|
|
|
Requires: python3-pyparsing
|
2020-07-20 18:29:10 +00:00
|
|
|
Requires: python3-tornado
|
2016-09-22 13:49:51 +00:00
|
|
|
# ruby and gems for pcsd
|
2022-02-04 14:24:19 +00:00
|
|
|
Requires: ruby >= 2.5.0
|
2017-02-22 12:25:59 +00:00
|
|
|
Requires: rubygem-backports
|
2022-12-13 09:47:51 +00:00
|
|
|
Requires: rubygem-childprocess
|
2021-10-05 16:40:50 +00:00
|
|
|
Requires: rubygem-daemons
|
2017-02-22 12:25:59 +00:00
|
|
|
Requires: rubygem-ethon
|
2021-10-05 16:40:50 +00:00
|
|
|
Requires: rubygem-eventmachine
|
2017-02-22 12:25:59 +00:00
|
|
|
Requires: rubygem-ffi
|
|
|
|
Requires: rubygem-json
|
2021-10-05 16:40:50 +00:00
|
|
|
Requires: rubygem-mustermann
|
|
|
|
Requires: rubygem-rack
|
|
|
|
Requires: rubygem-rack-protection
|
2017-02-22 12:25:59 +00:00
|
|
|
Requires: rubygem-rack-test
|
2021-10-05 16:40:50 +00:00
|
|
|
Requires: rubygem-sinatra
|
|
|
|
Requires: rubygem-tilt
|
2021-02-04 14:59:39 +00:00
|
|
|
%if 0%{?fedora} >= 34 || 0%{?eln} || 0%{?rhel} >= 9
|
2021-01-07 17:24:40 +00:00
|
|
|
Requires: rubygem(rexml)
|
2021-02-04 14:59:39 +00:00
|
|
|
Requires: rubygem(webrick)
|
|
|
|
%endif
|
2020-03-18 14:16:26 +00:00
|
|
|
# ruby and gems for pcsd-ruby
|
2016-09-22 13:49:51 +00:00
|
|
|
# for killall
|
|
|
|
Requires: psmisc
|
|
|
|
# cluster stack and related packages
|
2022-02-04 14:24:19 +00:00
|
|
|
Requires: pcmk-cluster-manager >= %{required_pacemaker_version}
|
2019-01-08 12:10:36 +00:00
|
|
|
Suggests: pacemaker
|
2022-02-04 14:24:19 +00:00
|
|
|
Requires: (corosync >= 3.0 if pacemaker)
|
2019-01-08 12:10:36 +00:00
|
|
|
# pcs enables corosync encryption by default so we require libknet1-plugins-all
|
2019-06-14 06:48:30 +00:00
|
|
|
Requires: (libknet1-plugins-all if corosync)
|
2022-02-04 14:24:19 +00:00
|
|
|
Requires: pacemaker-cli >= %{required_pacemaker_version}
|
2016-09-22 13:49:51 +00:00
|
|
|
# for post, preun and postun macros
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2019-06-14 06:48:30 +00:00
|
|
|
# pam is used for authentication inside daemon (python ctypes)
|
|
|
|
# more details: https://bugzilla.redhat.com/show_bug.cgi?id=1717113
|
|
|
|
Requires: pam
|
2021-08-16 18:52:04 +00:00
|
|
|
# needs logrotate for /etc/logrotate.d/pcsd
|
|
|
|
Requires: logrotate
|
2012-01-24 19:43:25 +00:00
|
|
|
|
2020-03-18 14:16:26 +00:00
|
|
|
Provides: bundled(dacite) = %{dacite_version}
|
2021-08-16 18:52:04 +00:00
|
|
|
# bundled rubygems
|
|
|
|
Provides: bundled(thin) = %{version_rubygem_thin}
|
2012-01-24 19:43:25 +00:00
|
|
|
%description
|
|
|
|
pcs is a corosync and pacemaker configuration tool. It permits users to
|
2017-02-22 12:25:59 +00:00
|
|
|
easily view, modify and create pacemaker based clusters.
|
2012-01-24 19:43:25 +00:00
|
|
|
|
2018-02-14 15:54:25 +00:00
|
|
|
# pcs-snmp package definition
|
|
|
|
%package -n %{pcs_snmp_pkg_name}
|
2021-08-16 18:52:04 +00:00
|
|
|
Group: System Environment/Base
|
2018-02-14 15:54:25 +00:00
|
|
|
Summary: Pacemaker cluster SNMP agent
|
2018-07-26 08:22:42 +00:00
|
|
|
# https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
|
2022-12-13 09:47:51 +00:00
|
|
|
# GPL-2.0-only: pcs
|
2018-07-26 08:22:42 +00:00
|
|
|
# BSD-2-Clause: pyagentx
|
2022-12-13 09:47:51 +00:00
|
|
|
License: GPL-2.0-only AND BSD-2-Clause
|
2018-02-14 15:54:25 +00:00
|
|
|
URL: https://github.com/ClusterLabs/pcs
|
|
|
|
|
|
|
|
# tar for unpacking pyagetx source tar ball
|
|
|
|
BuildRequires: tar
|
|
|
|
|
|
|
|
Requires: pcs = %{version}-%{release}
|
|
|
|
Requires: pacemaker
|
|
|
|
Requires: net-snmp
|
|
|
|
|
|
|
|
Provides: bundled(pyagentx) = %{pyagentx_version}
|
|
|
|
|
|
|
|
%description -n %{pcs_snmp_pkg_name}
|
|
|
|
SNMP agent that provides information about pacemaker cluster to the master agent (snmpd)
|
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
%prep
|
2014-04-21 19:16:15 +00:00
|
|
|
|
2018-10-09 13:38:20 +00:00
|
|
|
# -- following is inspired by python-simplejon.el5 --
|
2016-02-17 14:12:56 +00:00
|
|
|
# Update timestamps on the files touched by a patch, to avoid non-equal
|
2018-10-09 13:38:20 +00:00
|
|
|
# .pyc/.pyo files across the multilib peers within a build
|
|
|
|
|
|
|
|
update_times(){
|
|
|
|
# update_times <reference_file> <file_to_touch> ...
|
|
|
|
# set the access and modification times of each file_to_touch to the times
|
|
|
|
# of reference_file
|
|
|
|
|
|
|
|
# put all args to file_list
|
|
|
|
file_list=("$@")
|
|
|
|
# first argument is reference_file: so take it and remove from file_list
|
|
|
|
reference_file=${file_list[0]}
|
|
|
|
unset file_list[0]
|
|
|
|
|
|
|
|
for fname in ${file_list[@]}; do
|
2021-08-16 18:52:04 +00:00
|
|
|
# some files could be deleted by a patch therefore we test file for
|
|
|
|
# existance before touch to avoid exit with error: No such file or
|
|
|
|
# directory
|
|
|
|
# diffstat cannot create list of files without deleted files
|
|
|
|
test -e $fname && touch -r $reference_file $fname
|
2016-02-17 14:12:56 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2018-10-09 13:38:20 +00:00
|
|
|
update_times_patch(){
|
|
|
|
# update_times_patch <patch_file_name>
|
|
|
|
# set the access and modification times of each file in patch to the times
|
|
|
|
# of patch_file_name
|
|
|
|
|
|
|
|
patch_file_name=$1
|
|
|
|
|
|
|
|
# diffstat
|
|
|
|
# -l lists only the filenames. No histogram is generated.
|
|
|
|
# -p override the logic that strips common pathnames,
|
|
|
|
# simulating the patch "-p" option. (Strip the smallest prefix containing
|
|
|
|
# num leading slashes from each file name found in the patch file)
|
|
|
|
update_times ${patch_file_name} `diffstat -p1 -l ${patch_file_name}`
|
|
|
|
}
|
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
# documentation for setup/autosetup/autopatch:
|
|
|
|
# * http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html
|
|
|
|
# * https://rpm-software-management.github.io/rpm/manual/autosetup.html
|
|
|
|
# patch web-ui sources
|
|
|
|
%autosetup -D -T -b 100 -a 101 -S git -n %{ui_src_name} -N
|
|
|
|
%autopatch -p1 -m 201
|
|
|
|
# update_times_patch %%{PATCH201}
|
|
|
|
|
|
|
|
# patch pcs sources
|
|
|
|
%autosetup -S git -n %{pcs_source_name} -N
|
|
|
|
%autopatch -p1 -M 200
|
2022-12-13 09:47:51 +00:00
|
|
|
# update_times_patch %%{PATCH0}
|
2016-02-17 14:12:56 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
# prepare dirs/files necessary for building all bundles
|
|
|
|
# -----------------------------------------------------
|
|
|
|
# 1) rubygems sources
|
|
|
|
|
|
|
|
mkdir -p %{rubygem_cache_dir}
|
|
|
|
cp -f %SOURCE88 %{rubygem_cache_dir}
|
|
|
|
|
|
|
|
# 2) prepare python bundles
|
|
|
|
mkdir -p %{pcs_bundled_dir}/src
|
|
|
|
cp -f %SOURCE41 rpm/
|
|
|
|
cp -f %SOURCE42 rpm/
|
2020-03-18 14:16:26 +00:00
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
%build
|
2017-09-14 13:17:50 +00:00
|
|
|
%define debug_package %{nil}
|
2022-12-13 09:47:51 +00:00
|
|
|
# Booth authfile fix support
|
|
|
|
%if 0%{?fedora} >= 37
|
|
|
|
%define booth_build_options --enable-booth-enable-authfile-unset
|
|
|
|
%elif 0%{?fedora} >= 35
|
|
|
|
%define booth_build_options --enable-booth-enable-authfile-set --enable-booth-enable-authfile-unset
|
|
|
|
%endif
|
2012-01-24 19:43:25 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
./autogen.sh
|
2022-12-13 09:47:51 +00:00
|
|
|
%{configure} --enable-local-build --enable-use-local-cache-only --enable-individual-bundling %{booth_build_options} PYTHON=%{__python3} ruby_CFLAGS="%{optflags}" ruby_LIBS="%{build_ldflags}"
|
2021-08-16 18:52:04 +00:00
|
|
|
make all
|
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
# build pcs-web-ui
|
|
|
|
make -C %{_builddir}/%{ui_src_name} build BUILD_USE_EXISTING_NODE_MODULES=true
|
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
pwd
|
2018-08-31 12:18:36 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
%make_install
|
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
# install pcs-web-ui
|
2022-06-28 08:48:56 +00:00
|
|
|
# cp -r %%{_builddir}/%%{ui_src_name}/build ${RPM_BUILD_ROOT}%%{_libdir}/%%{pcsd_public_dir}/ui
|
|
|
|
make -C %{_builddir}/%{ui_src_name} _install PCSD_DIR=${RPM_BUILD_ROOT}%{_libdir}/pcsd
|
2019-06-14 06:48:30 +00:00
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
# symlink favicon into pcsd directories
|
2022-02-04 14:24:19 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/images/
|
2021-08-16 18:52:04 +00:00
|
|
|
ln -fs /etc/favicon.png ${RPM_BUILD_ROOT}%{_libdir}/%{pcsd_public_dir}/images/favicon.png
|
|
|
|
|
|
|
|
# prepare license files
|
|
|
|
# some rubygems do not have a license file (thin)
|
|
|
|
cp %{pcs_bundled_dir}/src/pyagentx-*/LICENSE.txt pyagentx_LICENSE.txt
|
|
|
|
cp %{pcs_bundled_dir}/src/pyagentx-*/CONTRIBUTORS.txt pyagentx_CONTRIBUTORS.txt
|
|
|
|
cp %{pcs_bundled_dir}/src/pyagentx-*/README.md pyagentx_README.md
|
|
|
|
|
|
|
|
cp %{pcs_bundled_dir}/src/dacite-*/LICENSE dacite_LICENSE
|
|
|
|
cp %{pcs_bundled_dir}/src/dacite-*/README.md dacite_README.md
|
|
|
|
|
|
|
|
# We are not building debug package for pcs but we need to add MiniDebuginfo
|
|
|
|
# to the bundled shared libraries from rubygem extensions in order to satisfy
|
|
|
|
# rpmdiff's binary stripping checker.
|
|
|
|
# Therefore we call find-debuginfo.sh script manually in order to strip
|
|
|
|
# binaries and add MiniDebugInfo with .gnu_debugdata section
|
2023-01-04 06:01:32 +00:00
|
|
|
|
|
|
|
# With ruby3.2 (F38), gem install cleans up ext directory after installation.
|
|
|
|
# With this change, now only one thin_parser.so is installed and it seems
|
|
|
|
# the below find-debuginfo.sh exists with 127, ignore the failure
|
|
|
|
bash -x /usr/lib/rpm/find-debuginfo.sh -j2 -m -i -S debugsourcefiles.list || :
|
2021-08-16 18:52:04 +00:00
|
|
|
# find-debuginfo.sh generated some files into /usr/lib/debug and
|
|
|
|
# /usr/src/debug/ that we don't want in the package
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/debug
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/lib/debug
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/src/debug
|
|
|
|
|
|
|
|
# We can remove files required for gem compilation
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir}/gems/thin-%{version_rubygem_thin}/ext
|
2016-09-22 13:49:51 +00:00
|
|
|
|
|
|
|
%check
|
2017-05-19 11:31:35 +00:00
|
|
|
# In the building environment LC_CTYPE is set to C which causes tests to fail
|
|
|
|
# due to python prints a warning about it to stderr. The following environment
|
|
|
|
# variable disables the warning.
|
|
|
|
# On the live system either UTF8 locale is set or the warning is emmited
|
|
|
|
# which breaks pcs. That is the correct behavior since with wrong locales it
|
|
|
|
# would be probably broken anyway.
|
|
|
|
# The main concern here is to make the tests pass.
|
|
|
|
# See https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale for details.
|
|
|
|
export PYTHONCOERCECLOCALE=0
|
|
|
|
|
2016-09-22 13:49:51 +00:00
|
|
|
run_all_tests(){
|
2018-10-09 13:38:20 +00:00
|
|
|
#run pcs tests
|
2016-09-22 13:49:51 +00:00
|
|
|
|
|
|
|
# disabled tests:
|
|
|
|
#
|
2021-08-16 18:52:04 +00:00
|
|
|
%{__python3} pcs_test/suite --tier0 -v --vanilla --all-but \
|
|
|
|
pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_get_not_locked \
|
|
|
|
pcs_test.tier0.daemon.app.test_app_remote.SyncConfigMutualExclusive.test_post_not_locked \
|
2018-04-09 12:52:49 +00:00
|
|
|
|
|
|
|
test_result_python=$?
|
2016-09-22 13:49:51 +00:00
|
|
|
|
|
|
|
#run pcsd tests and remove them
|
2021-08-16 18:52:04 +00:00
|
|
|
GEM_HOME=$RPM_BUILD_ROOT%{_libdir}/%{rubygem_bundle_dir} ruby \
|
|
|
|
-I$RPM_BUILD_ROOT%{_libdir}/pcsd \
|
|
|
|
-Ipcsd/test \
|
|
|
|
pcsd/test/test_all_suite.rb
|
2016-09-22 13:49:51 +00:00
|
|
|
test_result_ruby=$?
|
2019-01-08 12:10:36 +00:00
|
|
|
|
2016-09-22 13:49:51 +00:00
|
|
|
if [ $test_result_python -ne 0 ]; then
|
|
|
|
return $test_result_python
|
|
|
|
fi
|
|
|
|
return $test_result_ruby
|
|
|
|
}
|
|
|
|
|
|
|
|
run_all_tests
|
2013-12-14 00:07:51 +00:00
|
|
|
|
2020-03-18 14:16:26 +00:00
|
|
|
%posttrans
|
|
|
|
# Make sure the new version of the daemon is runnning.
|
|
|
|
# Also, make sure to start pcsd-ruby if it hasn't been started or even
|
|
|
|
# installed before. This is done by restarting pcsd.service.
|
|
|
|
%{_bindir}/systemctl daemon-reload
|
|
|
|
%{_bindir}/systemctl try-restart pcsd.service
|
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
|
2013-12-14 00:07:51 +00:00
|
|
|
%post
|
|
|
|
%systemd_post pcsd.service
|
2020-03-18 14:16:26 +00:00
|
|
|
%systemd_post pcsd-ruby.service
|
2013-12-14 00:07:51 +00:00
|
|
|
|
2018-02-14 15:54:25 +00:00
|
|
|
%post -n %{pcs_snmp_pkg_name}
|
|
|
|
%systemd_post pcs_snmp_agent.service
|
|
|
|
|
2013-12-14 00:07:51 +00:00
|
|
|
%preun
|
|
|
|
%systemd_preun pcsd.service
|
2020-03-18 14:16:26 +00:00
|
|
|
%systemd_preun pcsd-ruby.service
|
2013-12-14 00:07:51 +00:00
|
|
|
|
2018-07-26 08:22:42 +00:00
|
|
|
%preun -n %{pcs_snmp_pkg_name}
|
|
|
|
%systemd_preun pcs_snmp_agent.service
|
|
|
|
|
2013-12-14 00:07:51 +00:00
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart pcsd.service
|
2020-03-18 14:16:26 +00:00
|
|
|
%systemd_postun_with_restart pcsd-ruby.service
|
2013-06-13 18:20:23 +00:00
|
|
|
|
2018-07-26 08:22:42 +00:00
|
|
|
%postun -n %{pcs_snmp_pkg_name}
|
|
|
|
%systemd_postun_with_restart pcs_snmp_agent.service
|
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
%files
|
2017-02-22 12:25:59 +00:00
|
|
|
%doc CHANGELOG.md
|
2017-10-19 09:34:29 +00:00
|
|
|
%doc README.md
|
2020-03-18 14:16:26 +00:00
|
|
|
%doc dacite_README.md
|
|
|
|
%license dacite_LICENSE
|
2017-01-05 03:44:16 +00:00
|
|
|
%license COPYING
|
2021-08-16 18:52:04 +00:00
|
|
|
%{python3_sitelib}/*
|
2018-10-09 13:38:20 +00:00
|
|
|
%{_sbindir}/pcs
|
|
|
|
%{_sbindir}/pcsd
|
2021-08-16 18:52:04 +00:00
|
|
|
%{_libdir}/pcs/*
|
|
|
|
%{_libdir}/pcsd/*
|
2018-10-09 13:38:20 +00:00
|
|
|
%{_unitdir}/pcsd.service
|
2020-03-18 14:16:26 +00:00
|
|
|
%{_unitdir}/pcsd-ruby.service
|
2018-10-09 13:38:20 +00:00
|
|
|
%{_datadir}/bash-completion/completions/pcs
|
|
|
|
%{_sharedstatedir}/pcsd
|
2021-08-16 18:52:04 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/pcsd
|
2018-10-09 13:38:20 +00:00
|
|
|
%dir %{_var}/log/pcsd
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/pcsd
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/pcsd
|
2019-06-14 06:48:30 +00:00
|
|
|
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/cfgsync_ctl
|
|
|
|
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/known-hosts
|
|
|
|
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.cookiesecret
|
|
|
|
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.crt
|
|
|
|
%ghost %config(noreplace) %attr(0600,root,root) %{_sharedstatedir}/pcsd/pcsd.key
|
|
|
|
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_settings.conf
|
|
|
|
%ghost %config(noreplace) %attr(0644,root,root) %{_sharedstatedir}/pcsd/pcs_users.conf
|
2013-12-14 00:07:51 +00:00
|
|
|
%{_mandir}/man8/pcs.*
|
2017-07-12 11:42:55 +00:00
|
|
|
%{_mandir}/man8/pcsd.*
|
2021-08-16 18:52:04 +00:00
|
|
|
%exclude %{_libdir}/pcs/pcs_snmp_agent
|
|
|
|
%exclude %{_libdir}/pcs/%{pcs_bundled_dir}/packages/pyagentx*
|
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
|
2018-02-14 15:54:25 +00:00
|
|
|
%files -n %{pcs_snmp_pkg_name}
|
2021-08-16 18:52:04 +00:00
|
|
|
%{_libdir}/pcs/pcs_snmp_agent
|
|
|
|
%{_libdir}/pcs/%{pcs_bundled_dir}/packages/pyagentx*
|
2018-10-09 13:38:20 +00:00
|
|
|
%{_unitdir}/pcs_snmp_agent.service
|
|
|
|
%{_datadir}/snmp/mibs/PCMK-PCS*-MIB.txt
|
2018-02-14 15:54:25 +00:00
|
|
|
%{_mandir}/man8/pcs_snmp_agent.*
|
2018-10-09 13:38:20 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/pcs_snmp_agent
|
2018-02-14 15:54:25 +00:00
|
|
|
%doc CHANGELOG.md
|
|
|
|
%doc pyagentx_CONTRIBUTORS.txt
|
|
|
|
%doc pyagentx_README.md
|
2018-07-26 08:22:42 +00:00
|
|
|
%license COPYING
|
|
|
|
%license pyagentx_LICENSE.txt
|
2018-02-14 15:54:25 +00:00
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
%changelog
|
2023-01-19 23:33:26 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-04 06:01:32 +00:00
|
|
|
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.11.4-2
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
|
|
|
|
- Workaround for dnf dependency resolution confusion between nodejs16 vs nodejs
|
|
|
|
- Workaround for find-debuginfo.sh failure wrt ruby3.2 gem install change
|
|
|
|
|
2022-12-13 09:47:51 +00:00
|
|
|
* Mon Dec 12 2022 Michal Pospisil <mpospisi@redhat.com> - 0.11.4-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Added dependency rubygem-childprocess
|
|
|
|
- Removed dependency rubygem-open4
|
|
|
|
|
2022-12-12 12:54:19 +00:00
|
|
|
* Mon Dec 12 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.11.3-5
|
|
|
|
- Backport upstream patch for rubygem-json 2.6.3 error message format change
|
|
|
|
|
2022-09-07 14:37:27 +00:00
|
|
|
* Wed Sep 07 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.3-4
|
|
|
|
- Fixed ruby socket permissions
|
|
|
|
- Resolves: rhbz#2123389
|
|
|
|
|
2022-07-22 02:52:52 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-19 09:12:48 +00:00
|
|
|
* Tue Jul 19 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.11.3-2
|
|
|
|
- Rebuilt for pyparsing-3.0.9
|
|
|
|
|
2022-06-28 08:48:56 +00:00
|
|
|
* Tue Jun 28 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.3-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Resolves: rhbz#2068452
|
|
|
|
|
2022-06-14 07:03:59 +00:00
|
|
|
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.11.2-3
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-06-09 09:01:20 +00:00
|
|
|
* Thu Jun 09 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.2-2
|
|
|
|
- Python 3.11 related fixes
|
|
|
|
- Resolves: rhbz#bz2093935
|
|
|
|
|
2022-02-04 14:24:19 +00:00
|
|
|
* Fri Feb 04 2022 Miroslav Lisik <mlisik@redhat.com> - 0.11.2-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Removed old web gui
|
|
|
|
|
2022-01-27 18:00:48 +00:00
|
|
|
* Thu Jan 27 2022 Vít Ondruch <vondruch@redhat.com> - 0.10.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.1
|
|
|
|
|
2022-01-20 23:04:13 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-10-05 16:40:50 +00:00
|
|
|
* Tue Oct 05 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.11-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Stop bundling rubygems daemons eventmachine mustermann rack rack-protection ruby2_keywords sinatra tilt
|
|
|
|
|
2021-08-16 18:52:04 +00:00
|
|
|
* Mon Aug 16 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.9-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Bundle rubygem-sinatra, rubygem-thin and their dependencies because they were orphaned
|
|
|
|
- Resolves: rhbz#1983359
|
|
|
|
|
2021-07-22 17:52:13 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 18:14:54 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.10.8-3
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-03-02 15:13:06 +00:00
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.10.8-2
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
2021-02-04 14:59:39 +00:00
|
|
|
* Thu Feb 04 2021 Miroslav Lisik <mlisik@redhat.com> - 0.10.8-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Updated bundled python dependency: dacite
|
|
|
|
- Changed BuildRequires from git to git-core
|
|
|
|
- Added conditional (Build)Requires: rubygem(rexml)
|
|
|
|
- Added conditional Requires: rubygem(webrick)
|
|
|
|
|
2021-01-26 23:06:16 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-07 17:24:40 +00:00
|
|
|
* Thu Jan 7 2021 Vít Ondruch <vondruch@redhat.com> - 0.10.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.0
|
|
|
|
|
2020-11-26 08:40:35 +00:00
|
|
|
* Thu Nov 26 2020 Ondrej Mular <omular@redhat.com> - 0.10.7-2
|
|
|
|
- Python 3.10 related fix
|
|
|
|
|
2020-10-02 08:09:31 +00:00
|
|
|
* Wed Sep 30 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.7-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Added dependency on python packages pyparsing and dateutil
|
|
|
|
- Fixed virtual bundle provides for ember, handelbars, jquery and jquery-ui
|
|
|
|
- Removed dependency on python3-clufter
|
|
|
|
|
2020-07-28 13:19:25 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-20 18:29:10 +00:00
|
|
|
* Tue Jul 21 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.6-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Updated pcs-web-ui
|
|
|
|
- Stopped bundling tornado (use distribution package instead)
|
|
|
|
- Stopped bundling rubygem-tilt (use distribution package instead)
|
|
|
|
- Removed rubygem bundling
|
|
|
|
- Removed unneeded BuildRequires: execstack, gcc, gcc-c++
|
|
|
|
- Excluded some tests for tornado daemon
|
|
|
|
|
2020-07-14 02:32:01 +00:00
|
|
|
* Tue Jul 21 2020 Tom Stellard <tstellar@redhat.com> - 0.10.5-8
|
|
|
|
- Use make macros
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
2020-07-16 08:19:37 +00:00
|
|
|
* Wed Jul 15 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-7
|
2020-07-15 14:18:02 +00:00
|
|
|
- Use fixed upstream version of dacite with Python 3.9 support
|
|
|
|
- Split upstream tests in gating into tiers
|
|
|
|
|
2020-07-03 10:31:58 +00:00
|
|
|
* Fri Jul 03 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-6
|
|
|
|
- Use patched version of dacite compatible with Python 3.9
|
|
|
|
- Resolves: rhbz#1838327
|
|
|
|
|
2020-05-26 00:55:52 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-5
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-07 08:12:07 +00:00
|
|
|
* Thu May 07 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-4
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Run only tier0 tests in check section
|
|
|
|
|
2020-04-03 13:14:10 +00:00
|
|
|
* Fri Apr 03 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-3
|
|
|
|
- Enable gating
|
|
|
|
|
2020-03-27 13:39:00 +00:00
|
|
|
* Fri Mar 27 2020 Ondrej Mular <omular@redhat.com> - 0.10.5-2
|
|
|
|
- Remove usage of deprecated module xml.etree.cElementTree
|
|
|
|
- Resolves: rhbz#1817695
|
|
|
|
|
2020-03-18 14:16:26 +00:00
|
|
|
* Wed Mar 18 2020 Miroslav Lisik <mlisik@redhat.com> - 0.10.5-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2020-01-29 21:06:14 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-28 15:08:24 +00:00
|
|
|
* Thu Nov 28 2019 Miroslav Lisik <mlisik@redhat.com> - 0.10.4-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2019-10-03 11:58:19 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.3-2
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-23 10:34:14 +00:00
|
|
|
* Fri Aug 23 2019 Ondrej Mular <omular@redhat.com> - 0.10.3-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2019-08-19 08:22:00 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 00:15:09 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-14 06:48:30 +00:00
|
|
|
* Fri Jun 14 2019 Ondrej Mular <omular@redhat.com> - 0.10.2-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Added pam as required package
|
|
|
|
- An alternative webUI rebased to latest upstream sources
|
|
|
|
- Improved configuration files permissions in rpm
|
|
|
|
|
2019-03-19 13:14:46 +00:00
|
|
|
* Tue Mar 19 2019 Tomas Jelinek <tojeline@redhat.com> - 0.10.1-4
|
|
|
|
- Removed unused dependency rubygem-multi_json
|
|
|
|
- Removed files needed only for building rubygems from the package
|
|
|
|
|
2019-02-04 14:13:05 +00:00
|
|
|
* Mon Feb 04 2019 Ivan Devát <idevat@redhat.com> - 0.10.1-3
|
|
|
|
- Corrected gem install flags
|
|
|
|
|
2019-02-01 18:09:03 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-08 12:10:36 +00:00
|
|
|
* Wed Jan 09 2019 Ivan Devát <idevat@redhat.com> - 0.10.1-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2018-10-09 13:38:20 +00:00
|
|
|
* Tue Oct 09 2018 Ondrej Mular <omular@redhat.com> - 0.10.0.alpha.6-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Resolves: rhbz#1618911
|
|
|
|
|
2018-08-31 12:18:36 +00:00
|
|
|
* Fri Aug 31 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-3
|
|
|
|
- Started bundling rubygem-tilt (rubygem-tilt is orphaned in fedora due to rubygem-prawn dependency)
|
|
|
|
- Enabled passing tests
|
|
|
|
|
2018-08-25 09:14:44 +00:00
|
|
|
* Sat Aug 25 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-2
|
|
|
|
- Fixed error with missing rubygem location during pcsd start
|
|
|
|
- Resolves: rhbz#1618911
|
|
|
|
|
2018-07-26 08:22:42 +00:00
|
|
|
* Thu Aug 02 2018 Ivan Devát <idevat@redhat.com> - 0.10.0.alpha.2-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2018-07-25 13:59:45 +00:00
|
|
|
* Wed Jul 25 2018 Ivan Devát <idevat@redhat.com> - 0.9.164-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-13 15:36:31 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.164-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:49:20 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.164-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-04-09 12:52:49 +00:00
|
|
|
* Mon Apr 09 2018 Ondrej Mular <omular@redhat.com> - 0.9.164-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Fixed: CVE-2018-1086, CVE-2018-1079
|
|
|
|
|
2018-02-26 15:37:40 +00:00
|
|
|
* Mon Feb 26 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-2
|
|
|
|
- Fixed crash when adding a node to a cluster
|
|
|
|
|
2018-02-14 15:54:25 +00:00
|
|
|
* Tue Feb 20 2018 Ivan Devát <idevat@redhat.com> - 0.9.163-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- Adapted for Rack 2 and Sinatra 2
|
|
|
|
|
2018-02-09 08:05:24 +00:00
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.160-5
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
2018-02-08 18:28:46 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.160-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-20 22:07:30 +00:00
|
|
|
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 0.9.160-3
|
|
|
|
- Rebuilt for switch to libxcrypt
|
|
|
|
|
2018-01-05 13:45:27 +00:00
|
|
|
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.160-2
|
|
|
|
- F-28: rebuild for ruby25
|
|
|
|
- Workaround for gem install option
|
|
|
|
|
2017-10-19 09:34:29 +00:00
|
|
|
* Wed Oct 18 2017 Ondrej Mular <omular@redhat.com> - 0.9.160-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
- All pcs tests are temporarily disabled because of issues in pacemaker.
|
|
|
|
|
2017-09-14 13:17:50 +00:00
|
|
|
* Thu Sep 14 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-4
|
|
|
|
- Bundle rubygem-rack-protection which is being updated to 2.0.0 in Fedora.
|
|
|
|
- Removed setuptools patch.
|
|
|
|
- Disabled debuginfo subpackage.
|
|
|
|
|
2017-08-03 04:55:35 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 02:18:39 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.159-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-12 11:42:55 +00:00
|
|
|
* Wed Jul 12 2017 Ondrej Mular <omular@redhat.com> - 0.9.159-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2017-05-19 11:31:35 +00:00
|
|
|
* Tue May 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-3
|
|
|
|
- Fixed python locales issue preventing build-time tests to pass
|
|
|
|
- Bundle rubygem-tilt which is being retired from Fedora
|
|
|
|
|
2017-03-21 11:10:42 +00:00
|
|
|
* Thu Mar 23 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-2
|
|
|
|
- Fixed Cross-site scripting (XSS) vulnerability in web UI CVE-2017-2661
|
|
|
|
- Re-added support for clufter as it is now available for Python 3
|
|
|
|
|
2017-02-22 12:25:59 +00:00
|
|
|
* Wed Feb 22 2017 Tomas Jelinek <tojeline@redhat.com> - 0.9.156-1
|
|
|
|
- Rebased to latest upstream sources (see CHANGELOG.md)
|
|
|
|
|
2017-02-11 01:22:32 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.155-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-13 15:36:05 +00:00
|
|
|
* Thu Jan 12 2017 Vít Ondruch <vondruch@redhat.com> - 0.9.155-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
|
|
|
|
|
2017-01-05 03:44:16 +00:00
|
|
|
* Wed Jan 04 2017 Adam Williamson <awilliam@redhat.com> - 0.9.155-1
|
|
|
|
- Latest release 0.9.155
|
|
|
|
- Fix tests with Python 3.6 and lxml 3.7
|
|
|
|
- Package the license as license, not doc
|
|
|
|
- Use -f param for rm when wiping test directories as they are nested now
|
|
|
|
|
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com>
|
2016-12-19 17:20:36 +00:00
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-10-18 11:20:27 +00:00
|
|
|
* Tue Oct 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-2
|
|
|
|
- Fixed upgrading from pcs-0.9.150
|
|
|
|
|
2016-09-22 13:49:51 +00:00
|
|
|
* Thu Sep 22 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.154-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
- Spec file cleanup and fixes
|
|
|
|
|
2016-07-19 08:14:26 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.150-2
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-04-11 09:27:40 +00:00
|
|
|
* Mon Apr 11 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.150-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
- Make pcs depend on python3
|
|
|
|
- Spec file cleanup
|
|
|
|
|
2016-02-23 16:22:24 +00:00
|
|
|
* Tue Feb 23 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-2
|
|
|
|
- Fixed rubygems issues which prevented pcsd from starting
|
|
|
|
- Added missing python-lxml dependency
|
|
|
|
|
2016-02-17 14:12:56 +00:00
|
|
|
* Thu Feb 18 2016 Tomas Jelinek <tojeline@redhat.com> - 0.9.149-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
- Security fix for CVE-2016-0720, CVE-2016-0721
|
|
|
|
- Fixed rubygems issues which prevented pcsd from starting
|
|
|
|
- Rubygems built with RELRO
|
|
|
|
- Spec file cleanup
|
|
|
|
- Fixed multilib .pyc/.pyo issue
|
|
|
|
|
2016-02-04 12:02:19 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.144-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-12 13:36:37 +00:00
|
|
|
* Tue Jan 12 2016 Vít Ondruch <vondruch@redhat.com> - 0.9.144-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
|
|
|
|
|
2015-09-18 14:15:59 +00:00
|
|
|
* Fri Sep 18 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.144-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2015-06-23 15:29:18 +00:00
|
|
|
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-2
|
|
|
|
- Added requirement for psmisc for killall
|
|
|
|
|
2015-06-23 14:52:04 +00:00
|
|
|
* Tue Jun 23 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.141-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2015-06-18 00:53:54 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.140-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-05 12:39:48 +00:00
|
|
|
* Fri Jun 05 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.140-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2015-05-22 08:31:54 +00:00
|
|
|
* Fri May 22 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-4
|
|
|
|
- Fix for CVE-2015-1848, CVE-2015-3983 (sessions not signed)
|
|
|
|
|
2015-03-26 16:21:49 +00:00
|
|
|
* Thu Mar 26 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-3
|
|
|
|
- Add BuildRequires: systemd (rhbz#1206253)
|
|
|
|
|
2015-02-27 14:28:18 +00:00
|
|
|
* Fri Feb 27 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-2
|
|
|
|
- Reflect clufter inclusion (rhbz#1180723)
|
|
|
|
|
2015-02-19 10:32:46 +00:00
|
|
|
* Thu Feb 19 2015 Tomas Jelinek <tojeline@redhat.com> - 0.9.139-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2015-01-17 06:22:18 +00:00
|
|
|
* Sat Jan 17 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.115-5
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
|
|
|
|
|
2014-08-17 15:07:21 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-06 23:57:07 +00:00
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.115-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-06 12:44:06 +00:00
|
|
|
* Tue May 06 2014 Tomas Jelinek <tojeline@redhat.com> - 0.9.115-2
|
|
|
|
- Rebuild to fix ruby dependencies
|
|
|
|
|
2014-04-21 19:16:15 +00:00
|
|
|
* Mon Apr 21 2014 Chris Feist <cfeist@redhat.com> - 0.9.115-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2013-12-14 00:07:51 +00:00
|
|
|
* Fri Dec 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.102-1
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2013-06-19 20:47:59 +00:00
|
|
|
* Wed Jun 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.48-1
|
|
|
|
- Rebuild with upstream sources
|
|
|
|
|
2013-06-13 18:20:23 +00:00
|
|
|
* Thu Jun 13 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-5
|
|
|
|
- Added fixes for building rpam with ruby-2.0.0
|
|
|
|
|
2013-06-04 22:03:44 +00:00
|
|
|
* Mon Jun 03 2013 Chris Feist <cfeist@redhat.com> - 0.9.44-4
|
|
|
|
- Rebuild with upstream sources
|
|
|
|
|
2013-05-08 16:10:15 +00:00
|
|
|
* Tue May 07 2013 Chris Feist <cfeist@redhat.com> - 0.9.41-2
|
2013-05-08 16:09:05 +00:00
|
|
|
- Resynced to upstream sources
|
|
|
|
|
2013-04-19 22:14:03 +00:00
|
|
|
* Fri Apr 19 2013 Chris Feist <cfeist@redhat.com> - 0.9.39-1
|
|
|
|
- Fixed gem building
|
|
|
|
- Re-synced to upstream sources
|
|
|
|
|
2013-03-25 19:49:49 +00:00
|
|
|
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-4
|
|
|
|
- Don't try to build gems at all
|
|
|
|
|
2013-03-25 19:36:17 +00:00
|
|
|
* Mon Mar 25 2013 Chris Feist <cfeist@rehdat.com> - 0.9.36-3
|
|
|
|
- Removed all gems from build, will need to find pam package in the future
|
|
|
|
|
2013-03-25 19:30:08 +00:00
|
|
|
* Mon Mar 25 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-2
|
|
|
|
- Removed duplicate libraries already present in fedora
|
|
|
|
|
2013-03-18 19:54:37 +00:00
|
|
|
* Mon Mar 18 2013 Chris Feist <cfeist@redhat.com> - 0.9.36-1
|
|
|
|
- Resynced to latest upstream
|
|
|
|
|
2013-03-11 20:13:10 +00:00
|
|
|
* Mon Mar 11 2013 Chris Feist <cfeist@redhat.com> - 0.9.33-1
|
|
|
|
- Resynched to latest upstream
|
|
|
|
- pcsd has been moved to /usr/lib to fix /usr/local packaging issues
|
|
|
|
|
2013-02-22 00:14:32 +00:00
|
|
|
* Thu Feb 21 2013 Chris Feist <cfeist@redhat.com> - 0.9.32-1
|
|
|
|
- Resynced to latest version of pcs/pcsd
|
|
|
|
|
2012-11-05 19:33:56 +00:00
|
|
|
* Mon Nov 05 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-3
|
|
|
|
- Build on all archs
|
|
|
|
|
|
|
|
* Thu Oct 25 2012 Chris Feist <cfeist@redhat.com> - 0.9.27-2
|
2012-10-16 22:58:38 +00:00
|
|
|
- Resync to latest version of pcs
|
|
|
|
- Added pcsd daemon
|
|
|
|
|
2012-10-08 21:50:29 +00:00
|
|
|
* Mon Oct 08 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.26-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
|
2012-09-20 22:59:43 +00:00
|
|
|
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.24-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
|
2012-09-20 22:36:02 +00:00
|
|
|
* Thu Sep 20 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.23-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
|
2012-09-13 02:02:42 +00:00
|
|
|
* Wed Sep 12 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.22-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
|
2012-09-06 22:36:12 +00:00
|
|
|
* Thu Sep 06 2012 Chris Feist <cfeist@redhat.cmo> - 0.9.19-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
|
2012-08-07 21:22:30 +00:00
|
|
|
* Tue Aug 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.12-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
|
2012-08-08 14:46:48 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-24 18:27:32 +00:00
|
|
|
* Thu May 24 2012 Chris Feist <cfeist@redhat.com> - 0.9.4-1
|
|
|
|
- Resync to latest version of pcs
|
|
|
|
- Move cluster creation options to cluster sub command.
|
|
|
|
|
2012-05-07 19:50:43 +00:00
|
|
|
* Mon May 07 2012 Chris Feist <cfeist@redhat.com> - 0.9.3.1-1
|
|
|
|
- Resync to latest version of pcs which includes fixes to work with F17.
|
|
|
|
|
2012-03-19 22:14:25 +00:00
|
|
|
* Mon Mar 19 2012 Chris Feist <cfeist@redhat.com> - 0.9.2.4-1
|
2012-03-19 18:36:49 +00:00
|
|
|
- Resynced to latest version of pcs
|
|
|
|
|
2012-01-24 19:43:25 +00:00
|
|
|
* Mon Jan 23 2012 Chris Feist <cfeist@redhat.com> - 0.9.1-1
|
2018-02-09 08:05:24 +00:00
|
|
|
- Updated BuildRequires and %%doc section for fedora
|
2012-01-24 19:43:25 +00:00
|
|
|
|
|
|
|
* Fri Jan 20 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-2
|
|
|
|
- Updated spec file for fedora specific changes
|
|
|
|
|
|
|
|
* Mon Jan 16 2012 Chris Feist <cfeist@redhat.com> - 0.9.0-1
|
|
|
|
- Initial Build
|