From e7b7aede4e6975f6e5945c18474f2882ff7832e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Poho=C5=99elsk=C3=BD?= Date: Thu, 19 Feb 2026 15:26:38 +0100 Subject: [PATCH] Replace deprecated %java_remove_annotations macro with jurand The %java_remove_annotations RPM macro has been removed from jurand. Use the jurand executable directly instead with -a flag for annotation removal. --- xmlunit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlunit.spec b/xmlunit.spec index 511433a..b7d86e9 100644 --- a/xmlunit.spec +++ b/xmlunit.spec @@ -85,7 +85,7 @@ rm -r xmlunit-core/src/main/java/org/xmlunit/builder/javax_jaxb\ # Port to hamcrest 2.1 -%java_remove_annotations xmlunit-matchers -p org[.]hamcrest[.]Factory +jurand -i -a xmlunit-matchers -p org[.]hamcrest[.]Factory %pom_disable_module xmlunit-assertj %pom_disable_module xmlunit-jakarta-jaxb-impl