From 4df5a6e038d30abfe5459bf9791848232cc5280c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 8 Dec 2024 13:50:55 +0100 Subject: RPM: update spec files for building on OBS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/core/tdebase/tdebase.spec | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'redhat/core') diff --git a/redhat/core/tdebase/tdebase.spec b/redhat/core/tdebase/tdebase.spec index 44ead0cbd..0759676fd 100644 --- a/redhat/core/tdebase/tdebase.spec +++ b/redhat/core/tdebase/tdebase.spec @@ -3435,6 +3435,13 @@ fi %endif %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6 || 0%{?mdkver} || 0%{?pclinuxos} -DBUILD_TDM_SYSTEMD_UNIT_FILE="ON" \ +%endif + \ +%if 0%{?suse_version} + -HALT_BINARY="/usr/sbin/halt" \ + -DPOWEROFF_BINARY="/usr/sbin/poweroff" \ + -DREBOOT_BINARY="/usr/sbin/reboot" \ + -DSHUTDOWN_BINARY="/usr/sbin/shutdown" \ %endif .. -- cgit v1.2.1