summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/tdebase/tdebase-14.0.0.spec9
1 files changed, 9 insertions, 0 deletions
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec
index 0279140ae..ba819450f 100644
--- a/redhat/tdebase/tdebase-14.0.0.spec
+++ b/redhat/tdebase/tdebase-14.0.0.spec
@@ -3467,6 +3467,7 @@ fi
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=ON \
\
@@ -3650,6 +3651,14 @@ cat << EOF > "%{buildroot}%{_sysconfdir}/logrotate.d/tdm"
}
EOF
+# Move faces icon to XDG directory
+if [ ! -d "%{?buildroot}%{_datadir}/faces" ]; then
+ %__mkdir_p "%{?buildroot}%{_datadir}/faces"
+ %__mv -f "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/"* "%{?buildroot}%{_datadir}/faces"
+ %__rmdir "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users/"
+ %__ln_s "%{_datadir}/faces" "%{?buildroot}%{tde_datadir}/apps/tdm/pics/users"
+fi
+
%clean
%__rm -rf %{?buildroot}