Switch from %setup to %autosetup

This commit is contained in:
Mikolaj Izdebski 2024-08-20 16:33:57 +02:00
commit 8f4a50de0d

View file

@ -79,19 +79,15 @@ Summary: Placeholders for %{name}
This package provides %{summary}.
%prep
%setup -q -n %{name}-%{version}-src
%autosetup -p1 -C
%patch 1 -p1
%patch 2 -p1
%patch 3 -p1
rm -r xmlunit-core/src/main/java/org/xmlunit/builder/javax_jaxb\
xmlunit-core/src/main/java/org/xmlunit/builder/JaxbBuilderFactory.java\
xmlunit-core/src/main/java/org/xmlunit/builder/JaxbBuilderFactoryLocator.java\
xmlunit-core/src/test/java/org/xmlunit/builder/javax_jaxb\
;
%patch 4 -p1
# Port to hamcrest 2.1
%java_remove_annotations xmlunit-matchers -p org[.]hamcrest[.]Factory