Port to ppc64le architecture

This commit is contained in:
Vitezslav Crhonek 2014-03-18 12:07:38 +01:00
parent 7766cce852
commit 6ee2b3a815
4 changed files with 11 additions and 4 deletions

View File

@ -56,7 +56,7 @@ case $ARCH in
done; done;
exit 0; exit 0;
;; ;;
x86_64 | ppc64 | s390x | sparc64 ) x86_64 | ppc64 | ppc64le | s390x | sparc64 )
# continue # continue
;; ;;
*) *)

View File

@ -46,7 +46,7 @@ case ${RPM_ARCH} in
ppc) ppc)
export PEGASUS_PLATFORM=LINUX_PPC_GNU; export PEGASUS_PLATFORM=LINUX_PPC_GNU;
;; ;;
ppc64|pseries) ppc64|ppc64le|pseries)
export PEGASUS_PLATFORM=LINUX_PPC64_GNU; export PEGASUS_PLATFORM=LINUX_PPC64_GNU;
;; ;;
s390) s390)

View File

@ -27,7 +27,7 @@ case ${RPM_ARCH} in
ppc) ppc)
export PEGASUS_PLATFORM=LINUX_PPC_GNU; export PEGASUS_PLATFORM=LINUX_PPC_GNU;
;; ;;
ppc64|pseries) ppc64|ppc64le|pseries)
export PEGASUS_PLATFORM=LINUX_PPC64_GNU; export PEGASUS_PLATFORM=LINUX_PPC64_GNU;
;; ;;
s390) s390)

View File

@ -8,7 +8,7 @@
Name: tog-pegasus Name: tog-pegasus
Version: %{major_ver}.0 Version: %{major_ver}.0
Release: 9%{?dist} Release: 10%{?dist}
Epoch: 2 Epoch: 2
Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
@ -152,6 +152,9 @@ The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
%ifarch ppc64 %ifarch ppc64
%global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
%endif %endif
%ifarch ppc64le
%global PEGASUS_HARDWARE_PLATFORM LINUX_PPC64_GNU
%endif
%ifarch s390 %ifarch s390
%global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES_GNU
%endif %endif
@ -496,6 +499,10 @@ fi
%changelog %changelog
* Tue Mar 18 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-10
- Port to ppc64le architecture (patch by Michel Normand)
Resolves: #1075923
* Wed Mar 12 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-9 * Wed Mar 12 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.13.0-9
- Wait for the slpd.service in the systemd unit file (patch by Tomas Smetana) - Wait for the slpd.service in the systemd unit file (patch by Tomas Smetana)