[pkg-php-pear] Bug#799894: debian/rules UPSTREAM version parsing clashes with ~backport versioning

Merlijn van Deen valhallasw at arctus.nl
Wed Sep 23 19:49:04 UTC 2015


Package: jsonlint
Version: 1.3.1
Severity: normal

The UPSTREAM version parsing

  UPSTREAM := $(shell head -1 debian/changelog | sed
  's/.*(//;s/-.?*).*//')

breaks when a backport version number, such as 1.3.1-2~toollabs1+1 is
used.

As workaround, I changed the sed call to

    (...) | sed 's/.*(//' | sed 's/).*//'

after which I can build the package.

-- System Information:
Debian Release: jessie/sid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20150923/005b7ae0/attachment.html>


More information about the pkg-php-pear mailing list