From 839a17a1f663d06b15e057e536b2c00120e29f53 Mon Sep 17 00:00:00 2001 From: zhangxianting Date: Thu, 9 Nov 2023 11:20:01 +0800 Subject: [PATCH] Remove rpath --- gnome-shell.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnome-shell.spec b/gnome-shell.spec index 3e35b9c..eba96f5 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -1,6 +1,6 @@ Name: gnome-shell Version: 3.30.1 -Release: 10 +Release: 11 Summary: Core user interface functions for the GNOME 3 desktop Group: User Interface/Desktops License: GPLv2+ @@ -66,6 +66,13 @@ Help files for %{name} %find_lang %{name} +chrpath -d %{buildroot}%{_bindir}/%{name} +chrpath -d %{buildroot}%{_libdir}/%{name}/libgvc.so +chrpath -d %{buildroot}%{_libdir}/%{name}/libst-1.0.so +chrpath -d %{buildroot}%{_libdir}/%{name}/lib%{name}.so +chrpath -d %{buildroot}%{_libdir}/%{name}/lib%{name}-menu.so +mkdir -p %{buildroot}/etc/ld.so.conf.d +echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.desktop @@ -121,11 +128,15 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &> /dev/null %dir %{_datadir}/GConf %dir %{_datadir}/GConf/gsettings %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert +%config(noreplace) /etc/ld.so.conf.d/* %files help %{_mandir}/man1/%{name}.1.gz %changelog +* Thu Nov 09 2023 zhangxianting - 3.30.1-11 +- Remove rpath + * Tue Sep 28 2021 weijin deng - 3.30.1-10 - fix CVE-2019-3820 -- Gitee