tags 566290 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for wikidiff2 (versioned as 0.0.1+svn55737-1.1) and
uploaded it to DELAYED/2, according to devref §5.11.1.

The patch is along the lines suggested by Raphael in this bug log: it
generates and uses the ${php:Depends} substvar to retrieve the
appropriate php API version from php5-config.

Regards.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
diff -u wikidiff2-0.0.1+svn55737/debian/control wikidiff2-0.0.1+svn55737/debian/control
--- wikidiff2-0.0.1+svn55737/debian/control
+++ wikidiff2-0.0.1+svn55737/debian/control
@@ -9,7 +9,7 @@
 
 Package: php-wikidiff2
 Architecture: any
-Depends: php5 | php5-cli, ${misc:Depends}, ${shlibs:Depends} 
+Depends: php5 | php5-cli, ${misc:Depends}, ${shlibs:Depends}, ${php:Depends}
 Recommends: mediawiki
 Description: external diff engine for mediawiki
  Wikidiff2 is PHP 5 module providing external diff 
diff -u wikidiff2-0.0.1+svn55737/debian/rules wikidiff2-0.0.1+svn55737/debian/rules
--- wikidiff2-0.0.1+svn55737/debian/rules
+++ wikidiff2-0.0.1+svn55737/debian/rules
@@ -12 +12,4 @@
+PKG = php-wikidiff2
 
+binary-install/$(PKG)::
+	echo "php:Depends=phpapi-$(shell php-config5 --phpapi)" >> debian/$(PKG).substvars
diff -u wikidiff2-0.0.1+svn55737/debian/changelog wikidiff2-0.0.1+svn55737/debian/changelog
--- wikidiff2-0.0.1+svn55737/debian/changelog
+++ wikidiff2-0.0.1+svn55737/debian/changelog
@@ -1,3 +1,10 @@
+wikidiff2 (0.0.1+svn55737-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add missing dependency on phpapi-* (Closes: #566290)
+
+ -- Stefano Zacchiroli <z...@debian.org>  Mon, 08 Feb 2010 15:58:03 +0100
+
 wikidiff2 (0.0.1+svn55737-1) unstable; urgency=low
 
   * New upstream release.

Reply via email to