Switch from %setup to %autosetup
This commit is contained in:
parent
4226114216
commit
6b868d29c7
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue