!44 [sync] PR-43: remove rpath
From: @openeuler-sync-bot Reviewed-by: @open-bot Signed-off-by: @open-bot
This commit is contained in:
commit
6d3c2c6ae1
15
gvfs.spec
15
gvfs.spec
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
Name: gvfs
|
Name: gvfs
|
||||||
Version: 1.46.2
|
Version: 1.46.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: gvfs is a backends for the gio framework in GLib
|
Summary: gvfs is a backends for the gio framework in GLib
|
||||||
License: GPLv3 and LGPLv2+ and BSD and MPLv2.0
|
License: GPLv3 and LGPLv2+ and BSD and MPLv2.0
|
||||||
URL: https://wiki.gnome.org/Projects/gvfs
|
URL: https://wiki.gnome.org/Projects/gvfs
|
||||||
@ -53,6 +53,7 @@ BuildRequires: libgcrypt-devel >= %{libgcrypt_version}
|
|||||||
BuildRequires: pkgconfig(libmtp) >= %{libmtp_version}
|
BuildRequires: pkgconfig(libmtp) >= %{libmtp_version}
|
||||||
BuildRequires: pkgconfig(libnfs) >= %{libnfs_version} gdb
|
BuildRequires: pkgconfig(libnfs) >= %{libnfs_version} gdb
|
||||||
BuildRequires: pkgconfig(libbluray)
|
BuildRequires: pkgconfig(libbluray)
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
Requires: glib2%{?_isa} >= %{glib2_version} udisks2 >= %{udisks2_version}
|
Requires: glib2%{?_isa} >= %{glib2_version} udisks2 >= %{udisks2_version}
|
||||||
Requires: fuse3 >= %{fuse_version} gsettings-desktop-schemas >= %{gsettings_desktop_schemas_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
|
%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
|
%post
|
||||||
# Reload .mount files:
|
# Reload .mount files:
|
||||||
killall -USR1 gvfsd >&/dev/null || :
|
killall -USR1 gvfsd >&/dev/null || :
|
||||||
@ -193,6 +202,7 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%{_userunitdir}/gvfs-gphoto2-volume-monitor.service
|
%{_userunitdir}/gvfs-gphoto2-volume-monitor.service
|
||||||
%{_userunitdir}/gvfs-mtp-volume-monitor.service
|
%{_userunitdir}/gvfs-mtp-volume-monitor.service
|
||||||
%{_tmpfilesdir}/gvfsd-fuse-tmpfiles.conf
|
%{_tmpfilesdir}/gvfsd-fuse-tmpfiles.conf
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files client -f gvfs.lang
|
%files client -f gvfs.lang
|
||||||
%license COPYING COPYING.GPL3
|
%license COPYING COPYING.GPL3
|
||||||
@ -218,6 +228,9 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%{_mandir}/man1/gvfsd-fuse.1*
|
%{_mandir}/man1/gvfsd-fuse.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 05 2023 lwg <relpeace@yeah.net> - 1.46.2-5
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Thu Oct 26 2023 peijiankang <peijiankang@kylinos.cn> - 1.46.2-4
|
* Thu Oct 26 2023 peijiankang <peijiankang@kylinos.cn> - 1.46.2-4
|
||||||
- Ignore EINVAL for kerberos/ccache login
|
- Ignore EINVAL for kerberos/ccache login
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user