Package: phing
Version: 2.13.0-2
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

The upstream regex fails for Ubuntu versions. Simple fix was tested in
16.04.

In Ubuntu, the attached patch was applied to achieve the following:

  * Correctly update regex (LP: #1563098). 


Thanks for considering the patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru phing-2.13.0/debian/rules phing-2.13.0/debian/rules
--- phing-2.13.0/debian/rules	2016-03-29 10:11:45.000000000 -0700
+++ phing-2.13.0/debian/rules	2016-03-31 12:44:10.000000000 -0700
@@ -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