[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, for-review, updated. debian/2.7.0-1-24-g0ddfbb9

Apollon Oikonomopoulos apoikos at gmail.com
Mon Jul 15 15:28:35 UTC 2013


The following commit has been merged in the for-review branch:
commit 0ddfbb99dc32a98f0d489c81ca258dad76e15e4f
Author: Apollon Oikonomopoulos <apoikos at gmail.com>
Date:   Mon Jul 15 17:30:14 2013 +0300

    ganeti2: do not ship /usr/lib/pythonX.Y
    
    There is no content there anymore, python libs live under /usr/share/ganeti2/.

diff --git a/debian/rules b/debian/rules
index 1c6cb3e..be2b7ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,6 +70,7 @@ override_dh_auto_install:
 
 	# move the python libraries to the private module path
 	mv $(GANETI_DIR)/usr/lib/$$(pyversions -d)/dist-packages/ganeti $(GANETI_DIR)/usr/share/ganeti2/
+	rm -rf $(GANETI_DIR)/usr/lib/$$(pyversions -d)
 	for file in $(GANETI_DIR)/usr/sbin/*; do \
 	  mv $$file $(PRIVATE_DIR); \
 	  ln -s ../share/ganeti2/$$(basename $$file) $$file; \

-- 
Ganeti packaging



More information about the Pkg-ganeti-devel mailing list