SHA256
1
0
forked from pool/ant

Accepting request 537343 from home:jengelh:branches:Java:packages

- Simply use find -delete over xargs.
- Make description neutral.

OBS-URL: https://build.opensuse.org/request/show/537343
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=106
This commit is contained in:
Tomáš Chvátal 2017-10-29 08:21:03 +00:00 committed by Git OBS Bridge
parent 2d00d3514c
commit 0f335cb333
6 changed files with 27 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 28 16:17:19 UTC 2017 - jengelh@inai.de
- Simply use find -delete over xargs.
- Make description neutral.
-------------------------------------------------------------------
Tue Oct 24 11:26:36 UTC 2017 - bwiedemann@suse.com

View File

@ -98,7 +98,7 @@ This package contains optional JUnit tasks for Apache Ant.
%else
%description
Apache Ant is a Java-based build tool. In theory, it is kind of like
Make, but without Make's wrinkles.
Make. Build description files are written in XML.
%endif
%if %{with bootstrap}
@ -344,7 +344,7 @@ find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
%patch6 -p1
# clean jar files
%{_bindir}/find . -name "*.jar" | %{_bindir}/xargs -t rm
find . -name "*.jar" -print -delete
# failing testcases. TODO see why
rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \
@ -530,7 +530,7 @@ find %{buildroot}%{_datadir}/ant%{_sysconfdir} -type f -name "*.xsl" \
-a ! -name log.xsl \
-a ! -name mmetrics-frames.xsl \
-a ! -name tagdiff.xsl \
| xargs -t rm
-print -delete
%endif
%if %{with bootstrap}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 28 16:17:19 UTC 2017 - jengelh@inai.de
- Simply use find -delete over xargs.
- Make description neutral.
-------------------------------------------------------------------
Tue Oct 24 11:26:36 UTC 2017 - bwiedemann@suse.com

View File

@ -98,7 +98,7 @@ This package contains optional JUnit tasks for Apache Ant.
%else
%description
Apache Ant is a Java-based build tool. In theory, it is kind of like
Make, but without Make's wrinkles.
Make. Build description files are written in XML.
%endif
%if %{with bootstrap}
@ -344,7 +344,7 @@ find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
%patch6 -p1
# clean jar files
%{_bindir}/find . -name "*.jar" | %{_bindir}/xargs -t rm
find . -name "*.jar" -print -delete
# failing testcases. TODO see why
rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \
@ -530,7 +530,7 @@ find %{buildroot}%{_datadir}/ant%{_sysconfdir} -type f -name "*.xsl" \
-a ! -name log.xsl \
-a ! -name mmetrics-frames.xsl \
-a ! -name tagdiff.xsl \
| xargs -t rm
-print -delete
%endif
%if %{with bootstrap}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 28 16:17:19 UTC 2017 - jengelh@inai.de
- Simply use find -delete over xargs.
- Make description neutral.
-------------------------------------------------------------------
Tue Oct 24 11:26:36 UTC 2017 - bwiedemann@suse.com

View File

@ -97,7 +97,7 @@ This package contains optional JUnit tasks for Apache Ant.
%else
%description
Apache Ant is a Java-based build tool. In theory, it is kind of like
Make, but without Make's wrinkles.
Make. Build description files are written in XML.
%endif
%if %{with bootstrap}
@ -343,7 +343,7 @@ find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
%patch6 -p1
# clean jar files
%{_bindir}/find . -name "*.jar" | %{_bindir}/xargs -t rm
find . -name "*.jar" -print -delete
# failing testcases. TODO see why
rm src/tests/junit/org/apache/tools/ant/types/selectors/SignedSelectorTest.java \
@ -529,7 +529,7 @@ find %{buildroot}%{_datadir}/ant%{_sysconfdir} -type f -name "*.xsl" \
-a ! -name log.xsl \
-a ! -name mmetrics-frames.xsl \
-a ! -name tagdiff.xsl \
| xargs -t rm
-print -delete
%endif
%if %{with bootstrap}