From d6649d2008dd25057ba476ce1042cbc1cd323ecd Mon Sep 17 00:00:00 2001 From: Seblu Date: Wed, 29 Jun 2011 19:26:03 +0200 Subject: [PATCH] Fix debian packaging --- Makefile | 4 ++-- debian/changelog | 4 ++-- debian/control | 2 +- debian/isimage.install | 2 +- debian/isinstall.install | 2 +- debian/isrepo.install | 2 +- debian/python-installsystems.install | 1 + debian/rules | 2 +- setup.py | 2 +- 9 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 debian/python-installsystems.install diff --git a/Makefile b/Makefile index 4e8b3e7..1a71f2b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ## Makefile -.PHONY: all tar deb clean cleanbuild buildd +.PHONY: all tar deb clean cleanbuild buildd dsc NAME=installsystems VERSION=$(shell sed -rn 's/version = "([^"]+)"/\1/p' installsystems/__init__.py) @@ -26,7 +26,7 @@ buildd: dsc chmod 644 $(BUILD_DIR)/$(NAME)_*.dsc $(BUILD_DIR)/$(NAME)_*.gz scp $(BUILD_DIR)/$(NAME)_*.dsc $(BUILD_DIR)/$(NAME)_*.gz incoming@buildd.fr.lan:sid -clean: clean_build +clean: cleanbuild cleanbuild: -rm -rf $(BUILD_DIR) diff --git a/debian/changelog b/debian/changelog index d7c573b..62318e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -installsystems (1) unstable; urgency=low +installsystems (1-dev) unstable; urgency=low - * Initial release. + * version 1 dev package. -- Sebastien Luttringer Wed, 08 Jun 2011 12:30:02 +0200 diff --git a/debian/control b/debian/control index f2077d7..0d8f772 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: installsystems Section: python Priority: optional Maintainer: Sebastien Luttringer -Build-Depends: debhelper (>= 7), python-central (>= 0.6), cdbs (>= 0.4.50), python-setuptools, python (>=2.6 << 3.0) +Build-Depends: debhelper (>= 7), python-central (>= 0.6), cdbs (>= 0.4.50), python-setuptools, python (>=2.6) XS-Python-Version: >= 2.6 Standards-Version: 3.9.1 diff --git a/debian/isimage.install b/debian/isimage.install index b277c44..2022c11 100644 --- a/debian/isimage.install +++ b/debian/isimage.install @@ -1 +1 @@ -/bin/isimage +usr/bin/isimage diff --git a/debian/isinstall.install b/debian/isinstall.install index 8412389..ab957bc 100644 --- a/debian/isinstall.install +++ b/debian/isinstall.install @@ -1 +1 @@ -/bin/isinstall +usr/bin/isinstall diff --git a/debian/isrepo.install b/debian/isrepo.install index 0efbe77..59c93da 100644 --- a/debian/isrepo.install +++ b/debian/isrepo.install @@ -1 +1 @@ -/bin/isrepo +usr/bin/isrepo diff --git a/debian/python-installsystems.install b/debian/python-installsystems.install new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/debian/python-installsystems.install @@ -0,0 +1 @@ +usr/lib diff --git a/debian/rules b/debian/rules index d2f5398..14ed5ae 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk -PYTHON_PACKAGES := installsystems +PYTHON_PACKAGES := isinstall isimage isrepo python-installsystems $(patsubst %,binary-install/%,$(PYTHON_PACKAGES)) :: dh_pycentral -p$(cdbs_curpkg) diff --git a/setup.py b/setup.py index d00c6bf..6de4841 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( author='Sebastien Luttringer', author_email='sebastien.luttringer@smartjog.com', license='GPL2', - packages=[ 'installsystems'], + packages=[ 'installsystems' ], scripts=['bin/isrepo', 'bin/isinstall', 'bin/isimage'], classifiers=[ 'Operating System :: Unix', -- GitLab