From c21edc6a88cc758c6e948b8d151016ef662eb303 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Mon, 29 Nov 2021 19:09:15 +0800 Subject: [PATCH] Limit javax.annotation-api version to 1.2 (cherry picked from commit 142ee8fc4dd04c4d9bafd5badcbbb24fc1f9b12a) --- hibernate-validator.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hibernate-validator.spec b/hibernate-validator.spec index c3758a3..6efbd7d 100644 --- a/hibernate-validator.spec +++ b/hibernate-validator.spec @@ -4,7 +4,7 @@ Name: hibernate-validator Version: 5.2.4 -Release: 4 +Release: 5 Summary: Bean Validation 1.1 (JSR 349) Reference Implementation License: ASL 2.0 URL: http://www.hibernate.org/subprojects/validator.html @@ -21,7 +21,7 @@ Patch7: CVE-2019-10219.patch BuildRequires: maven-local mvn(com.fasterxml:classmate) mvn(com.sun.xml.bind:jaxb-impl) BuildRequires: mvn(com.thoughtworks.paranamer:paranamer) -BuildRequires: mvn(javax.annotation:javax.annotation-api) mvn(javax.el:javax.el-api) +BuildRequires: mvn(javax.annotation:javax.annotation-api) = 1.2 mvn(javax.el:javax.el-api) BuildRequires: mvn(javax.enterprise:cdi-api) mvn(javax.validation:validation-api) BuildRequires: mvn(javax.xml.bind:jaxb-api) mvn(joda-time:joda-time) mvn(junit:junit) BuildRequires: mvn(log4j:log4j:1.2.17) mvn(org.apache.felix:maven-bundle-plugin) @@ -144,6 +144,9 @@ rm engine/src/main/java/org/hibernate/validator/internal/engine/valuehandling/Ja %license copyright.txt license.txt %changelog +* Mon Nov 29 2021 lingsheng - 5.2.4-5 +- Limit javax.annotation-api version to 1.2 + * Mon Aug 23 2021 houyingchao - 5.2.4-4 - Fix CVE-2019-10219 -- Gitee