Use dh_python2.

This commit is contained in:
Timo Aaltonen 2012-02-17 00:21:46 +02:00
parent 71f7e8b421
commit ad17e81443
5 changed files with 16 additions and 13 deletions

1
debian/changelog vendored
View File

@ -24,5 +24,6 @@ freeipa (2.1.4-1) UNRELEASED; urgency=low
* control: Add ${shlibs:Depends} to python-freeipa depends.
* rules: Strip the executable bit from translation files.
* fix-format-string.diff: Fix build errors, thanks Krzysztof Klimonda!
* Use dh_python2.
-- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 01 Nov 2011 10:52:25 -0400

8
debian/control vendored
View File

@ -15,7 +15,7 @@ Build-Depends: quilt, debhelper (>= 8.1.3~), dh-autoreconf,
libsasl2-dev,
libssl-dev,
libxmlrpc-c3-dev,
python-dev,
python-all-dev,
python-kerberos,
python-krbv,
python-ldap,
@ -41,7 +41,7 @@ Homepage: http://www.freeipa.org
Package: freeipa-server
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
freeipa-client (= ${binary:Version}),
freeipa-admintools (= ${binary:Version}),
python-freeipa (= ${binary:Version}),
@ -78,7 +78,7 @@ Description: FreeIPA is a centralized identity framework
Package: freeipa-client
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
python-freeipa (= ${binary:Version}),
bind9utils,
certmonger,
@ -103,7 +103,7 @@ Description: FreeIPA is a centralized identity framework
Package: freeipa-admintools
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
freeipa-client (= ${binary:Version}),
python-freeipa (= ${binary:Version}),
python-krbv,

View File

@ -4,7 +4,7 @@ usr/sbin/ipa-rmkeytab
usr/sbin/ipa-join
usr/share/ipa/ipaclient/ipa.cfg
usr/share/ipa/ipaclient/ipa.js
usr/lib/python2.7/dist-packages/ipaclient/*.py*
usr/lib/python*/dist-packages/ipaclient/*.py
usr/share/man/man1/ipa-client-install.1.gz
usr/share/man/man1/ipa-getkeytab.1.gz
usr/share/man/man1/ipa-rmkeytab.1.gz

View File

@ -1,8 +1,9 @@
usr/lib/python2.7/dist-packages/ipalib/*
usr/lib/python2.7/dist-packages/ipapython/*
usr/lib/python2.7/dist-packages/default_encoding_utf8.so
usr/lib/python2.7/dist-packages/ipapython-*.egg-info
usr/lib/python2.7/dist-packages/freeipa-*.egg-info
usr/lib/python2.7/dist-packages/python_default_encoding-*.egg-info
usr/lib/python*/dist-packages/ipalib/*
usr/lib/python*/dist-packages/ipapython/*.py
usr/lib/python*/dist-packages/ipapython/platform/*.py
usr/lib/python*/dist-packages/default_encoding_utf8.so
usr/lib/python*/dist-packages/freeipa-*.egg-info
usr/lib/python*/dist-packages/ipapython-*.egg-info
usr/lib/python*/dist-packages/python_default_encoding-*.egg-info
usr/share/locale
etc/ipa/default.conf

5
debian/rules vendored
View File

@ -62,11 +62,12 @@ endif
# purge .la files
find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;
# purge precompiled .pyc/.pyo files
find $(CURDIR)/debian/tmp -name '*.py[c,o]' -exec rm '{}' ';'
# fix permissions
find $(CURDIR)/debian/tmp -name "*.mo" -type f -exec chmod -x "{}" \;
dh_install --list-missing
%:
dh $@ --with quilt,autoreconf
dh $@ --with quilt,autoreconf,python2