[neon/kde/breeze-plymouth/Neon/release] debian: guard against stable and release editions

Carlos De Maine null at kde.org
Wed Sep 10 03:22:56 BST 2025


Git commit 0ace27521066012904893577282630afa0a1f153 by Carlos De Maine.
Committed on 10/09/2025 at 02:22.
Pushed by carlosdem into branch 'Neon/release'.

guard against stable and release editions

M  +10   -0    debian/rules

https://invent.kde.org/neon/kde/breeze-plymouth/-/commit/0ace27521066012904893577282630afa0a1f153

diff --git a/debian/rules b/debian/rules
index b82413a..c9cb691 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,19 @@ export DEB_CFLAGS_MAINT_APPEND  = -Werror -Wno-error=unused-result -Wno-error=si
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed
 
 #UNAME_OS := $(shell lsb_release -sd)
+
 UNAME_VERSION := $(shell sed -n "/^set(PROJECT_VERSION .*)$$/ {s/[^0-9.]//g;p}" CMakeLists.txt)
+
 UNAME_TYPE := $(shell uname_type="$(TYPE)"; echo "$${uname_type}")
+ifeq (${UNAME_TYPE} = "release")
+UNAME_TYPE := "user"
+endif
+ifeq (${UNAME_TYPE} = "stable")
+UNAME_TYPE := "testing"
+endif
+
 UNAME_DIST := $(shell uname_dist="$(DIST)"; echo "$${uname_dist}")
+
 %:
 	dh $@ --with kf6 --buildsystem kf6
 


More information about the Neon-commits mailing list