tags 294506 patch
thanks
> Any hint, how to circumvent this?
Well, there's no need to circumvent. Just use distutils properly.
python setup.py build (which is, what "make build" in debian/rules does)
is a distutils internal -- packagers are supposed to use python setup.py
install, with --prefix or --home option.
Following is the least disruptive patch I could think of:
diff -ur zope-textindexng2-2.0.8/debian/install
zope-textindexng2-2.0.8.new/debian/install
--- zope-textindexng2-2.0.8/debian/install 2005-02-10 19:30:15.000000000
+0900
+++ zope-textindexng2-2.0.8.new/debian/install 2005-02-10 19:28:55.000000000
+0900
@@ -1,2 +1,2 @@
-build/lib.linux-i686-2.2/* usr/lib/python2.2/site-packages/zope-textindexng2
+build/lib/python/* usr/lib/python2.2/site-packages/zope-textindexng2
debian/zope-textindexng2.pth usr/lib/python2.2/site-packages/
diff -ur zope-textindexng2-2.0.8/debian/rules
zope-textindexng2-2.0.8.new/debian/rules
--- zope-textindexng2-2.0.8/debian/rules 2005-02-10 19:30:15.000000000
+0900
+++ zope-textindexng2-2.0.8.new/debian/rules 2005-02-10 19:24:55.000000000
+0900
@@ -12,7 +12,7 @@
build: build-stamp
build-stamp:
dh_testdir
- make build
+ python setup.py install --home build
mkdir -p build/tests
for tf in `ls -1 tests` ; do \
sed "s%LICENSE.txt%/usr/share/doc/$(pkg)/copyright%" tests/$$tf >
build/tests/$$tf ; \
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]