From 4d31a8c6473e87ec2f12cbc068be804ce9c08549 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Tue, 17 Mar 2020 17:29:35 +0000
Subject: [PATCH] Build as a native package again

Now that deb-build-snapshot supports a Build-Suffix option in
debian/git-version-gen.control, we don't need to worry about whether
the version number will be less than a previous version that had a +srt
suffix added by the Open Build Service.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 debian/changelog               | 7 ++++++-
 debian/clean                   | 1 +
 debian/git-version-gen.control | 3 +++
 debian/source/format           | 2 +-
 4 files changed, 11 insertions(+), 2 deletions(-)
 create mode 100644 debian/clean
 create mode 100644 debian/git-version-gen.control

diff --git a/debian/changelog b/debian/changelog
index 25a592efa..08dde0801 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-pressure-vessel (0.20200317.0-0+steamrt1.1) UNRELEASED; urgency=medium
+pressure-vessel (0.20200317.0) UNRELEASED; urgency=medium
 
   [ Jeremy Whiting ]
   * Add --test command line argument to pressure-vessel-wrap.
@@ -40,6 +40,11 @@ pressure-vessel (0.20200317.0-0+steamrt1.1) UNRELEASED; urgency=medium
     will be useful when debugging.
   * runtime: Combine multiple runs of capsule-capture-libs into one
   * README: Document a wrong assumption
+  * Build as a native package again.
+    Now that deb-build-snapshot supports a Build-Suffix option in
+    debian/git-version-gen.control, we don't need to worry about whether
+    the version number will be less than a previous version that had a +srt
+    suffix added by the Open Build Service.
 
  -- Simon McVittie <smcv@collabora.com>  Tue, 17 Mar 2020 17:23:16 +0000
 
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 000000000..69fa449dd
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+_build/
diff --git a/debian/git-version-gen.control b/debian/git-version-gen.control
new file mode 100644
index 000000000..6074e7a7d
--- /dev/null
+++ b/debian/git-version-gen.control
@@ -0,0 +1,3 @@
+Upstream: yes
+Build-Suffix: +srt
+Avoid-Build-Suffix: +vcs
diff --git a/debian/source/format b/debian/source/format
index 163aaf8d8..89ae9db8f 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (quilt)
+3.0 (native)
-- 
GitLab