Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions storage/innobase/xtrabackup/utils/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
percona-xtrabackup-96 (9.6) unstable; urgency=low

* Packaging changes for version 9.6

-- Vadim Yalovets <vadim.yalovets@percona.com> Thu, 09 Apr 2026 11:10:28 +0300
percona-xtrabackup-91 (9.1) unstable; urgency=low

* Packaging changes for version 9.1
Expand Down
14 changes: 7 additions & 7 deletions storage/innobase/xtrabackup/utils/debian/control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: percona-xtrabackup-91
Source: percona-xtrabackup-96
Section: database
Priority: extra
Maintainer: Percona Development Team <opensource-dev@percona.com>
Expand All @@ -25,9 +25,9 @@ Build-Depends: automake,
Standards-Version: 3.9.5
Homepage: http://www.percona.com/software/percona-xtrabackup

Package: percona-xtrabackup-91
Package: percona-xtrabackup-96
Architecture: any
Depends: libdbd-mysql-perl, libcurl4-openssl-dev, rsync, zstd, lz4, ${misc:Depends}, ${shlibs:Depends}
Depends: libcurl4-openssl-dev, rsync, zstd, lz4, ${misc:Depends}, ${shlibs:Depends}
Provides: xtrabackup
Conflicts: percona-xtrabackup-21, percona-xtrabackup-22, percona-xtrabackup, percona-xtrabackup-24, percona-xtrabackup-80, percona-xtrabackup-81, percona-xtrabackup-82, percona-xtrabackup-83
Breaks: xtrabackup (<< 2.0.0~)
Expand All @@ -39,17 +39,17 @@ Description: Open source backup tool for InnoDB and XtraDB
InnoDB, XtraDB and MyISAM tables on MySQL/Percona Server/MariaDB
servers, and has many advanced features.

Package: percona-xtrabackup-dbg-91
Package: percona-xtrabackup-dbg-96
Section: debug
Architecture: any
Depends: percona-xtrabackup-91 (= ${binary:Version}), ${misc:Depends}
Depends: percona-xtrabackup-96 (= ${binary:Version}), ${misc:Depends}
Description: Debug symbols for Percona XtraBackup
Debug symbols for the binaries in percona-xtrabackup. Install this
package if you need to run any of those with gdb.

Package: percona-xtrabackup-test-91
Package: percona-xtrabackup-test-96
Architecture: any
Depends: mysql-client, percona-xtrabackup-91, ${misc:Depends}
Depends: mysql-client, percona-xtrabackup-96, ${misc:Depends}
Description: Test suite for Percona XtraBackup
Test suite for Percona XtraBackup. Install this package if you intend
to run XtraBackup's test suite.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/usr/share/man/man1/xbstream*
/usr/lib/private/libprotobuf-lite.so.*
/usr/lib/private/libprotobuf.so.*
/usr/lib/private/icudt73l/unames.icu
/usr/lib/private/icudt73l/brkitr/*
/usr/lib/private/icudt77l/unames.icu
/usr/lib/private/icudt77l/brkitr/*
/usr/lib/private/libabsl_*
/usr/lib/private/libicu*

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/share/percona-xtrabackup-test-96
18 changes: 9 additions & 9 deletions storage/innobase/xtrabackup/utils/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ override_dh_auto_configure:
ifeq "$(DEB_DUMMY)" ""
( test -d $(builddirdebug) || mkdir $(builddirdebug) ) && cd $(builddirdebug) && \
cmake .. -DBUILD_CONFIG=xtrabackup_release -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_SSL=system -DINSTALL_MYSQLTESTDIR=/usr/share/percona-xtrabackup-test-91 \
-DWITH_SSL=system -DINSTALL_MYSQLTESTDIR=/usr/share/percona-xtrabackup-test-96 \
-DINSTALL_MANDIR=/usr/share/man -DWITH_MAN_PAGES=1 -DMINIMAL_RELWITHDEBINFO=OFF \
-DDOWNLOAD_BOOST=1 -DWITH_BOOST=libboost -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-DINSTALL_PLUGINDIR=lib/xtrabackup/plugin -DFORCE_INSOURCE_BUILD=1 -DWITH_ZLIB=bundled -DWITH_ZSTD=bundled -DWITH_PROTOBUF=bundled && \
cd ..
( test -d $(builddir) || mkdir $(builddir) ) && cd $(builddir) && \
cmake .. -DBUILD_CONFIG=xtrabackup_release -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_SSL=system -DINSTALL_MYSQLTESTDIR=/usr/share/percona-xtrabackup-test-91 \
-DWITH_SSL=system -DINSTALL_MYSQLTESTDIR=/usr/share/percona-xtrabackup-test-96 \
-DINSTALL_MANDIR=/usr/share/man -DWITH_MAN_PAGES=1 -DMINIMAL_RELWITHDEBINFO=OFF \
-DDOWNLOAD_BOOST=1 -DWITH_BOOST=libboost -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-DINSTALL_PLUGINDIR=lib/xtrabackup/plugin -DFORCE_INSOURCE_BUILD=1 -DWITH_ZLIB=bundled -DWITH_ZSTD=bundled -DWITH_PROTOBUF=bundled
Expand Down Expand Up @@ -62,16 +62,16 @@ override_dh_auto_install:

override_dh_install:
dh_install
mkdir -p debian/percona-xtrabackup-91/usr/lib/private/
mkdir -p debian/percona-xtrabackup-91/usr/bin/
cp ./$(builddir)/library_output_directory/libprotobuf-lite.so* debian/percona-xtrabackup-91/usr/lib/private/
cp ./$(builddirdebug)/runtime_output_directory/xtrabackup debian/percona-xtrabackup-91/usr/bin/xtrabackup-debug
patchelf --debug --set-rpath $(originrpath) debian/percona-xtrabackup-91/usr/lib/private/libprotobuf-lite.so*
patchelf --debug --set-rpath $(rpath) debian/percona-xtrabackup-91/usr/bin/xtrabackup-debug
mkdir -p debian/percona-xtrabackup-96/usr/lib/private/
mkdir -p debian/percona-xtrabackup-96/usr/bin/
cp ./$(builddir)/library_output_directory/libprotobuf-lite.so* debian/percona-xtrabackup-96/usr/lib/private/
cp ./$(builddirdebug)/runtime_output_directory/xtrabackup debian/percona-xtrabackup-96/usr/bin/xtrabackup-debug
patchelf --debug --set-rpath $(originrpath) debian/percona-xtrabackup-96/usr/lib/private/libprotobuf-lite.so*
patchelf --debug --set-rpath $(rpath) debian/percona-xtrabackup-96/usr/bin/xtrabackup-debug
@echo "RULES.$@"

override_dh_strip:
dh_strip --dbg-package=percona-xtrabackup-dbg-91
dh_strip --dbg-package=percona-xtrabackup-dbg-96
dh_strip -Xlibprotobuf-lite

%:
Expand Down
121 changes: 79 additions & 42 deletions storage/innobase/xtrabackup/utils/percona-xtrabackup-8.0_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ get_sources(){
sed -i "s:@@XB_VERSION_EXTRA@@:${EXTRAVER}:g" storage/innobase/xtrabackup/utils/percona-xtrabackup.spec
sed -i "s:@@XB_RPM_VERSION_EXTRA@@:${RPM_EXTRAVER}:g" storage/innobase/xtrabackup/utils/percona-xtrabackup.spec
sed -i "s:@@XB_REVISION@@:${REVISION}:g" storage/innobase/xtrabackup/utils/percona-xtrabackup.spec
sed -i "s:@@RPM_RELEASE@@:${RPM_RELEASE}:g" storage/innobase/xtrabackup/utils/percona-xtrabackup.spec
#
# create a PXB tar
cd ${WORKDIR}/percona-xtrabackup
Expand All @@ -201,6 +202,12 @@ get_system(){
export ARCH=$(echo $(uname -m) | sed -e 's:i686:i386:g')
export OS_NAME="el$RHEL"
export OS="rpm"
elif [ -f /etc/amazon-linux-release ]; then
GLIBC_VER_TMP="$(rpm glibc -qa --qf %{VERSION})"
export RHEL=$(rpm --eval %amzn)
export ARCH=$(echo $(uname -m) | sed -e 's:i686:i386:g')
export OS_NAME="amzn$RHEL"
export OS="rpm"
else
GLIBC_VER_TMP="$(dpkg-query -W -f='${Version}' libc6 | awk -F'-' '{print $1}')"
export ARCH=$(uname -m)
Expand Down Expand Up @@ -247,25 +254,30 @@ install_deps() {
yum -y install git wget yum-utils curl
yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm
if [ x"$ARCH" = "xx86_64" ]; then
if [ $RHEL = 9 ]; then
yum-config-manager --enable ol9_distro_builder
yum-config-manager --enable ol9_codeready_builder
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
if [ ${RHEL} = 9 -o ${RHEL} = 10 ]; then
yum-config-manager --enable ol${RHEL}_distro_builder
yum-config-manager --enable ol${RHEL}_codeready_builder
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-${RHEL}.noarch.rpm
else
add_percona_yum_repo
# add_percona_yum_repo
percona-release enable tools testing
fi
else
yum-config-manager --enable ol"${RHEL}"_codeready_builder
yum -y install epel-release
if [ ${RHEL} = 10 ]; then
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm
yum -y install epel-release
else
yum -y install epel-release
fi
fi
if [ ${RHEL} = 8 -o ${RHEL} = 9 ]; then
PKGLIST+=" binutils-devel python3-pip python3-setuptools libtirpc-devel"
if [[ "${RHEL}" = "8" || "${RHEL}" = "9" || "${RHEL}" = "2023" || "${RHEL}" = "10" ]]; then
PKGLIST+=" binutils-devel python3-pip python3-setuptools"
PKGLIST+=" libcurl-devel cmake libaio-devel zlib-devel libev-devel bison make"
PKGLIST+=" rpm-build libgcrypt-devel ncurses-devel readline-devel openssl-devel"
PKGLIST+=" vim-common rpmlint patchelf python3-wheel libudev-devel"
if [ $RHEL = 9 ]; then
PKGLIST+=" rsync procps-ng-devel python3-sphinx gcc gcc-c++"
PKGLIST+=" vim-common rpmlint patchelf python3-wheel libudev-devel libtirpc-devel"
if [[ "${RHEL}" = "9" || "${RHEL}" = "2023" || "${RHEL}" = "10" ]]; then
PKGLIST+=" rsync procps-ng-devel python3-sphinx gcc gcc-c++ gcc-gfortran"
else
if [ x"$ARCH" = "xx86_64" ]; then
yum-config-manager --enable powertools
Expand All @@ -282,19 +294,20 @@ install_deps() {
sleep 1
done
if [ $RHEL = 8 ]; then
DEVTOOLSET10_PKGLIST+=" gcc-toolset-10-gcc-c++ gcc-toolset-10-binutils"
DEVTOOLSET10_PKGLIST+=" gcc-toolset-10-valgrind gcc-toolset-10-valgrind-devel gcc-toolset-10-libatomic-devel"
DEVTOOLSET10_PKGLIST+=" gcc-toolset-10-libasan-devel gcc-toolset-10-libubsan-devel gcc-toolset-10-annobin"
# DEVTOOLSET11_PKGLIST+=" gcc-toolset-11-gcc-c++ gcc-toolset-11-binutils"
# DEVTOOLSET11_PKGLIST+=" gcc-toolset-11-valgrind gcc-toolset-11-valgrind-devel gcc-toolset-11-libatomic-devel"
# DEVTOOLSET11_PKGLIST+=" gcc-toolset-11-libasan-devel gcc-toolset-11-libubsan-devel gcc-toolset-11-annobin"
DEVTOOLSET12_PKGLIST+=" gcc-toolset-12-gcc-c++ gcc-toolset-12-binutils"
DEVTOOLSET12_PKGLIST+=" gcc-toolset-12-libasan-devel gcc-toolset-12-libubsan-devel gcc-toolset-12-annobin-annocheck gcc-toolset-12-annobin-plugin-gcc"
/*
if [ x"$ARCH" = "xx86_64" ]; then
yum -y install centos-release-stream
until yum -y install ${DEVTOOLSET10_PKGLIST}; do
until yum -y install ${DEVTOOLSET12_PKGLIST}; do
echo "waiting"
sleep 1
done
update-alternatives --install /usr/bin/gcc gcc /opt/rh/gcc-toolset-10/root/usr/bin/gcc 10
update-alternatives --install /usr/bin/g++ g++ /opt/rh/gcc-toolset-10/root/usr/bin/g++ 10
update-alternatives --install /usr/bin/gcc gcc /opt/rh/gcc-toolset-11/root/usr/bin/gcc 11
update-alternatives --install /usr/bin/g++ g++ /opt/rh/gcc-toolset-11/root/usr/bin/g++ 11
gcc --version
yum -y remove centos-release-stream
else
Expand All @@ -304,8 +317,18 @@ install_deps() {
done
update-alternatives --install /usr/bin/gcc gcc /opt/rh/gcc-toolset-12/root/usr/bin/gcc 12
update-alternatives --install /usr/bin/g++ g++ /opt/rh/gcc-toolset-12/root/usr/bin/g++ 12
scl enable gcc-toolset-12 bash
gcc --version
fi
*/
until yum -y install ${DEVTOOLSET12_PKGLIST}; do
echo "waiting"
sleep 1
done
update-alternatives --install /usr/bin/gcc gcc /opt/rh/gcc-toolset-12/root/usr/bin/gcc 12
update-alternatives --install /usr/bin/g++ g++ /opt/rh/gcc-toolset-12/root/usr/bin/g++ 12
scl enable gcc-toolset-12 bash
gcc --version
fi
else
until yum -y install epel-release centos-release-scl; do
Expand All @@ -322,28 +345,14 @@ install_deps() {
echo "waiting"
done
PKGLIST+=" wget libcurl-devel cmake cmake3 make gcc gcc-c++ libev-devel openssl-devel rpm-build"
PKGLIST+=" libaio-devel perl-DBD-MySQL vim-common ncurses-devel readline-devel readline"
PKGLIST+=" libaio-devel vim-common ncurses-devel readline-devel readline"
PKGLIST+=" zlib-devel libgcrypt-devel bison patchelf"
PKGLIST+=" socat numactli libudev-devel libicu-devel"
PKGLIST+=" procps-ng-devel"
if [[ "${RHEL}" -eq 7 ]]; then
PKGLIST+=" numactl-libs perl-Digest-MD5 python3-pip python3-setuptools python3-wheel rh-python36-python-sphinx"
elif [[ "${RHEL}" -eq 6 ]]; then
PKGLIST+=" rh-python36-python-pip rh-python36-docutils rh-python36-python-setuptools"
fi
until yum -y install ${PKGLIST}; do
echo "waiting"
sleep 1
done
if [[ "${RHEL}" -eq 7 ]]; then
yum -y --enablerepo=centos-sclo-rh-testing install devtoolset-11-gcc-c++ devtoolset-11-binutils devtoolset-11-valgrind devtoolset-11-valgrind-devel devtoolset-11-libatomic-devel
yum -y --enablerepo=centos-sclo-rh-testing install devtoolset-11-libasan-devel devtoolset-11-libubsan-devel
yum -y update nss
scl enable devtoolset-11 bash
elif [[ "${RHEL}" -eq 6 ]]; then
source /opt/rh/rh-python36/enable
pip install sphinx
fi
fi
else
apt-get update
Expand All @@ -356,26 +365,23 @@ install_deps() {
PKGLIST+=" bison cmake devscripts debconf debhelper automake bison ca-certificates libcurl4-openssl-dev"
PKGLIST+=" cmake debhelper libaio-dev libncurses-dev libtool libz-dev libsasl2-dev vim-common"
PKGLIST+=" libgcrypt-dev libev-dev lsb-release libudev-dev pkg-config"
PKGLIST+=" build-essential rsync libdbd-mysql-perl libnuma1 socat libssl-dev patchelf libicu-dev"
if [ "${OS_NAME}" == "bookworm" -o "${OS_NAME}" == "noble" ]; then
PKGLIST+=" build-essential rsync libnuma1 socat libssl-dev patchelf libicu-dev"
if [ "${OS_NAME}" == "bookworm" -o "${OS_NAME}" == "noble" -o "${OS_NAME}" == "trixie" ]; then
PKGLIST+=" libproc2-dev"
else
PKGLIST+=" libprocps-dev"
fi
if [ "${OS_NAME}" == "noble" ]; then
if [ "${OS_NAME}" == "noble" -o "${OS_NAME}" == "trixie" ]; then
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
fi
if [ "${OS_NAME}" == "bionic" ]; then
PKGLIST+=" gcc-8 g++-8"
fi
if [ "${OS_NAME}" == "focal" ]; then
PKGLIST+=" gcc-10 g++-10"
fi
if [ "${OS_NAME}" == "noble" ]; then
if [ "${OS_NAME}" == "noble" -o "${OS_NAME}" == "trixie" ]; then
PKGLIST+=" libtirpc-dev"
fi
if [ "${OS_NAME}" == "focal" -o "${OS_NAME}" == "bullseye" -o "${OS_NAME}" == "bookworm" -o "${OS_NAME}" == "jammy" -o "${OS_NAME}" == "noble" ]; then
if [ "${OS_NAME}" == "focal" -o "${OS_NAME}" == "bullseye" -o "${OS_NAME}" == "bookworm" -o "${OS_NAME}" == "jammy" -o "${OS_NAME}" == "noble" -o "${OS_NAME}" == "trixie" ]; then
PKGLIST+=" python3-sphinx python3-docutils"
else
PKGLIST+=" python-sphinx python-docutils"
Expand Down Expand Up @@ -467,6 +473,19 @@ build_srpm(){
sed -i "/^%changelog/a - Release ${VERSION}-${RELEASE}" percona-xtrabackup.spec
sed -i "/^%changelog/a * $(date "+%a") $(date "+%b") $(date "+%d") $(date "+%Y") Percona Development Team <info@percona.com> - ${VERSION}-${RELEASE}" percona-xtrabackup.spec
#
cd ${WORKDIR}/rpmbuild/SOURCES
wget https://raw.githubusercontent.com/Percona-Lab/telemetry-agent/phase-0/call-home.sh
cd ${WORKDIR}/rpmbuild/SPECS
line_number=$(grep -n SOURCE999 percona-xtrabackup.spec | awk -F ':' '{print $1}')
cp ../SOURCES/call-home.sh ./
awk -v n=$line_number 'NR <= n {print > "part1.txt"} NR > n {print > "part2.txt"}' percona-xtrabackup.spec
head -n -1 part1.txt > temp && mv temp part1.txt
echo "cat <<'CALLHOME' > /tmp/call-home.sh" >> part1.txt
cat call-home.sh >> part1.txt
echo "CALLHOME" >> part1.txt
cat part2.txt >> part1.txt
rm -f call-home.sh part2.txt
mv part1.txt percona-xtrabackup.spec
cd $WORKDIR
#
mv -fv $TARFILE $WORKDIR/rpmbuild/SOURCES
Expand Down Expand Up @@ -524,11 +543,17 @@ build_rpm(){

enable_venv

rpmbuild --define "_topdir ${WORKDIR}/rpmbuild" --define "dist .el${RHEL}" --rebuild rpmbuild/SRPMS/${SRCRPM}
rpmbuild --define "_topdir ${WORKDIR}/rpmbuild" --define "dist .${OS_NAME}" --rebuild rpmbuild/SRPMS/${SRCRPM}
return_code=$?
if [ $return_code != 0 ]; then
exit $return_code
fi

# Verify RPMs were actually produced
if [ -z "$(find ${WORKDIR}/rpmbuild/RPMS -name '*.rpm' 2>/dev/null)" ]; then
echo "ERROR: rpmbuild succeeded but no RPM files were generated!"
exit 1
fi
mkdir -p ${WORKDIR}/rpm
mkdir -p ${CURDIR}/rpm
cp rpmbuild/RPMS/*/*.rpm ${WORKDIR}/rpm
Expand Down Expand Up @@ -557,7 +582,7 @@ build_source_deb(){

echo "DEB_RELEASE=${DEB_RELEASE}" >> ${CURDIR}/percona-xtrabackup-8.0.properties

NEWTAR=${NAME}-91_${VERSION}.orig.tar.gz
NEWTAR=${NAME}-96_${VERSION}.orig.tar.gz
mv ${TARFILE} ${NEWTAR}

tar xzf ${NEWTAR}
Expand Down Expand Up @@ -611,6 +636,18 @@ build_deb(){
dpkg-source -x $DSC
cd $DIRNAME
dch -m -D "$OS_NAME" --force-distribution -v "$VERSION-$DEB_RELEASE.$OS_NAME" 'Update distribution'
cd debian/
wget https://raw.githubusercontent.com/Percona-Lab/telemetry-agent/phase-0/call-home.sh
sed -i 's:exit 0::' percona-xtrabackup-96.postinst
echo "cat <<'CALLHOME' > /tmp/call-home.sh" >> percona-xtrabackup-96.postinst
cat call-home.sh >> percona-xtrabackup-96.postinst
echo "CALLHOME" >> percona-xtrabackup-96.postinst
echo "bash +x /tmp/call-home.sh -f \"PRODUCT_FAMILY_PXB\" -v \"${VERSION}-${DEB_RELEASE}\" -d \"PACKAGE\" &>/dev/null || :" >> percona-xtrabackup-96.postinst
echo "rm -rf /tmp/call-home.sh" >> percona-xtrabackup-96.postinst
echo "exit 0" >> percona-xtrabackup-96.postinst
rm -f call-home.sh
cd ../

dpkg-buildpackage -rfakeroot -uc -us -b

cd ${WORKDIR}
Expand Down
16 changes: 14 additions & 2 deletions storage/innobase/xtrabackup/utils/percona-xtrabackup.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
%define xb_version_extra @@XB_VERSION_EXTRA@@
%define xb_rpm_version_extra @@XB_RPM_VERSION_EXTRA@@
%define xb_revision @@XB_REVISION@@
%define rpm_release @@RPM_RELEASE@@
%if 0%{?rhel} == 8
%define cmake_bin cmake
%else
Expand All @@ -29,11 +30,12 @@ Group: Applications/Databases
License: GPLv2
URL: http://www.percona.com/software/percona-xtrabackup
Source: percona-xtrabackup-%{version}%{xb_version_extra}.tar.gz
Source999: call-home.sh

BuildRequires: %{cmake_bin}, libaio-devel, libgcrypt-devel, ncurses-devel, readline-devel, zlib-devel, libev-devel openssl-devel
BuildRequires: libcurl-devel
Conflicts: percona-xtrabackup-21, percona-xtrabackup-22, percona-xtrabackup, percona-xtrabackup-24, percona-xtrabackup-80, percona-xtrabackup-81, percona-xtrabackup-82, percona-xtrabackup-84
Requires: perl(DBD::mysql), rsync, zstd
Requires: rsync, zstd
Requires: perl(Digest::MD5), lz4
BuildRoot: %{_tmppath}/%{name}-%{version}%{xb_version_extra}-root

Expand Down Expand Up @@ -116,6 +118,15 @@ rm -rf $RPM_BUILD_ROOT/%{_mandir}/man1/l*
rm -rf $RPM_BUILD_ROOT/%{_mandir}/man1/p*
rm -rf $RPM_BUILD_ROOT/%{_mandir}/man1/z*

%post
cp %SOURCE999 /tmp/ 2>/dev/null ||
%if 0%{?enable_fipsmode}
bash /tmp/call-home.sh -f "PRODUCT_FAMILY_PXB" -v %{xb_version_major}.%{xb_version_minor}.%{xb_version_patch}%{xb_version_extra}-%{rpm_release}-pro -d "PACKAGE" &>/dev/null || :
%else
bash /tmp/call-home.sh -f "PRODUCT_FAMILY_PXB" -v %{xb_version_major}.%{xb_version_minor}.%{xb_version_patch}%{xb_version_extra}-%{rpm_release} -d "PACKAGE" &>/dev/null || :
%endif
rm -f /tmp/call-home.sh

%clean
rm -rf $RPM_BUILD_ROOT

Expand All @@ -128,7 +139,8 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/xbcloud
%{_bindir}/xbcloud_osenv
/usr/lib/private/libprotobuf*
/usr/lib/private/icudt73l
/usr/lib/private/icudt77l*
/usr/lib/private/libicu*
/usr/lib/private/libabsl_*
%{_libdir}/xtrabackup/plugin/component_keyring_vault.so
%{_libdir}/xtrabackup/plugin/component_keyring_file.so
Expand Down
Loading