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

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1908c13d0f AMBARI-26121: Fix Python3 compilation error when packaging 
Ambari on CentOS 7 (#3818)
1908c13d0f is described below

commit 1908c13d0f943a589a05f49fef048739bc21204e
Author: piaolingzxh <[email protected]>
AuthorDate: Fri Aug 30 10:46:01 2024 +0800

    AMBARI-26121: Fix Python3 compilation error when packaging Ambari on CentOS 
7 (#3818)
    
    AMBARI-26121: Fix Python3 compilation error when packaging Ambari on CentOS 
7 (#3818)
---
 ambari-agent/pom.xml  | 3 +++
 ambari-server/pom.xml | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index 0b919448a0..1f98701e55 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -314,6 +314,9 @@
           <license>2012, Apache Software Foundation</license>
           <group>Development</group>
           <description>Maven Recipe: RPM Package.</description>
+          <defineStatements>
+            <defineStatement>__python 3</defineStatement>
+          </defineStatements>
           <requires>
             <require>${rpm.dependency.list}</require>
           </requires>
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 9ced079d8d..8c128d0c36 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -529,6 +529,9 @@
           <license>2012, Apache Software Foundation</license>
           <group>Development</group>
           <description>Maven Recipe: RPM Package.</description>
+          <defineStatements>
+             <defineStatement>__python 3</defineStatement>
+          </defineStatements>
           <autoRequires>no</autoRequires>
           <prefix>/</prefix>
           <requires>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to