[Pkg-php-commits] [php/debian-sid] Revert b22a350: Turn the phpapi dependencies into php5 | phpapi

Raphael Geissert geissert at debian.org
Sun Feb 7 23:17:14 UTC 2010


Adding that ORed dependency is incorrect and defeats its pourpose.

Lintian warning virtual-package-depends-without-real-package-depends
about phpapi-* should be ignored in all cases.
---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9cac131..e1a870c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -592,7 +592,7 @@ binary-arch: build install
 		echo "php:Provides=phpapi-$${phpapi}" >> debian/$$i.substvars; \
 	done; \
 	cat debian/modulelist | while read package extname dsoname; do \
-		echo "php:Depends=php5 | phpapi-$${phpapi}" >> debian/php5-$$package.substvars; \
+		echo "php:Depends=phpapi-$${phpapi}" >> debian/php5-$$package.substvars; \
 	done
 
 	for i in cgi cli; do \
-- 
1.6.3.3





More information about the Pkg-php-commits mailing list