Switch from %setup to %autosetup

This commit is contained in:
Mikolaj Izdebski 2024-08-20 16:33:56 +02:00
commit 6b868d29c7

View file

@ -53,15 +53,12 @@ Summary: Javadoc for %{name}
%{summary}.
%prep
%setup -q -n commons-collections-%{version}-src
%autosetup -p1 -n commons-collections-%{version}-src
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
find . -name "*.class" -exec rm -f {} \;
%patch 0 -p1
%patch 1 -p1
%patch 2 -p1
# Port to maven-antrun-plugin 3.0.0
sed -i s/tasks/target/ pom.xml