From 4457702a9cb886814a520266ec045543529e50d2 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 15 Sep 2011 14:09:24 +0000 Subject: [PATCH] Fix docBase in context.xml --- lui-solr.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lui-solr.spec b/lui-solr.spec index 1fb4989..4b74aa1 100644 --- a/lui-solr.spec +++ b/lui-solr.spec @@ -1,7 +1,7 @@ Summary: Local Unified Index (Solr) Name: masterkey-lui-solr Version: 0.2.0 -Release: 1.indexdata +Release: 2.indexdata License: IndexData Group: Applications/Internet Vendor: Index Data ApS @@ -50,7 +50,7 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/masterkey/lui/ mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/lib/masterkey/lui/solr/data #tomcat context -sed -e 's@docBase=".*"@docBase="%{_datadir}\/masterkey\/lui/solr"@g' etc/solr-tomcat-context.xml > ${RPM_BUILD_ROOT}/%{_sysconfdir}/masterkey/lui/solr/lui-solr-context.xml +sed -e 's@docBase=".*"@docBase="%{_datadir}\/masterkey\/lui\/solr\/war\/apache-solr-3.3.0.war"@g' etc/solr-tomcat-context.xml > ${RPM_BUILD_ROOT}/%{_sysconfdir}/masterkey/lui/solr/lui-solr-context.xml # Solr config sed -e 's@${solr.data.dir:.*}@${solr.data.dir:%{_localstatedir}\/lib\/masterkey\/lui\/solr\/data}@g' solr-conf/solrconfig.xml > ${RPM_BUILD_ROOT}/%{_datadir}/masterkey/lui/solr/conf/solrconfig.xml -- 1.7.10.4