From cb94ec19b84ba59b6751bd12207bebf1e84faecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 13:40:09 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- hibernate-validator.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/hibernate-validator.spec b/hibernate-validator.spec index 71f599e..3edd796 100644 --- a/hibernate-validator.spec +++ b/hibernate-validator.spec @@ -4,7 +4,7 @@ Name: hibernate-validator Version: 5.2.4 -Release: 6 +Release: 7 Summary: Bean Validation 1.1 (JSR 349) Reference Implementation License: ASL 2.0 URL: http://www.hibernate.org/subprojects/validator.html @@ -82,14 +82,14 @@ This package contains javadoc for %{name}. find . -name "*.jar" -delete find . -name "validation-configuration-1.0.xsd" -delete find . -name "validation-mapping-1.0.xsd" -delete -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 +%patch 0 -p1 +%patch 1 -p1 +%patch 2 -p1 +%patch 3 -p1 +%patch 4 -p1 +%patch 5 -p1 +%patch 6 -p1 +%patch 7 -p1 %pom_disable_module distribution %pom_disable_module documentation %pom_disable_module engine-jdk8-tests @@ -146,6 +146,9 @@ rm engine/src/main/java/org/hibernate/validator/internal/engine/valuehandling/Ja %license copyright.txt license.txt %changelog +* Mon Dec 16 2024 litian - 5.2.4-7 +- fix %patchN is deprecated warning + * Fri Jun 07 2024 Ge Wang - 5.2.4-6 - Fix build failure due to jaxb2-maven-plugin updated -- Gitee