This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.18 by this push:
     new 60ab494c259 packaging: unalias cp before package upgrade (#7722)
60ab494c259 is described below

commit 60ab494c25934b43d450608984241b80e3822465
Author: dahn <[email protected]>
AuthorDate: Tue Aug 1 01:34:05 2023 +0200

    packaging: unalias cp before package upgrade (#7722)
---
 packaging/centos8/cloud.spec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packaging/centos8/cloud.spec b/packaging/centos8/cloud.spec
index a6b148afbe9..fdaf155ed73 100644
--- a/packaging/centos8/cloud.spec
+++ b/packaging/centos8/cloud.spec
@@ -392,6 +392,7 @@ install -D tools/whisker/LICENSE 
${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-inte
 
 %posttrans common
 
+unalias cp
 python_dir=$(python3 -c "from distutils.sysconfig import get_python_lib; 
print(get_python_lib(1))")
 if [ ! -z $python_dir ];then
   cp -f -r /usr/share/cloudstack-common/python-site/* $python_dir/

Reply via email to