diff -u libffado-2.0.0+svn1813/debian/rules libffado-2.0.0+svn1813/debian/rules --- libffado-2.0.0+svn1813/debian/rules +++ libffado-2.0.0+svn1813/debian/rules @@ -72,9 +72,11 @@ EXPLICIT_TARGET = endif +PYDEF=$(shell pyversions -d) DEB_SCONS_EXTRA_FLAGS := \ PREFIX=/usr \ SHAREDIR=/usr/share/libffado2/ \ + PYPKGDIR=/usr/lib/$(PYDEF)/dist-packages/ \ WILL_DEAL_WITH_XDG_MYSELF=1 \ $(EXPLICIT_TARGET) \ $(NJOBS) @@ -113,7 +115,7 @@ -$(DEB_SCONS_INVOKE) --clean -rm -rf $(DEB_DESTDIR) debian/stamp-scons-build -rm -rf config.log scache.conf .sconf_temp .sconsign.dblite cache - -rm -rf admin/*.pyc + -rm -rf admin/*.pyc support/tools/*.pyc # after the directories are created but before dh_compress is run. common-binary-post-install-arch:: diff -u libffado-2.0.0+svn1813/debian/changelog libffado-2.0.0+svn1813/debian/changelog --- libffado-2.0.0+svn1813/debian/changelog +++ libffado-2.0.0+svn1813/debian/changelog @@ -1,3 +1,9 @@ +libffado (2.0.0+svn1813-1ubuntu1) maverick; urgency=low + + * Install python modules into dist-packages to fix FTBFS on Ubuntu. + + -- Артём Попов Sat, 29 May 2010 16:18:26 +0700 + libffado (2.0.0+svn1813-1) unstable; urgency=low * Include python site-packages for ffado-mixer (Closes: #578499)