From cce558354551aacfb56042a288fb8a04a010b433 Mon Sep 17 00:00:00 2001 From: Evgeniy Patlan Date: Tue, 19 Dec 2023 13:28:16 +0200 Subject: [PATCH] ENG-7 fix build on el8 --- config/rpm/percona-toolkit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rpm/percona-toolkit.spec b/config/rpm/percona-toolkit.spec index 05e9764b..bfb2fbc4 100644 --- a/config/rpm/percona-toolkit.spec +++ b/config/rpm/percona-toolkit.spec @@ -45,7 +45,7 @@ VERSION=3.5.6 make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -for file in $(diff -rq bin/ $RPM_BUILD_ROOT/usr/bin | awk '{print $NF}'); do cp bin/$file $RPM_BUILD_ROOT/usr/bin; done +for file in $(diff -rq bin/ $RPM_BUILD_ROOT/usr/bin | awk '{print $NF}'); do cp bin/$file $RPM_BUILD_ROOT/usr/bin || true; done find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' find $RPM_BUILD_ROOT -type f -name 'percona-toolkit.pod' -exec rm -f {} ';'