Accepting request 523232 from Java:packages
Fix build on systems where jdk9 is the default OBS-URL: https://build.opensuse.org/request/show/523232 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsf?expand=0&rev=24
This commit is contained in:
commit
dbf62ef49c
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 7 17:18:12 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Force java source and target levels to 1.6 in order to allow
|
||||||
|
building with jdk9
|
||||||
|
- Force using of java-1_8_0-openjdk-devel, since javadoc errors are
|
||||||
|
fatal in jdk9
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 20 18:41:16 UTC 2017 - tchvatal@suse.com
|
Sat May 20 18:41:16 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
6
bsf.spec
6
bsf.spec
@ -31,14 +31,14 @@ Patch0: build-file.patch
|
|||||||
Patch1: build.properties.patch
|
Patch1: build.properties.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: apache-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel >= 1.6
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: rhino
|
BuildRequires: rhino
|
||||||
BuildRequires: xalan-j2
|
BuildRequires: xalan-j2
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildConflicts: java-devel >= 1.9
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bean Scripting Framework (BSF) is a set of Java classes that provides
|
Bean Scripting Framework (BSF) is a set of Java classes that provides
|
||||||
@ -112,14 +112,12 @@ install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
|||||||
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc LICENSE.txt AUTHORS.txt CHANGES.txt NOTICE.txt README.txt TODO.txt RELEASE-NOTE.txt
|
%doc LICENSE.txt AUTHORS.txt CHANGES.txt NOTICE.txt README.txt TODO.txt RELEASE-NOTE.txt
|
||||||
%{_javadir}/*
|
%{_javadir}/*
|
||||||
%{_mavenpomdir}/JPP-%{name}.pom
|
%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%{_datadir}/maven-metadata/%{name}.xml
|
%{_datadir}/maven-metadata/%{name}.xml
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_javadocdir}/%{name}
|
%dir %{_javadocdir}/%{name}
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ diff --new-file -r -u bsf-2.4.0-orig/build-properties.xml bsf-2.4.0/build-proper
|
|||||||
+ <property name="site.dest" location="docs"/>
|
+ <property name="site.dest" location="docs"/>
|
||||||
+ <property name="site.projectFile" value="stylesheets/project.xml"/>
|
+ <property name="site.projectFile" value="stylesheets/project.xml"/>
|
||||||
+
|
+
|
||||||
+ <property name="source.level" value="1.3" />
|
+ <property name="source.level" value="1.6" />
|
||||||
+
|
+
|
||||||
+ <property name="src.dir" value="src"/>
|
+ <property name="src.dir" value="src"/>
|
||||||
+
|
+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user