[SCM] lucene-solr packaging branch, master, updated. upstream/3.6.0-12-g5f32792

James Page james.page at ubuntu.com
Mon May 28 11:21:05 UTC 2012


The following commit has been merged in the master branch:
commit 5f32792589f8c874b254893c098d8086b47c3d0f
Author: James Page <james.page at ubuntu.com>
Date:   Mon May 28 12:18:58 2012 +0100

    Tidy up permissions in binary package solr-common

diff --git a/debian/rules b/debian/rules
index b35bcc2..e48c338 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,13 +61,22 @@ override_dh_auto_clean:
 	rm -f debian/liblucene3-java.poms
 	dh_auto_clean
 
+override_dh_fixperms:
+	chmod 644 debian/solr-common/usr/share/solr/WEB-INF/weblogic.xml \
+		debian/solr-common/etc/solr/conf/schema.xml \
+		debian/solr-common/etc/solr/conf/solrconfig.xml \
+		debian/solr-common/usr/share/solr/favicon.ico \
+		debian/solr-common/usr/share/solr/admin/favicon.ico
+	dh_fixperms
+
 override_dh_auto_install:
 	sed -e "s|__VERSION__|$(DEB_UPSTREAM_VERSION)|g" \
 		< debian/liblucene3-java.poms.in > debian/liblucene3-java.poms 
 	dh_auto_install
 
 override_dh_installchangelogs:
-	dh_installchangelogs lucene/CHANGES.txt solr/CHANGES.txt
+	dh_installchangelogs -pliblucene3-java lucene/CHANGES.txt 
+	dh_installchangelogs -plibsolr-java solr/CHANGES.txt
 
 get-orig-source:
 	uscan --force-download --rename

-- 
lucene-solr packaging



More information about the pkg-java-commits mailing list