Merge pull request #2334 from rentalita/debian-packages

Debian packages
This commit is contained in:
Thomas S Hatch 2012-10-24 08:31:13 -07:00
commit bebebc9a40
2 changed files with 5 additions and 10 deletions

3
debian/control vendored
View File

@ -2,14 +2,13 @@ Source: salt
Section: admin
Priority: optional
Maintainer: Corey Quinn <corey@sequestered.net>
Build-Depends: debhelper (>= 8),
Build-Depends: debhelper (>= 7.0.50),
cython,
python-yaml,
python-setuptools,
python-crypto,
python-m2crypto,
python-zmq (>= 2.1.9),
libzmq-dev (>= 2.1.9),
python-jinja2,
msgpack-python
Standards-Version: 3.9.3

12
debian/rules vendored
View File

@ -1,11 +1,7 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
%:
dh $@ #--with python2
dh $@
# overrides require debuilder >= 7.0.50
# http://pkg-perl.alioth.debian.org/debhelper.html#forcing_special_tests
dh_override_auto_build:
python setup.py build #--install-layout=deb build
#get-orig-source:
# git clone https://github.com/saltstack/salt.git
# mv salt salt-0.9.8
# tar -zcvf salt_0.9.8.orig.tar.gz --exclude "debian*" --exclude-vcs salt-0.9.8
## rm -rf salt-0.9.8
python setup.py build