diff --git a/apache-commons-beanutils.changes b/apache-commons-beanutils.changes index 14a65e4..0ea27ed 100644 --- a/apache-commons-beanutils.changes +++ b/apache-commons-beanutils.changes @@ -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 diff --git a/apache-commons-beanutils.spec b/apache-commons-beanutils.spec index 0d3b42a..808d312 100644 --- a/apache-commons-beanutils.spec +++ b/apache-commons-beanutils.spec @@ -19,13 +19,14 @@ %define base_name beanutils %define short_name commons-%{base_name} Name: apache-commons-beanutils -Version: 1.9.2 +Version: 1.9.3 Release: 0 Summary: Utility methods for accessing and modifying the properties of JavaBeans License: Apache-2.0 Group: Development/Libraries/Java 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 BuildRequires: ant BuildRequires: commons-collections @@ -74,7 +75,7 @@ ant -Dbuild.sysclasspath=first dist %install # jars 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} for jar in *.jar; do diff --git a/commons-beanutils-1.9.2-src.tar.gz b/commons-beanutils-1.9.2-src.tar.gz deleted file mode 100644 index 114422c..0000000 --- a/commons-beanutils-1.9.2-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:91fccad3b65f278bad98df1aa8467f2d3df6095f41b2db39d2c12863fb2c0049 -size 396910 diff --git a/commons-beanutils-1.9.3-src.tar.gz b/commons-beanutils-1.9.3-src.tar.gz new file mode 100644 index 0000000..48ad30b --- /dev/null +++ b/commons-beanutils-1.9.3-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:139fa584321bab198a68a3ed99ed3804268b9cc5e3257f0f6b3a503df0029a0d +size 414517 diff --git a/commons-beanutils-1.9.3-src.tar.gz.asc b/commons-beanutils-1.9.3-src.tar.gz.asc new file mode 100644 index 0000000..816415f --- /dev/null +++ b/commons-beanutils-1.9.3-src.tar.gz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iD8DBQBX4rOHQRBjo6D/0RkRApT1AJ9NGUGJzFi59vlrWvDzFKdROKXMvgCbBhL1 +/oUw+UyHw8Gh5YAeSN4PnuI= +=v7kQ +-----END PGP SIGNATURE----- diff --git a/jdk9.patch b/jdk9.patch index acd5bc0..c557e6a 100644 --- a/jdk9.patch +++ b/jdk9.patch @@ -1,15 +1,17 @@ ---- commons-beanutils-1.9.2-src/build.xml 2014-05-25 19:24:55.000000000 +0200 -+++ commons-beanutils-1.9.2-src/build.xml 2017-09-14 10:40:26.676525095 +0200 +Index: commons-beanutils-1.9.3-src/build.xml +=================================================================== +--- commons-beanutils-1.9.3-src.orig/build.xml ++++ commons-beanutils-1.9.3-src/build.xml @@ -62,10 +62,10 @@ - - - -- -+ - - -- -+ - - - + + + +- ++ + + +- ++ + + +