diff --git a/gvfs.spec b/gvfs.spec index a2681dcae07b056ddd9324bc9144105f09d0a1de..ba56fdac9793fb0b8df20a0057dfcfc1b8ebbc49 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