From: Brian Warner Date: Thu, 26 Apr 2007 23:45:17 +0000 (-0700) Subject: modify debian/rules files to handle zfec+setuptools correctly X-Git-Tag: allmydata-tahoe_v0.1.1-1-UNSTABLE~16 X-Git-Url: https://git.rkrishnan.org/pf/content/en/(%5B%5E?a=commitdiff_plain;h=7f273611b4e1d925624bd4fb8b432fcc0c50e0c3;p=tahoe-lafs%2Ftahoe-lafs.git modify debian/rules files to handle zfec+setuptools correctly --- diff --git a/dapper/debian/rules b/dapper/debian/rules index 040f0d75..9f74003a 100644 --- a/dapper/debian/rules +++ b/dapper/debian/rules @@ -33,7 +33,7 @@ install: build dh_clean -k dh_installdirs - cd src/zfec && python2.4 setup.py install --prefix=$(PREFIX) + cd src/zfec && python2.4 setup.py install --single-version-externally-managed --root=$(PREFIX)/.. cd src/Crypto && python2.4 setup.py install --prefix=$(PREFIX) python2.4 setup.py install --prefix=$(PREFIX) diff --git a/feisty/debian/rules b/feisty/debian/rules index b68df28f..fc046a47 100644 --- a/feisty/debian/rules +++ b/feisty/debian/rules @@ -11,7 +11,7 @@ STAGING_DIR=$(CURDIR)/debian/allmydata-tahoe install/allmydata-tahoe:: mkdir -pm755 $(STAGING_DIR) - cd src/zfec && python setup.py install --root=$(STAGING_DIR) + cd src/zfec && python setup.py install --single-version-externally-managed --root=$(STAGING_DIR) cd src/Crypto && python setup.py install --root=$(STAGING_DIR) python setup.py install --root=$(STAGING_DIR) diff --git a/sid/debian/rules b/sid/debian/rules index b8d357c2..83172017 100644 --- a/sid/debian/rules +++ b/sid/debian/rules @@ -10,7 +10,7 @@ include /usr/share/cdbs/1/class/python-distutils.mk PREFIX=$(shell pwd)/debian/allmydata-tahoe/usr build/allmydata-tahoe:: - cd src/zfec && python2.4 setup.py install --prefix=$(PREFIX) + cd src/zfec && python2.4 setup.py install --single-version-externally-managed --root=$(PREFIX)/.. cd src/Crypto && python2.4 setup.py install --prefix=$(PREFIX) python2.4 setup.py install --prefix=$(PREFIX)