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

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


The following commit(s) were added to refs/heads/4.20 by this push:
     new 96b757c35bc packaging: have noarch defined for rpms (#10057)
96b757c35bc is described below

commit 96b757c35bc7d1f0da1d03d7df7cbf094b5bb385
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Jan 21 21:18:53 2025 +0530

    packaging: have noarch defined for rpms (#10057)
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 packaging/el8/cloud.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packaging/el8/cloud.spec b/packaging/el8/cloud.spec
index e34778820cb..fbbb7abe350 100644
--- a/packaging/el8/cloud.spec
+++ b/packaging/el8/cloud.spec
@@ -17,6 +17,8 @@
 
 %define __os_install_post %{nil}
 %global debug_package %{nil}
+%global __requires_exclude libc\\.so\\..*
+%define _binaries_in_noarch_packages_terminate_build   0
 
 # DISABLE the post-percentinstall java repacking and line number stripping
 # we need to find a way to just disable the java repacking and line number 
stripping, but not the autodeps
@@ -35,6 +37,7 @@ Group:     System Environment/Libraries
 # FIXME do groups for every single one of the subpackages
 Source0:   %{name}-%{_maventag}.tgz
 BuildRoot: %{_tmppath}/%{name}-%{_maventag}-%{release}-build
+BuildArch: noarch
 
 BuildRequires: (java-11-openjdk-devel or java-17-openjdk-devel)
 #BuildRequires: ws-commons-util
@@ -117,7 +120,7 @@ Requires: qemu-kvm
 Requires: cryptsetup
 Requires: rng-tools
 Requires: (libgcrypt > 1.8.3 or libgcrypt20)
-Requires: (selinux-tools if qemu-tools)
+Requires: (selinux-tools if selinux-tools)
 Requires: sysstat
 Provides: cloud-agent
 Group: System Environment/Libraries

Reply via email to