summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-11-25 12:30:25 -0400
committerJoey Hess <joey@kitenet.net>2011-11-25 12:30:40 -0400
commit77b86249c1787d700f3ef2016b0cbd3630d3b06a (patch)
tree97f6596a370fd0c38ddeb4dd6764af03f574a6db
parent4112f3f7426cf4a647d7fb034b70f7e912235e20 (diff)
python2 fixes
-rw-r--r--Makefile2
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules3
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b139e19..677d59f 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),yum)
$(INSTALL_DATA) yum-etckeeper.py $(DESTDIR)$(prefix)/lib/yum-plugins/etckeeper.py
$(INSTALL_DATA) yum-etckeeper.conf $(DESTDIR)$(etcdir)/yum/pluginconf.d/etckeeper.conf
endif
- -./etckeeper-bzr/__init__.py install --root=$(DESTDIR) || echo "** bzr support not installed"
+ -./etckeeper-bzr/__init__.py install --root=$(DESTDIR) ${PYTHON_INSTALL_OPTS} || echo "** bzr support not installed"
echo "** installation successful"
clean: etckeeper.spec
diff --git a/debian/control b/debian/control
index 350d9f8..71089d9 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: http://kitenet.net/~joey/code/etckeeper/
Package: etckeeper
Architecture: all
Section: admin
-Depends: git-core (>= 1:1.5.4) | git (>= 1:1.7) | mercurial | bzr (>= 1.5~) | darcs, ${misc:Depends}, ${python:Depends}
+Depends: git-core (>= 1:1.5.4) | git (>= 1:1.7) | mercurial | bzr (>= 1.5~) | darcs, ${misc:Depends}
Recommends: cron
Suggests: sudo (>= 1.7.4p4)
Conflicts: bzr (<< 1.5~)
diff --git a/debian/rules b/debian/rules
index cd2906f..b6b9b90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
#!/usr/bin/make -f
+
+export PYTHON_INSTALL_OPTS=--install-layout=deb
+
%:
dh --with python2 $@