From: Ryan Tandy <ryan@nardis.ca>
Date: Tue, 2 Jun 2026 20:35:09 +0800
Subject: Replace upstream version with Debian version in version strings

Forwarded: not-needed

===================================================================
---
 build/version.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/version.sh b/build/version.sh
index 3ac1b3b..7a57ab1 100755
--- a/build/version.sh
+++ b/build/version.sh
@@ -36,7 +36,7 @@ echo OL_MINOR=$ol_minor
 echo OL_PATCH=$ol_patch
 echo OL_API_INC=$ol_api_inc
 echo OL_API_LIB_VERSION=$ol_api_lib_version
-echo OL_VERSION=$ol_version
+echo OL_VERSION=\"${DEB_VERSION:-$ol_version}\"
 echo OL_TYPE=$ol_type
 echo OL_STRING=\"${ol_string}\"
 echo OL_RELEASE_DATE=\"${ol_release_date}\"
