[jsilver] Workaround bug 1106598
Mat Booth
mbooth at fedoraproject.org
Mon Jun 9 16:47:24 UTC 2014
commit 2882e89aaba0c4f879cc4f5d1e16ae9e1f166f59
Author: Mat Booth <mat.booth at redhat.com>
Date: Mon Jun 9 17:47:06 2014 +0100
Workaround bug 1106598
jsilver.spec | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/jsilver.spec b/jsilver.spec
index 354e7a4..02eb6bc 100644
--- a/jsilver.spec
+++ b/jsilver.spec
@@ -30,18 +30,19 @@ This package contains the API documentation for %{name}.
find . -name *.jar -exec rm -f {} \;
ln -s %{_javadir}/sablecc.jar sablecc/
-# non default target dir doesn't work well with xmvn
-sed -i -e "s/>build</>target</" pom.xml
-sed -i -e "s/build/target/" build.xml
+%mvn_file : jsilver
%build
%mvn_build
+# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1106598
+mkdir target
+mv build/site target
+
%install
%mvn_install
%files -f .mfiles
-%dir %{_javadir}/jsilver
%files javadoc -f .mfiles-javadoc
More information about the scm-commits
mailing list