Remove rpath

This commit is contained in:
zhangxianting 2023-11-09 11:24:45 +08:00
parent d17ea93a71
commit 88696055b8

View File

@ -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 <zhangxianting@uniontech.com> - 1.40.2-9
- Remove rpath
* Wed Apr 28 2021 panchenbo <panchenbo@uniontech.com> - 1.40.2-8
- add missing files, support acf, gphoto2 and mtp