diff --git a/debian/control b/debian/control index ca4329f..86f2d49 100644 --- a/debian/control +++ b/debian/control @@ -1,23 +1,23 @@ Source: msrprelay Section: net Priority: optional Maintainer: Dan Pascu Uploaders: Tijmen de Mes -Build-Depends: debhelper (>= 11), python +Build-Depends: debhelper (>= 11), dh-python, python Standards-Version: 3.9.8 Package: msrprelay Architecture: all Depends: ${python:Depends}, ${misc:Depends}, lsb-base, python-application (>= 2.8.0), python-gnutls (>= 3.0.0), python-twisted-core, python-twisted-names, python-sqlobject, python-systemd Description: MSRP Relay, a RFC 4976 compatible IM/File transfer relay This software implements an MSRP relay, which is an extension to the MSRP protocol (RFC 4975). Its main role is to help NAT traversal of Interactive Messaging and file transfer sessions for SIP/MSRP endpoints located behind NAT. diff --git a/debian/rules b/debian/rules index b4e2a36..0cff45a 100644 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,15 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 %: - dh $@ --with python2 + dh $@ --with python2 --buildsystem=pybuild override_dh_clean: dh_clean rm -rf build dist MANIFEST -override_dh_install: - dh_install - install -m 0644 config.ini.sample debian/msrprelay/etc/msrprelay/config.ini +override_dh_auto_install: + dh_auto_install + mv debian/msrprelay/etc/msrprelay/config.ini.sample debian/msrprelay/etc/msrprelay/config.ini -.PHONY: override_dh_clean override_dh_install