This doesn't fix a visible bug, since there's no epoch in the Open vSwitch
version used in Debian, but some Nicira internal build scripts were
inserting an epoch so it was visible in our builds.
Reported-by: Edwin Chiu <echiu@nicira.com>
Derek Cormier derek.cormier@lab.ntt.co.jp
Duffie Cooley dcooley@nicira.com
DK Moon dkmoon@nicira.com
+Edwin Chiu echiu@nicira.com
Eivind Bulie Haanaes
Gaetano Catalli gaetano.catalli@gmail.com
George Shuklin amarao@desunote.ru
PACKAGE=openvswitch
pdkms=openvswitch-datapath-dkms
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([0-9]:)*([^-]+).*,\2,p')
srcfiles := $(filter-out debian, $(wildcard * .[^.]*))
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))