Accepting request 195558 from home:Andreas_Schwab:Factory

- Add aarch64 to the list of 64-bit architectures
- tanukiwrapper-Makefile-aarch64.patch: add makefile for aarch64

OBS-URL: https://build.opensuse.org/request/show/195558
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tanukiwrapper?expand=0&rev=8
This commit is contained in:
2013-08-19 11:03:34 +00:00
committed by Git OBS Bridge
parent 540054afcd
commit e7d2154c58
3 changed files with 56 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package tanukiwrapper
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2006, JPackage Project
# All rights reserved.
#
@@ -36,6 +36,7 @@ Patch3: %{name}-makefile-linux-x86-32.patch
Patch4: %{name}-Makefile-s390-s390x-ppc.patch
# The following patch is only needed for GCJ.
#Patch5: %{name}-nosun-jvm-64.patch
Patch6: %{name}-Makefile-aarch64.patch
BuildRequires: ant >= 1.6.1
BuildRequires: ant-junit
BuildRequires: ant-nodeps >= 1.6.1
@@ -99,6 +100,7 @@ common to many Java applications:
%patch2
%patch3
%patch4
%patch6 -p1
find . -name "*.jar" -exec %__rm -f {} \;
%__perl -p -i -e 's/\r//' doc/AUTHORS
%__perl -p -i -e 's|-O3|%optflags|' src/c/Makefile*
@@ -113,7 +115,7 @@ find . -name "*.jar" -exec %__rm -f {} \;
%build
export CLASSPATH=$(build-classpath ant junit xerces-j2 xml-commons-apis)
%ifarch x86_64 ia64 ppc64 sparc64 s390x
%ifarch x86_64 ia64 ppc64 sparc64 s390x aarch64
bits=64
%else
bits=32