Accepting request 234184 from home:deadpoint:branches:Java:packages

added xz build requirement and bytecode check for sles.

OBS-URL: https://build.opensuse.org/request/show/234184
OBS-URL: https://build.opensuse.org/package/show/Java:packages/qdox?expand=0&rev=12
This commit is contained in:
Darin Perusich 2014-05-15 13:18:26 +00:00 committed by Git OBS Bridge
parent 9916f7a6ab
commit 01a8c16d15
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 15 13:11:04 UTC 2014 - darin@darins.net
- Added xz build requirement for sles
- no bytecode check on sles
-------------------------------------------------------------------
Mon Sep 9 11:06:17 UTC 2013 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package qdox
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -51,6 +51,7 @@ Source6: qdox-build.xml
Source7: qdox-component-info.xml
BuildRequires: gpg2
BuildRequires: javapackages-tools
BuildRequires: xz
%if %with maven
BuildRequires: jmock >= 1.0
BuildRequires: maven >= 1.1
@ -167,6 +168,10 @@ ant -Dbuild.sysclasspath=only jar javadoc
%endif
%install
%if 0%{?suse_version} == 1110
export NO_BRP_CHECK_BYTECODE_VERSION=true
%endif
# jars
mkdir -p $RPM_BUILD_ROOT%{_javadir}
cp -p target/%{name}-%{version}.jar \