From a6f14c0055bb91d9349c633375884fa62eeaf447 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 11 Dec 2016 10:25:04 +0100 Subject: [PATCH] debian/{control,rules}: use pkg-php-tools Suggested by lintian: I: tweeper source: composer-package-without-pkg-php-tools-builddep --- debian/control | 5 ++--- debian/rules | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 9c31430..bc212b9 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: tweeper Section: php Priority: optional Maintainer: Antonio Ospite -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 9), pkg-php-tools (>= 1.7~) Build-Depends-Indep: asciidoc, xmlto Standards-Version: 3.9.8 Homepage: https://git.ao2.it/tweeper.git @@ -11,8 +11,7 @@ Vcs-Browser: https://git.ao2.it/tweeper.git Package: tweeper Architecture: all -Depends: ${misc:Depends}, php-cli, php-curl, php-xml, php-symfony-serializer, - php-symfony-property-access +Depends: ${misc:Depends}, ${phpcomposer:Debian-require} Suggests: libapache2-mod-php | php-cgi Description: web scraper to convert supported websites (e.g. Twitter.com) to RSS tweeper is a web scraper which can be used to conveniently follow the diff --git a/debian/rules b/debian/rules index 1eb817e..05543cd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --with phpcomposer override_dh_auto_install: $(MAKE) DESTDIR=$(CURDIR)/debian/tweeper prefix=/usr install -- 2.1.4