Accepting request 126987 from home:k0da:ppc

- read ppc64 as known platform.

OBS-URL: https://build.opensuse.org/request/show/126987
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=4
This commit is contained in:
Michal Vyskocil 2012-07-03 14:21:16 +00:00 committed by Git OBS Bridge
parent b986be96b1
commit 0f74acd255
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Index: commons-daemon-1.0.10-src/src/native/unix/configure
===================================================================
--- commons-daemon-1.0.10-src.orig/src/native/unix/configure
+++ commons-daemon-1.0.10-src/src/native/unix/configure
@@ -2607,7 +2607,10 @@ echo "$as_me: error: Unsupported operati
;;
esac
case $host_cpu in
- powerpc)
+ powerpc*)
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+ HOST_CPU=$host_cpu;;
+ ppc*)
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
HOST_CPU=$host_cpu;;
sparc*)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 3 13:28:57 UTC 2012 - dvaleev@suse.com
- read ppc64 as known platform.
-------------------------------------------------------------------
Fri Jun 15 11:14:54 UTC 2012 - mvyskocil@suse.cz

View File

@ -29,6 +29,7 @@ Source0: commons-daemon-%{version}-src.tar.gz
Patch0: 0001-execve-path-warning.patch
Patch1: apache-commons-daemon-JAVA_OS.patch
Patch2: apache-commons-daemon-s390x.patch
Patch3: apache-commons-daemon-ppc64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ant
@ -77,6 +78,7 @@ The Javadoc Documentation for Commons Daemon.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# remove java binaries from sources
rm -rf src/samples/build/