we cannot bump the part before ~ to ensure the upgrade to Debian pull
in the for Buster build version (it's 1.0.5-1 there, tilde makes ours
always the lesser choice) so add a +2 which ranks (in terms of
importance) before the older "1.0.5-1~bpo9" but after 1.0.5-1

Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
---
 Makefile                           |  2 +-
 patches/0002-adapt-changelog.patch | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index de0425e..f13b498 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION=1.0.5
 DEBRELEASE=1
-PVERELEASE=1~bpo9
+PVERELEASE=1~bpo9+2
 
 BUILDDIR=libqb-${VERSION}
 SRCARCHIVE=libqb_${VERSION}.orig.tar.xz
diff --git a/patches/0002-adapt-changelog.patch 
b/patches/0002-adapt-changelog.patch
index d826a0d..b21f253 100644
--- a/patches/0002-adapt-changelog.patch
+++ b/patches/0002-adapt-changelog.patch
@@ -3,6 +3,7 @@ From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= 
<f.gruenbich...@proxmox.com>
 Date: Wed, 7 Nov 2018 12:23:19 +0100
 Subject: [PATCH] adapt changelog
 
+Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
 ---
  debian/changelog | 6 ++++++
  1 file changed, 6 insertions(+)
@@ -11,7 +12,14 @@ diff --git a/debian/changelog b/debian/changelog
 index 9923813..f62608e 100644
 --- a/debian/changelog
 +++ b/debian/changelog
-@@ -1,3 +1,9 @@
+@@ -1,3 +1,16 @@
++libqb (1.0.5-1~bpo9+2) unstable; urgency=medium
++
++  * restart pmxcfs and trigger pve-api-updates after upgrade to this new major
++    version
++
++ -- Proxmox Support Team <supp...@proxmox.com>  Mon, 24 Jun 2019 13:09:45 
+0200
++
 +libqb (1.0.5-1~bpo9) unstable; urgency=medium
 +
 +  * backport from Debian Buster for PVE 5.x
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to