Hello community, here is the log from the commit of package bsh for openSUSE:Factory checked in at 2018-07-24 17:31:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bsh (Old) and /work/SRC/openSUSE:Factory/.bsh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bsh" Tue Jul 24 17:31:33 2018 rev:22 rq:620775 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/bsh/bsh.changes 2017-10-11 23:01:54.947423791 +0200 +++ /work/SRC/openSUSE:Factory/.bsh.new/bsh.changes 2018-07-24 17:31:37.584004447 +0200 @@ -1,0 +2,6 @@ +Wed May 16 07:25:41 UTC 2018 - [email protected] + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bsh.spec ++++++ --- /var/tmp/diff_new_pack.62PsrI/_old 2018-07-24 17:31:38.116005118 +0200 +++ /var/tmp/diff_new_pack.62PsrI/_new 2018-07-24 17:31:38.120005124 +0200 @@ -1,7 +1,7 @@ # # spec file for package bsh # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Version: 1.3.0 Release: 0 Summary: Lightweight Scripting for Java -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/Java Url: http://www.beanshell.org/ Source0: %{name}-%{version}-src.tar.bz2 @@ -32,7 +32,7 @@ BuildRequires: ant BuildRequires: bsf BuildRequires: fdupes -BuildRequires: java-devel +BuildRequires: java-devel >= 1.8 # Needed for maven conversions BuildRequires: javapackages-local BuildRequires: javapackages-tools @@ -108,9 +108,9 @@ %build mkdir -p lib export CLASSPATH=$(build-classpath bsf servletapi5 xalan-j2) -ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 dist -(cd docs/faq && ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6) -(cd docs/manual && ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6) +ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 dist +(cd docs/faq && ant -Dant.build.javac.source=8 -Dant.build.javac.target=8) +(cd docs/manual && ant -Dant.build.javac.source=8 -Dant.build.javac.target=8) %install # jars @@ -154,8 +154,8 @@ cp -pr javadoc/* %{buildroot}%{_javadocdir}/%{name} # demo for i in `find tests -name \*.bsh` tests/Template; do - perl -p -i -e 's,^\n?#!(/(usr/)?bin/java bsh\.Interpreter|/bin/sh),#!%{_bindir}/env %{_bindir}/%{name},' $i - if head -1 $i | grep '#!%{_bindir}/env %{_bindir}/%{name}' >/dev/null; then + perl -p -i -e 's,^\n?#!(/(usr/)?bin/java bsh\.Interpreter|/bin/sh),#!%{_bindir}/%{name},' $i + if head -1 $i | grep '#!%{_bindir}/%{name}' >/dev/null; then chmod 755 $i fi done
