[Pkg-zenoss-commits] r13 - packages/zenoss/trunk/debian

Bernd Zeimetz bzed-guest at alioth.debian.org
Tue May 8 17:05:18 UTC 2007


Author: bzed-guest
Date: 2007-05-08 17:05:17 +0000 (Tue, 08 May 2007)
New Revision: 13

Modified:
   packages/zenoss/trunk/debian/rules
Log:
removing zenplugins and pynetsnmp from the zenoss tarball


Modified: packages/zenoss/trunk/debian/rules
===================================================================
--- packages/zenoss/trunk/debian/rules	2007-05-07 16:41:05 UTC (rev 12)
+++ packages/zenoss/trunk/debian/rules	2007-05-08 17:05:17 UTC (rev 13)
@@ -40,7 +40,6 @@
 
 	cd PDIS-XPath-0.3; $(PYTHON) setup.py build
 	cd testgen; $(PYTHON) setup.py build
-	cd zenplugins; $(PYTHON) setup.py build
 	touch $@
 
 
@@ -60,8 +59,7 @@
 
 	cd PDIS-XPath-0.3; $(PYTHON) setup.py clean -a
 	cd testgen; $(PYTHON) setup.py clean -a
-	cd zenplugins; $(PYTHON) setup.py clean -a
-	find testgen PDIS-XPath-0.3 zenplugins -name \*.pyc -exec rm -f {} \;
+	find testgen PDIS-XPath-0.3 -name \*.pyc -exec rm -f {} \;
 	rm -f build-stamp-indep
 
 
@@ -92,9 +90,6 @@
 	cd testgen; $(PYTHON) setup.py install --root $(CURDIR)/debian/zenoss \
 				--install-purelib=/usr/share/python-support/zenoss \
 				--no-compile
-	cd zenplugins; $(PYTHON) setup.py install --root $(CURDIR)/debian/zenoss-plugins \
-				--install-purelib=/usr/share/python-support/zenoss-plugins \
-				--no-compile --single-version-externally-managed
 	dh_install -i -XLICENSE.txt -XCOPYRIGHT.txt -Xlicense.txt
 	install -m 644 debian/zenoss.lintian-overrides $(CURDIR)/debian/zenoss/usr/share/lintian/overrides/zenoss
 
@@ -248,7 +243,6 @@
 	\
 	echo "extracting needed external libs, removing the rest" ;\
 	    tar xfz inst/externallibs/PDIS-XPath-0.3.tar.gz ;\
-	    tar xfz inst/externallibs/snpplib-1.1.tgz ;\
 	    rm -rf inst/externallibs ;\
 	\
 	echo "removing what we don't want to have in the tarball" ;\
@@ -262,6 +256,9 @@
 	    rm -rf Products/PluginRegistry/ ;\
             rm -f  Products/DataCollector/plugins/setignore.sh ;\
 	    rm -rf zenwin ;\
+	    rm -rf zenplugins ;\
+	    rm -rf pynetsnmp ;\
+	    rmdir test || echo "----> please fix: directory test not empty anymore!" ;\
 	    rm -rf inst/externallibs ;\
 	    rm -rf inst/docs/Admin_Guide_1.0_Screens ;\
 	    rm -rf zendocs/QuickStartGuide-1.0 zendocs/ZenossQStart-1.0.pdf ;\




More information about the Pkg-zenoss-commits mailing list