Remove rpath

This commit is contained in:
zhangxianting 2023-11-09 11:20:01 +08:00
parent 120c57f1c0
commit 839a17a1f6

View File

@ -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 <zhangxianting@uniontech.com> - 3.30.1-11
- Remove rpath
* Tue Sep 28 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.30.1-10
- fix CVE-2019-3820