Accepting request 234185 from Java:packages

added xz build requirement and bytecode check for sles. (forwarded request 234184 from deadpoint)

OBS-URL: https://build.opensuse.org/request/show/234185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qdox?expand=0&rev=15
This commit is contained in:
Stephan Kulow 2014-05-17 04:43:11 +00:00 committed by Git OBS Bridge
commit e0e35f2db2
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 \