[tog-pegasus] Port to ppc64le architecture

vcrhonek vcrhonek at fedoraproject.org
Tue Mar 18 11:07:46 UTC 2014


commit 6ee2b3a81570db540bfc1facf6bd35657e9debee
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Tue Mar 18 12:07:38 2014 +0100

    Port to ppc64le architecture

 pegasus_arch_alternatives |    2 +-
 pegasus_rpm_build_env.sh  |    2 +-
 rpm_build_env             |    2 +-
 tog-pegasus.spec          |    9 ++++++++-
 4 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/pegasus_arch_alternatives b/pegasus_arch_alternatives
index 4bf8f5c..89e0168 100755
--- a/pegasus_arch_alternatives
+++ b/pegasus_arch_alternatives
@@ -56,7 +56,7 @@ case $ARCH in
 	done;
 	exit 0;
 	;;
-    x86_64 | ppc64 | s390x | sparc64 )
+    x86_64 | ppc64 | ppc64le | s390x | sparc64 )
 	# continue
 	;;
     *)
diff --git a/pegasus_rpm_build_env.sh b/pegasus_rpm_build_env.sh
index 2962f67..57af0d9 100644
--- a/pegasus_rpm_build_env.sh
+++ b/pegasus_rpm_build_env.sh
@@ -46,7 +46,7 @@ case ${RPM_ARCH} in
   ppc)
     export PEGASUS_PLATFORM=LINUX_PPC_GNU;
     ;;
-  ppc64|pseries)
+  ppc64|ppc64le|pseries)
     export PEGASUS_PLATFORM=LINUX_PPC64_GNU;
     ;;
   s390)
diff --git a/rpm_build_env b/rpm_build_env
index ad8537a..d825b29 100644
--- a/rpm_build_env
+++ b/rpm_build_env
@@ -27,7 +27,7 @@ case ${RPM_ARCH} in
   ppc)
     export PEGASUS_PLATFORM=LINUX_PPC_GNU;
     ;;
-  ppc64|pseries)
+  ppc64|ppc64le|pseries)
     export PEGASUS_PLATFORM=LINUX_PPC64_GNU;
     ;;
   s390)
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index f20bca4..34cdce6 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
 
 Name:           tog-pegasus
 Version:        %{major_ver}.0
-Release:        9%{?dist}
+Release:        10%{?dist}
 Epoch:          2
 Summary:        OpenPegasus WBEM Services for Linux
 
@@ -152,6 +152,9 @@ The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
 %ifarch ppc64
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
 %endif
+%ifarch ppc64le
+%global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
+%endif
 %ifarch s390
 %global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES_GNU
 %endif
@@ -496,6 +499,10 @@ fi
 
 
 %changelog
+* Tue Mar 18 2014 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.13.0-10
+- Port to ppc64le architecture (patch by Michel Normand)
+  Resolves: #1075923
+
 * Wed Mar 12 2014 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.13.0-9
 - Wait for the slpd.service in the systemd unit file (patch by Tomas Smetana)
 


More information about the scm-commits mailing list