From 88696055b87b3b0a8a7f63c228e27eb4d7615e85 Mon Sep 17 00:00:00 2001 From: zhangxianting Date: Thu, 9 Nov 2023 11:24:45 +0800 Subject: [PATCH] Remove rpath --- gvfs.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gvfs.spec b/gvfs.spec index a2681dc..ba56fda 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -24,7 +24,7 @@ Name: gvfs Version: 1.40.2 -Release: 8 +Release: 9 Summary: gvfs is a backends for the gio framework in GLib License: GPLv3 and LGPLv2+ and BSD and MPLv2.0 URL: https://wiki.gnome.org/Projects/gvfs @@ -109,6 +109,11 @@ This package contains help documentation for gvfs cp -p daemon/trashlib/COPYING COPYING.GPL3 %find_lang gvfs +# Remove rpath +chrpath -d %{buildroot}%{_libexecdir}/gvfs* +mkdir -p %{buildroot}/etc/ld.so.conf.d +echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf + %post # Reload .mount files: @@ -198,6 +203,7 @@ killall -USR1 gvfsd >&/dev/null || : %{_userunitdir}/gvfs-gphoto2-volume-monitor.service %{_userunitdir}/gvfs-mtp-volume-monitor.service %{_tmpfilesdir}/gvfsd-fuse-tmpfiles.conf +%config(noreplace) /etc/ld.so.conf.d/* %files client -f gvfs.lang %license COPYING COPYING.GPL3 @@ -223,6 +229,10 @@ killall -USR1 gvfsd >&/dev/null || : %{_mandir}/man1/gvfsd-fuse.1* %changelog +%changelog +* Thu Nov 09 2023 zhangxianting - 1.40.2-9 +- Remove rpath + * Wed Apr 28 2021 panchenbo - 1.40.2-8 - add missing files, support acf, gphoto2 and mtp -- Gitee