tags 571554 + patch
thanks

* Jakub Wilk <jw...@debian.org>, 2010-02-26, 00:26:
| checking for python... /usr/bin/python
| checking for python version... 2.6
| checking for python platform... linux2
| checking for python script directory... ${prefix}/lib/python2.6/dist-packages
| checking for python extension module directory... 
${exec_prefix}/lib/python2.6/dist-packages
| checking for python2.6... (cached) /usr/bin/python
[...]
| mv -f                
/build/user-setools_3.3.6.ds-6-amd64-Nll8c_/setools-3.3.6.ds/debian/python-setools/usr/lib/python2.6/site-packages/setools/*.py
 
/build/user-setools_3.3.6.ds-6-amd64-Nll8c_/setools-3.3.6.ds/debian/python-setools/usr/share/python-support/python-setools/;
| mv: cannot stat 
`/build/user-setools_3.3.6.ds-6-amd64-Nll8c_/setools-3.3.6.ds/debian/python-setools/usr/lib/python2.6/site-packages/setools/*.py':
 No such file or directory

The attached patch fixes this bug. However, there are more things in the package that needs attention:
- *.pyc and *.pyo files are shipped in the binary package;
- the binary packages uses obsolete (pre-0.90) python-support directory layout.

--
Jakub Wilk
diff -u setools-3.3.6.ds/debian/local.mk setools-3.3.6.ds/debian/local.mk
--- setools-3.3.6.ds/debian/local.mk
+++ setools-3.3.6.ds/debian/local.mk
@@ -639,8 +639,8 @@
 	gzip -9frq           $(DOCDIR)/
 # Make sure the copyright file is not compressed
 	$(install_file)      debian/copyright       $(DOCDIR)/copyright
-	mv -f                $(PDIR)/site-packages/setools/*.py $(MODULES_DIR)/;
-	mv -f                $(PDIR)/site-packages/setools/*    $(EXTENSIONS_DIR)/python$$PYTHON_VERSION/;
+	mv -f                $(PDIR)/*-packages/setools/*.py $(MODULES_DIR)/;
+	mv -f                $(PDIR)/*-packages/setools/*    $(EXTENSIONS_DIR)/python$$PYTHON_VERSION/;
 	rm -rf               $(PDIR)
 	$(strip-lib)
 	@echo done > $@

Attachment: signature.asc
Description: Digital signature

Reply via email to