From f4b57d487fe78de76ccaa593db9eb8a7f7835d13 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Fri, 3 Dec 2021 10:56:44 +0300 Subject: [PATCH] Remove +deb10u1 from libvirt version --- debian/libvirt.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/libvirt.Dockerfile b/debian/libvirt.Dockerfile index 940606d8..07a8883a 100644 --- a/debian/libvirt.Dockerfile +++ b/debian/libvirt.Dockerfile @@ -34,7 +34,7 @@ RUN set -e; \ cp /root/libvirt-$V-vitastor.diff $D/debian/patches; \ echo libvirt-$V-vitastor.diff >> $D/debian/patches/series; \ cd $D; \ - V=$(head -n1 debian/changelog | perl -pe 's/^.*\((.*?)(~bpo[\d\+]*)?\).*$/$1/')+vitastor2; \ + V=$(head -n1 debian/changelog | perl -pe 's/^.*\((.*?)(~bpo[\d\+]*)?(\+deb[u\d]+)?\).*$/$1/')+vitastor2; \ DEBEMAIL="Vitaliy Filippov " dch -D $REL -v $V 'Add Vitastor support'; \ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage --jobs=auto -sa; \ rm -rf /root/packages/libvirt-$REL/$D