commit 397502e00df72f899152a4014326184c478d2083
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Tue Jul 2 08:22:58 2013 +0200
Fix bootstrap build
ant.spec | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/ant.spec b/ant.spec
index b060aa7..f3ced10 100644
--- a/ant.spec
+++ b/ant.spec
@@ -29,11 +29,12 @@
#
%bcond_with bootstrap
-%bcond_without tests
%if %with bootstrap
+%bcond_with tests
%bcond_with javadoc
%else
+%bcond_without tests
%bcond_without javadoc
%endif
@@ -416,11 +417,6 @@ do
jarname=$(basename $jar .jar)
pomname="JPP.%{name}-${jarname}.pom"
-%if %with bootstrap
- #Bootstracp builds an incomplete ant-junit, don't ship it
- [ $jarname == ant-bootstrap ] && continue
-%endif
-
#instal jar
install -m 644 ${jar} $RPM_BUILD_ROOT%{_javadir}/%{name}/${jarname}.jar
# jar aliases
Show replies by date