summaryrefslogtreecommitdiffstats
path: root/redhat/applications/misc/kcmldapcontroller
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2025-05-01 09:59:59 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2025-05-01 09:59:59 +0200
commit19d08f5bf8b704bcf317ab2970ce997c179e0ed2 (patch)
treee18ebdf17c8d7e95ceee0a6a6183ef61a7e30220 /redhat/applications/misc/kcmldapcontroller
parent187788a4af89b20879a0e0b1d2127c67f2312f76 (diff)
downloadtde-packaging-19d08f5b.tar.gz
tde-packaging-19d08f5b.zip
RPM: update for building 14.1.4
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/applications/misc/kcmldapcontroller')
-rw-r--r--redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec b/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
index d6de3ddc9..d5996eb48 100644
--- a/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
+++ b/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.1.3
+%define tde_version 14.1.4
%endif
%define tde_pkg kcmldapcontroller
%define tde_prefix /opt/trinity
@@ -183,7 +183,7 @@ This is a TDE control center module to manage users, groups, and machines in Ker
##########
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
%debug_package
%endif
@@ -209,6 +209,10 @@ if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
fi
%cmake \
+%if 0%{?suse_version} == 1699
+ -DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,-z,now" \
+ -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,-z,now" \
+%endif
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \