[Pkg-php-commits] [php/debian-experimental] Add a set of lintian overrides for some FP spelling-error-in-binary
Raphael Geissert
atomo64 at gmail.com
Mon Jun 29 05:58:34 UTC 2009
---
debian/php5-sapi.lintian-overrides | 6 ++++++
debian/rules | 6 +++---
debian/source.lintian-overrides | 2 ++
3 files changed, 11 insertions(+), 3 deletions(-)
create mode 100644 debian/php5-sapi.lintian-overrides
create mode 100644 debian/source.lintian-overrides
diff --git a/debian/php5-sapi.lintian-overrides b/debian/php5-sapi.lintian-overrides
new file mode 100644
index 0000000..8dca405
--- /dev/null
+++ b/debian/php5-sapi.lintian-overrides
@@ -0,0 +1,6 @@
+# The extensions directory must exist, even if empty
+ at sapi@: package-contains-empty-directory @extdir@/
+# Not a spelling mistake, just a compilation curiosity
+ at sapi@: spelling-error-in-binary * ment meant
+# Not a spelling mistake, tz code for Tahiti
+ at sapi@: spelling-error-in-binary * taht that
diff --git a/debian/rules b/debian/rules
index be749f5..b70142f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -477,9 +477,9 @@ install: build
ext=`debian/php5-dev/usr/bin/php-config5 --extension-dir | cut -b2- `; \
for sapi in php5-cli php5-cgi libapache2-mod-php5 libapache2-mod-php5filter; do \
mkdir -p $(CURDIR)/debian/"$$sapi"/usr/share/lintian/overrides/; \
- printf "%s: package-contains-empty-directory %s/\n" \
- "$$sapi" "$${ext}" \
- >> $(CURDIR)/debian/"$$sapi"/usr/share/lintian/overrides/"$$sapi"; \
+ sed "s/@sapi@/$$sapi/g;s, at extdir@,$$ext,g" \
+ < $(CURDIR)/debian/php5-sapi.lintian-overrides \
+ >> $(CURDIR)/debian/"$$sapi"/usr/share/lintian/overrides/"$$sapi"; \
done
# directories cleanup:
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..1f8e555
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+# The file belongs to an unused convinient code copy
+php5 source: ancient-libtool ext/pdo_sqlite/sqlite/ltmain.sh 1.5.2
--
1.5.6.5
More information about the Pkg-php-commits
mailing list