[Pkg-php-commits] [php/debian-sid] Add lintian-overrides for php-pear

Ondřej Surý ondrej at sury.org
Wed May 4 15:15:54 UTC 2011


---
 debian/php-pear.dirs              |    1 +
 debian/php-pear.lintian-overrides |    1 +
 debian/rules                      |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100644 debian/php-pear.lintian-overrides

diff --git a/debian/php-pear.dirs b/debian/php-pear.dirs
index a53bffc..6e7cce9 100644
--- a/debian/php-pear.dirs
+++ b/debian/php-pear.dirs
@@ -1 +1,2 @@
 /usr/share/doc/php-pear/PEAR
+/usr/share/lintian/overrides
diff --git a/debian/php-pear.lintian-overrides b/debian/php-pear.lintian-overrides
new file mode 100644
index 0000000..dbc12dd
--- /dev/null
+++ b/debian/php-pear.lintian-overrides
@@ -0,0 +1 @@
+php-pear: extra-license-file usr/share/doc/php5-common/PEAR/PEAR/LICENSE
diff --git a/debian/rules b/debian/rules
index 8aee084..53e02c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -567,6 +567,7 @@ install: build
 	# install lintian overrides
 	cp debian/php5.lintian-overrides $(CURDIR)/debian/php5-common/usr/share/lintian/overrides/php5-common
 	cp debian/php5-dev.lintian-overrides $(CURDIR)/debian/php5-dev/usr/share/lintian/overrides/php5-dev
+	cp debian/php-pear.lintian-overrides $(CURDIR)/debian/php-pear/usr/share/lintian/overrides/php-pear
 
 	# install some generic lintian overrides
 	ext=`debian/php5-dev/usr/bin/php-config5 --extension-dir | cut -b2- `; \
-- 
1.7.1





More information about the Pkg-php-commits mailing list