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.
This commit is contained in:
Ondřej Pohořelský 2026-02-19 15:26:38 +01:00
commit e7b7aede4e

View file

@ -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