From 20f6607c0adb96fe36cdaa7a5af7f6f301ec213f Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Tue, 17 Mar 2020 17:19:03 +0000
Subject: [PATCH] Build as a native package

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>
Co-authored-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
---
 debian/changelog               | 14 ++++++++++++++
 debian/clean                   |  4 ++++
 debian/git-version-gen.control |  3 +++
 debian/source/format           |  2 +-
 4 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 debian/git-version-gen.control

diff --git a/debian/changelog b/debian/changelog
index 1e5ae8047..0f8aaaf44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+steam-runtime-tools (0.20200403.0) UNRELEASED; urgency=medium
+
+  [ Ludovico de Nittis ]
+  * Diagnose problems with "steam:" URL handler
+  * Create a new srt_system_info_get_steam_details function
+  * tests: Generate mock sysroots programmatically
+
+  [ Simon McVittie ]
+  * tests: Factor out the directory containing mock sysroots
+  * tests: Add a script to generate the mock sysroots
+  * Build as a native package.
+
+ -- Simon McVittie <smcv@collabora.com>  Tue, 03 Apr 2020 10:23:42 +0100
+
 steam-runtime-tools (0.20200331.1-0+steamrt1.1) scout; urgency=medium
 
   * Fix version number
diff --git a/debian/clean b/debian/clean
index b5745c86c..c997053d6 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,5 @@
+_build/
+build/
+builddir/
 debian/version.txt
+obj-*/
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