X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Frules;h=c8b6c636fcdc57917fab428bdd15d88db3ae284a;hb=762ecd9c7ab216fb8201de176743c51ff7e6c196;hp=dd7c0fe44e70835e99b892f9be7b3105488d39c4;hpb=9840bdbdffc7da0d9a2a63a7d0ba3a9566cec60b;p=openvswitch diff --git a/debian/rules b/debian/rules index dd7c0fe4..c8b6c636 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,7 @@ BUILD_NUMBER = 0 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)))