Don't hardcode path to xargs

This commit is contained in:
Mikolaj Izdebski 2017-02-23 10:52:32 +01:00
parent 584a6b3c0a
commit e8cc1540f1

View File

@ -36,7 +36,7 @@
Name: ant Name: ant
Version: 1.10.1 Version: 1.10.1
Release: 2%{?dist} Release: 3%{?dist}
Epoch: 0 Epoch: 0
Summary: Java build tool Summary: Java build tool
Summary(it): Tool per la compilazione di programmi java Summary(it): Tool per la compilazione di programmi java
@ -353,7 +353,7 @@ find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
%patch4 %patch4
# clean jar files # clean jar files
find . -name "*.jar" | %{_bindir}/xargs -t rm find . -name "*.jar" | xargs -t rm
# failing testcases. TODO see why # failing testcases. TODO see why
rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \ rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \
@ -611,6 +611,9 @@ cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
%changelog %changelog
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.10.1-3
- Don't hardcode path to xargs
* Thu Feb 16 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.10.1-2 * Thu Feb 16 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.10.1-2
- Conditionalize weak dependencies - Conditionalize weak dependencies