I apologize, a stale patch was submitted earlier, here is the correct
one:

diff --git a/debian/rules b/debian/rules
index 32255a7..cb1f09a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-UPSTREAM := $(shell head -1 debian/changelog | sed 's/.*(//;s/-.?*).*//')
+UPSTREAM := $(shell head -1 debian/changelog | sed 's/.*(//;s/-[^-]*).*//')
 
 %:
        dh $@ --buildsystem=phppear --with phppear

Reply via email to