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