diff --git a/gvfs.spec b/gvfs.spec index 69e09e8995e46384186347d9320644ba5b96ba5f..c6de6dc6c17d8f47c21633bc3ea60ea98dd67131 100644 --- a/gvfs.spec +++ b/gvfs.spec @@ -23,7 +23,7 @@ Name: gvfs Version: 1.46.2 -Release: 4 +Release: 5 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 @@ -53,6 +53,7 @@ BuildRequires: libgcrypt-devel >= %{libgcrypt_version} BuildRequires: pkgconfig(libmtp) >= %{libmtp_version} BuildRequires: pkgconfig(libnfs) >= %{libnfs_version} gdb BuildRequires: pkgconfig(libbluray) +BuildRequires: chrpath Requires: glib2%{?_isa} >= %{glib2_version} udisks2 >= %{udisks2_version} Requires: fuse3 >= %{fuse_version} gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version} @@ -111,6 +112,14 @@ cp -p daemon/trashlib/COPYING COPYING.GPL3 %find_lang gvfs +# Remove rpath +chrpath -d %{buildroot}%{_libdir}/gio/modules/*.so +chrpath -d %{buildroot}%{_libdir}/gvfs/*.so +chrpath -d %{buildroot}%{_libexecdir}/gvfs* +mkdir -p %{buildroot}/etc/ld.so.conf.d +echo "%{_libdir}/gio/modules" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf +echo "%{_libdir}/gvfs" >> %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf + %post # Reload .mount files: killall -USR1 gvfsd >&/dev/null || : @@ -193,6 +202,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 @@ -218,6 +228,9 @@ killall -USR1 gvfsd >&/dev/null || : %{_mandir}/man1/gvfsd-fuse.1* %changelog +* Tue Dec 05 2023 lwg - 1.46.2-5 +- Remove rpath + * Thu Oct 26 2023 peijiankang - 1.46.2-4 - Ignore EINVAL for kerberos/ccache login