summaryrefslogtreecommitdiffstats
path: root/redhat/core
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2024-12-08 13:50:55 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2024-12-08 13:51:00 +0100
commit4df5a6e038d30abfe5459bf9791848232cc5280c (patch)
treebd1aa7e0d3aefc1296c7694980c6d9b69c4ae2d5 /redhat/core
parent16a171222567ad835d033cbef25b46a6480592fb (diff)
downloadtde-packaging-r14.1.x.tar.gz
tde-packaging-r14.1.x.zip
RPM: update spec files for building on OBSr14.1.x
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/core')
-rw-r--r--redhat/core/tdebase/tdebase.spec7
1 files changed, 7 insertions, 0 deletions
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
@@ -3436,6 +3436,13 @@ fi
%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
..
%__make %{?_smp_mflags} || %__make