Accepting request 636902 from home:pmonrealgonzalez:branches:Java:packages
- Updated to 1.9.3 * This is a bug fix release, which also improves the tests for building on Java 8. * Note that Java 8 and later no longer support indexed bean properties on java.util.List, only on arrays like String[]. (BEANUTILS-492). This affects PropertyUtils.getPropertyType() and PropertyUtils.getPropertyDescriptor(); their javadoc have therefore been updated to reflect this change in the JDK. * Changes in this version include: - Fixed Bugs: * BEANUTILS-477: Changed log level in FluentPropertyBeanIntrospector * BEANUTILS-492: Fixed exception when setting indexed properties on DynaBeans. * BEANUTILS-470: Precision lost when converting BigDecimal. * BEANUTILS-465: Indexed List Setters fixed. - Changes: * BEANUTILS-433: Update dependency from JUnit 3.8.1 to 4.12. * BEANUTILS-469: Update commons-logging from 1.1.1 to 1.2. * BEANUTILS-474: FluentPropertyBeanIntrospector does not use the same naming algorithm as DefaultBeanIntrospector. * BEANUTILS-490: Update Java requirement from Java 5 to 6. * BEANUTILS-482: Update commons-collections from 3.2.1 to 3.2.2 (CVE-2015-4852). * BEANUTILS-490: Update java requirement to Java 6. * BEANUTILS-492: IndexedPropertyDescriptor tests now pass on Java 8. * BEANUTILS-495: DateConverterTestBase fails on M/d/yy in Java 9. * BEANUTILS-496: testGetDescriptorInvalidBoolean fails on Java 9. - Historical list of changes: http://commons.apache.org/proper/commons-beanutils/changes-report.html - Refreshed patch jdk9.patch for this version update OBS-URL: https://build.opensuse.org/request/show/636902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=14
This commit is contained in:
parent
f1a09a03c2
commit
86c2b555c6
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 20 10:45:41 UTC 2018 - pmonrealgonzalez@suse.com
|
||||||
|
|
||||||
|
- Updated to 1.9.3
|
||||||
|
* This is a bug fix release, which also improves the tests for
|
||||||
|
building on Java 8.
|
||||||
|
* Note that Java 8 and later no longer support indexed bean
|
||||||
|
properties on java.util.List, only on arrays like String[].
|
||||||
|
(BEANUTILS-492). This affects PropertyUtils.getPropertyType()
|
||||||
|
and PropertyUtils.getPropertyDescriptor(); their javadoc have
|
||||||
|
therefore been updated to reflect this change in the JDK.
|
||||||
|
* Changes in this version include:
|
||||||
|
- Fixed Bugs:
|
||||||
|
* BEANUTILS-477: Changed log level in FluentPropertyBeanIntrospector
|
||||||
|
* BEANUTILS-492: Fixed exception when setting indexed properties
|
||||||
|
on DynaBeans.
|
||||||
|
* BEANUTILS-470: Precision lost when converting BigDecimal.
|
||||||
|
* BEANUTILS-465: Indexed List Setters fixed.
|
||||||
|
- Changes:
|
||||||
|
* BEANUTILS-433: Update dependency from JUnit 3.8.1 to 4.12.
|
||||||
|
* BEANUTILS-469: Update commons-logging from 1.1.1 to 1.2.
|
||||||
|
* BEANUTILS-474: FluentPropertyBeanIntrospector does not use the
|
||||||
|
same naming algorithm as DefaultBeanIntrospector.
|
||||||
|
* BEANUTILS-490: Update Java requirement from Java 5 to 6.
|
||||||
|
* BEANUTILS-482: Update commons-collections from 3.2.1 to 3.2.2
|
||||||
|
(CVE-2015-4852).
|
||||||
|
* BEANUTILS-490: Update java requirement to Java 6.
|
||||||
|
* BEANUTILS-492: IndexedPropertyDescriptor tests now pass on Java 8.
|
||||||
|
* BEANUTILS-495: DateConverterTestBase fails on M/d/yy in Java 9.
|
||||||
|
* BEANUTILS-496: testGetDescriptorInvalidBoolean fails on Java 9.
|
||||||
|
- Historical list of changes:
|
||||||
|
http://commons.apache.org/proper/commons-beanutils/changes-report.html
|
||||||
|
|
||||||
|
- Refreshed patch jdk9.patch for this version update
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 15 06:03:11 UTC 2018 - fstrba@suse.com
|
Tue May 15 06:03:11 UTC 2018 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -19,13 +19,14 @@
|
|||||||
%define base_name beanutils
|
%define base_name beanutils
|
||||||
%define short_name commons-%{base_name}
|
%define short_name commons-%{base_name}
|
||||||
Name: apache-commons-beanutils
|
Name: apache-commons-beanutils
|
||||||
Version: 1.9.2
|
Version: 1.9.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utility methods for accessing and modifying the properties of JavaBeans
|
Summary: Utility methods for accessing and modifying the properties of JavaBeans
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: http://commons.apache.org/beanutils
|
Url: http://commons.apache.org/beanutils
|
||||||
Source0: commons-beanutils-%{version}-src.tar.gz
|
Source0: http://mirror.dkm.cz/apache//commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||||
|
Source1: http://mirror.dkm.cz/apache//commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc
|
||||||
Patch0: jdk9.patch
|
Patch0: jdk9.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: commons-collections
|
BuildRequires: commons-collections
|
||||||
@ -74,7 +75,7 @@ ant -Dbuild.sysclasspath=first dist
|
|||||||
%install
|
%install
|
||||||
# jars
|
# jars
|
||||||
install -d -m 755 %{buildroot}%{_javadir}
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
pushd %{buildroot}%{_javadir}
|
pushd %{buildroot}%{_javadir}
|
||||||
for jar in *.jar; do
|
for jar in *.jar; do
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:91fccad3b65f278bad98df1aa8467f2d3df6095f41b2db39d2c12863fb2c0049
|
|
||||||
size 396910
|
|
3
commons-beanutils-1.9.3-src.tar.gz
Normal file
3
commons-beanutils-1.9.3-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:139fa584321bab198a68a3ed99ed3804268b9cc5e3257f0f6b3a503df0029a0d
|
||||||
|
size 414517
|
7
commons-beanutils-1.9.3-src.tar.gz.asc
Normal file
7
commons-beanutils-1.9.3-src.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iD8DBQBX4rOHQRBjo6D/0RkRApT1AJ9NGUGJzFi59vlrWvDzFKdROKXMvgCbBhL1
|
||||||
|
/oUw+UyHw8Gh5YAeSN4PnuI=
|
||||||
|
=v7kQ
|
||||||
|
-----END PGP SIGNATURE-----
|
30
jdk9.patch
30
jdk9.patch
@ -1,15 +1,17 @@
|
|||||||
--- commons-beanutils-1.9.2-src/build.xml 2014-05-25 19:24:55.000000000 +0200
|
Index: commons-beanutils-1.9.3-src/build.xml
|
||||||
+++ commons-beanutils-1.9.2-src/build.xml 2017-09-14 10:40:26.676525095 +0200
|
===================================================================
|
||||||
|
--- commons-beanutils-1.9.3-src.orig/build.xml
|
||||||
|
+++ commons-beanutils-1.9.3-src/build.xml
|
||||||
@@ -62,10 +62,10 @@
|
@@ -62,10 +62,10 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Compiler source JDK version -->
|
<!-- Compiler source JDK version -->
|
||||||
- <property name="compile.source" value="1.5"/>
|
- <property name="compile.source" value="1.5"/>
|
||||||
+ <property name="compile.source" value="8"/>
|
+ <property name="compile.source" value="8"/>
|
||||||
|
|
||||||
<!-- Compiler target JDK version -->
|
<!-- Compiler target JDK version -->
|
||||||
- <property name="compile.target" value="1.5"/>
|
- <property name="compile.target" value="1.5"/>
|
||||||
+ <property name="compile.target" value="8"/>
|
+ <property name="compile.target" value="8"/>
|
||||||
|
|
||||||
<!-- Should Java compilations set the 'debug' compiler option? -->
|
<!-- Should Java compilations set the 'debug' compiler option? -->
|
||||||
<property name="compile.debug" value="true"/>
|
<property name="compile.debug" value="true"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user