From f03d314e67637142c3ec7c31d995e5f0d9822e81c963e0b9fb770fb812617337 Mon Sep 17 00:00:00 2001 From: Darin Perusich Date: Thu, 15 May 2014 13:19:03 +0000 Subject: [PATCH] Accepting request 234186 from home:deadpoint:branches:Java:packages no bytecode check for sles OBS-URL: https://build.opensuse.org/request/show/234186 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-collections?expand=0&rev=7 --- apache-commons-collections.changes | 5 +++++ apache-commons-collections.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/apache-commons-collections.changes b/apache-commons-collections.changes index bb741a9..b767198 100644 --- a/apache-commons-collections.changes +++ b/apache-commons-collections.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 15 13:17:17 UTC 2014 - darin@darins.net + +- no bytecode check from sles + ------------------------------------------------------------------- Mon Sep 9 11:04:10 UTC 2013 - tchvatal@suse.com diff --git a/apache-commons-collections.spec b/apache-commons-collections.spec index 852de89..ad937e4 100644 --- a/apache-commons-collections.spec +++ b/apache-commons-collections.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-collections # -# 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 @@ -122,6 +122,10 @@ export CLASSPATH=$(build-classpath junit4) ant -Djava.io.tmpdir=. jar javadoc tf.validate tf.jar dist.bin dist.src tf.javadoc %install +%if 0%{?suse_version} == 1110 +export NO_BRP_CHECK_BYTECODE_VERSION=true +%endif + # jars install -d -m 755 %{buildroot}%{_javadir} install -m 644 build/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar