From 6ee2b3a81570db540bfc1facf6bd35657e9debee Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 18 Mar 2014 12:07:38 +0100 Subject: [PATCH] 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 - 2:2.13.0-10 +- Port to ppc64le architecture (patch by Michel Normand) + Resolves: #1075923 + * Wed Mar 12 2014 Vitezslav Crhonek - 2:2.13.0-9 - Wait for the slpd.service in the systemd unit file (patch by Tomas Smetana)