From e2b6a2d61c4acb1d47c831eefc0bba517db3848e589cdeab39793b14bd3c0280 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 3 Jun 2016 07:34:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsf?expand=0&rev=23 --- bsf.changes | 7 ++++--- bsf.spec | 4 ++++ build-file-doclint.patch | 12 ++++++++++++ build-file.patch | 8 -------- 4 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 build-file-doclint.patch diff --git a/bsf.changes b/bsf.changes index 2d9a20f..d84816b 100644 --- a/bsf.changes +++ b/bsf.changes @@ -1,8 +1,9 @@ ------------------------------------------------------------------- -Thu Jun 2 15:13:38 UTC 2016 - fstrba@suse.com +Fri Jun 3 07:11:39 UTC 2016 - fstrba@suse.com -- Update build-file.patch: Disable doclint feature while building - javadoc. +- Add patch: + * build-file-doclint.patch: Disable doclint feature while + building javadoc with java-1_8_0-openjdk ------------------------------------------------------------------- Wed Mar 25 09:24:47 UTC 2015 - tchvatal@suse.com diff --git a/bsf.spec b/bsf.spec index 2fed31d..62e3f5b 100644 --- a/bsf.spec +++ b/bsf.spec @@ -29,6 +29,7 @@ Source1000: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{vers Source1001: bsf.keyring Patch0: build-file.patch Patch1: build.properties.patch +Patch2: build-file-doclint.patch BuildRequires: ant BuildRequires: apache-commons-logging BuildRequires: java-devel @@ -92,6 +93,9 @@ rm -fr bsf %patch0 -p1 %patch1 -p1 +%if 0%{?suse_version} >= 1330 +%patch2 -p1 +%endif %build [ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java diff --git a/build-file-doclint.patch b/build-file-doclint.patch new file mode 100644 index 0000000..15bc5a9 --- /dev/null +++ b/build-file-doclint.patch @@ -0,0 +1,12 @@ +Index: bsf-2.4.0/build.xml +=================================================================== +--- bsf-2.4.0.orig/build.xml ++++ bsf-2.4.0/build.xml +@@ -272,6 +274,7 @@ Copyright: + + + ++ + + + diff --git a/build-file.patch b/build-file.patch index b2abff4..d44a47b 100644 --- a/build-file.patch +++ b/build-file.patch @@ -25,11 +25,3 @@ Index: bsf-2.4.0/build.xml -@@ -272,6 +274,7 @@ Copyright: - - - -+ - - -