* Jakub Wilk <uba...@users.sf.net>, 2009-11-25, 15:08:
When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from
Debian experimental (and with python2.6 as the default one), your
pacakge failed to build from source.

The attached patch fixes this problem.

--
Jakub Wilk
diff -u moin-1.9.0/debian/rules moin-1.9.0/debian/rules
--- moin-1.9.0/debian/rules
+++ moin-1.9.0/debian/rules
@@ -29,7 +29,7 @@
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 # python-distutils.mk must load after debhelper.mk to enable use of dh_python
-include debian/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
 include debian/cdbs/1/rules/buildinfo.mk
 
 DEB_UPSTREAM_URL = http://static.moinmo.in/files
@@ -135,8 +135,8 @@
 # Move underlay to /usr/share/moin
 install/$(pkg)::
 	mkdir -p debian/$(cdbs_curpkg)$(datadir)
-	mv debian/$(cdbs_curpkg)/usr/lib/python2.5/site-packages/MoinMoin/web/static/htdocs debian/$(cdbs_curpkg)$(datadir)
-	ln -s debian/$(cdbs_curpkg)$(datadir)/htdocs debian/$(cdbs_curpkg)/usr/lib/python2.5/site-packages/MoinMoin/web/static/htdocs
+	mv debian/$(cdbs_curpkg)/usr/lib/python*/*-packages/MoinMoin/web/static/htdocs debian/$(cdbs_curpkg)$(datadir)
+	ln -s debian/$(cdbs_curpkg)$(datadir)/htdocs debian/$(cdbs_curpkg)/usr/lib/python*/*-packages/MoinMoin/web/static/
 
 # Include Moinmoin Desktop editions files.
 binary-fixup/$(pkg)::

Attachment: signature.asc
Description: Digital signature

Reply via email to