From 06ec95ee24919753d4c7198857d0f2cafd16f6aa Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 20 Jan 2014 14:45:37 +0100 Subject: [PATCH] Reflect changes in xmvn connetor --- xmvn.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xmvn.spec b/xmvn.spec index e0953d9..cd46d80 100644 --- a/xmvn.spec +++ b/xmvn.spec @@ -90,7 +90,7 @@ cp -r %{_datadir}/maven/lib/* %{buildroot}%{_datadir}/%{name}/lib/ # possibly recreate symlinks that can be automated with xmvn-subst %{name}-subst %{buildroot}%{_datadir}/%{name}/ -for jar in core connector;do +for jar in core connector-aether connector-ivy;do ln -sf %{_javadir}/%{name}/%{name}-$jar.jar %{buildroot}%{_datadir}/%{name}/lib done @@ -109,10 +109,10 @@ rm %{buildroot}%{_datadir}/%{name}/lib/google-guice-no_aop.jar build-jar-repository %{buildroot}%{_datadir}/%{name}/lib/ \ guice/google-guice-no_aop -#if [[ `find %{buildroot}%{_datadir}/%{name}/lib -type f -name '*.jar' -not -name '*%{name}*' | wc -l` -ne 0 ]];then -# echo "Some jar files were not symlinked during build. Aborting" -# exit 1 -#fi +if [[ `find %{buildroot}%{_datadir}/%{name}/lib -type f -name '*.jar' -not -name '*%{name}*' | wc -l` -ne 0 ]];then + echo "Some jar files were not symlinked during build. Aborting" + exit 1 +fi # /usr/bin/xmvn script