diff --git a/apache-commons-beanutils.spec b/apache-commons-beanutils.spec index 0f6db7c2eb0ca07f284d9d1131bbf10fba3a9ed6..0f1bc3bcc26c21c4b447d7c2da325d9171308f25 100644 --- a/apache-commons-beanutils.spec +++ b/apache-commons-beanutils.spec @@ -1,10 +1,10 @@ %global base_name beanutils %global short_name commons-%{base_name} Name: apache-%{short_name} -Version: 1.9.4 -Release: 3 +Version: 1.11.0 +Release: 1 Summary: Java utility methods for accessing and modifying the properties of arbitrary JavaBeans -License: ASL 2.0 +License: Apache-2.0 BuildArch: noarch URL: http://commons.apache.org/%{base_name} Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz @@ -14,6 +14,7 @@ BuildRequires: mvn(commons-collections:commons-collections-testframework) BuildRequires: mvn(commons-logging:commons-logging) mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildRequires: mvn(org.apache.maven.surefire:surefire-junit-platform) %description The scope of this package is to create a package of Java utility methods for accessing and modifying the properties of arbitrary JavaBeans. No @@ -34,7 +35,7 @@ sed -i 's/\r//' *.txt %mvn_alias :{*} org.apache.commons:@1 org.apache.commons:@1-core org.apache.commons:@1-bean-collections %mvn_file : %{name} %{name}-core %{name}-bean-collections %mvn_file : %{short_name} %{short_name}-core %{short_name}-bean-collections -rm -rf src/test/java/org/apache/commons/beanutils/{BeanificationTestCase.java,LocaleBeanificationTestCase.java} +rm -rf src/test/java/org/apache/commons/beanutils/{BeanificationTestCase.java,locale/LocaleBeanificationTestCase.java} %build %mvn_build --skipTests @@ -53,6 +54,9 @@ xmvn test --batch-mode --offline verify %doc LICENSE.txt NOTICE.txt %changelog +* Wed Jun 04 2025 yaoxin <1024769339@qq.com> - 1.11.0-1 +- Update to 1.11.0 for fix CVE-2025-48734 + * Wed Jul 6 2022 liyanan - 1.9.4-3 - Remove unstable test cases diff --git a/commons-beanutils-1.11.0-src.tar.gz b/commons-beanutils-1.11.0-src.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..712b7a1dc09ee92ced37eed64ff1093579353a81 Binary files /dev/null and b/commons-beanutils-1.11.0-src.tar.gz differ diff --git a/commons-beanutils-1.9.4-src.tar.gz b/commons-beanutils-1.9.4-src.tar.gz deleted file mode 100644 index 8746bc1a7a590d7743ddcc579793be5a64419a37..0000000000000000000000000000000000000000 Binary files a/commons-beanutils-1.9.4-src.tar.gz and /dev/null differ