From: Dennis Schafroth Date: Thu, 15 Sep 2011 14:09:24 +0000 (+0000) Subject: Fix docBase in context.xml X-Git-Tag: v0.2.1~3 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=4457702a9cb886814a520266ec045543529e50d2;p=lui-solr.git Fix docBase in context.xml --- 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