!34 add library path file to /etc/ld.so.conf.d

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2023-03-22 22:37:55 +00:00 committed by Gitee
commit 9f40098734
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -22,7 +22,7 @@
Name: gvfs
Version: 1.50.2
Release: 3
Release: 4
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
@ -117,6 +117,9 @@ This package containers the headers and other files which are required for devel
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
# trashlib is GPLv3, include the license
cp -p daemon/trashlib/COPYING COPYING.GPL3
@ -126,6 +129,10 @@ cp -p daemon/trashlib/COPYING COPYING.GPL3
%post
# Reload .mount files:
killall -USR1 gvfsd >&/dev/null || :
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_datadir}/dbus-1/services/org.gtk.vfs.*.service
@ -148,6 +155,7 @@ killall -USR1 gvfsd >&/dev/null || :
%doc NEWS README.md
%{_libdir}/gvfs/libgvfscommon.so
%{_libdir}/gio/modules/*.so
%config(noreplace) /etc/ld.so.conf.d/*
%files devel
%{_includedir}/gvfs-client/gvfs/gvfs*.h
@ -161,6 +169,9 @@ killall -USR1 gvfsd >&/dev/null || :
%{_mandir}/man1/gvfsd-fuse.1*
%changelog
* Wed Mar 22 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.50.2-4
- add library path file to /etc/ld.so.conf.d
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.50.2-3
- delete invalid line