Fridrich Strba 2018-05-15 06:06:42 +00:00 committed by Git OBS Bridge
parent f44840f00a
commit 05cd986334
3 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue May 15 06:03:11 UTC 2018 - fstrba@suse.com
- Modified patch:
* jdk9.patch
+ Build with source and target 8 to prepare for a possible
removal of 1.6 compatibility in OpenJDK 11
- Run fdupes on documentation
-------------------------------------------------------------------
Thu Sep 14 09:25:26 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package apache-commons-beanutils
#
# 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
@ -30,6 +30,7 @@ Patch0: jdk9.patch
BuildRequires: ant
BuildRequires: commons-collections
BuildRequires: commons-logging
BuildRequires: fdupes
BuildRequires: xml-commons-apis
Requires: commons-collections >= 2.0
Requires: commons-logging >= 1.0
@ -87,6 +88,7 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
%files
%defattr(0644,root,root,0755)

View File

@ -5,11 +5,11 @@
<!-- Compiler source JDK version -->
- <property name="compile.source" value="1.5"/>
+ <property name="compile.source" value="1.6"/>
+ <property name="compile.source" value="8"/>
<!-- Compiler target JDK version -->
- <property name="compile.target" value="1.5"/>
+ <property name="compile.target" value="1.6"/>
+ <property name="compile.target" value="8"/>
<!-- Should Java compilations set the 'debug' compiler option? -->
<property name="compile.debug" value="true"/>