Accepting request 527619 from Java:packages
Fix build with jdk9 OBS-URL: https://build.opensuse.org/request/show/527619 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bsf?expand=0&rev=25
This commit is contained in:
commit
1ade1cf667
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 20 20:32:46 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Fix javadoc errors with jdk9: use build-jar-repository instead
|
||||||
|
of system-wide CLASSPATH environmental variable
|
||||||
|
- Clean spec file and run fdupes on documentation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 17:18:12 UTC 2017 - fstrba@suse.com
|
Thu Sep 7 17:18:12 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
11
bsf.spec
11
bsf.spec
@ -31,6 +31,7 @@ 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: fdupes
|
||||||
BuildRequires: java-devel >= 1.6
|
BuildRequires: java-devel >= 1.6
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
@ -38,7 +39,6 @@ BuildRequires: rhino
|
|||||||
BuildRequires: xalan-j2
|
BuildRequires: xalan-j2
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
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
|
||||||
@ -91,11 +91,9 @@ rm -fr bsf
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
[ -z "$JAVA_HOME" ] && export JAVA_HOME=%{_jvmdir}/java
|
mkdir -p lib
|
||||||
export CLASSPATH=$(build-classpath apache-commons-logging rhino xalan-j2 servlet jspapi)
|
build-jar-repository -s -p lib apache-commons-logging rhino xalan-j2
|
||||||
ant jar
|
%{ant} jar javadocs
|
||||||
rm -rf bsf/src/org/apache/bsf/engines/java
|
|
||||||
ant javadocs
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
@ -110,6 +108,7 @@ install -DTm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|||||||
# javadoc
|
# javadoc
|
||||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr build/javadocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user