!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:
commit
9f40098734
13
gvfs.spec
13
gvfs.spec
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
Name: gvfs
|
Name: gvfs
|
||||||
Version: 1.50.2
|
Version: 1.50.2
|
||||||
Release: 3
|
Release: 4
|
||||||
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
|
||||||
@ -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}/gio/modules/*.so
|
||||||
chrpath -d %{buildroot}%{_libdir}/gvfs/*.so
|
chrpath -d %{buildroot}%{_libdir}/gvfs/*.so
|
||||||
chrpath -d %{buildroot}%{_libexecdir}/gvfs*
|
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
|
# trashlib is GPLv3, include the license
|
||||||
cp -p daemon/trashlib/COPYING COPYING.GPL3
|
cp -p daemon/trashlib/COPYING COPYING.GPL3
|
||||||
@ -126,6 +129,10 @@ cp -p daemon/trashlib/COPYING COPYING.GPL3
|
|||||||
%post
|
%post
|
||||||
# Reload .mount files:
|
# Reload .mount files:
|
||||||
killall -USR1 gvfsd >&/dev/null || :
|
killall -USR1 gvfsd >&/dev/null || :
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_datadir}/dbus-1/services/org.gtk.vfs.*.service
|
%{_datadir}/dbus-1/services/org.gtk.vfs.*.service
|
||||||
@ -148,6 +155,7 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
%{_libdir}/gvfs/libgvfscommon.so
|
%{_libdir}/gvfs/libgvfscommon.so
|
||||||
%{_libdir}/gio/modules/*.so
|
%{_libdir}/gio/modules/*.so
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/gvfs-client/gvfs/gvfs*.h
|
%{_includedir}/gvfs-client/gvfs/gvfs*.h
|
||||||
@ -161,6 +169,9 @@ killall -USR1 gvfsd >&/dev/null || :
|
|||||||
%{_mandir}/man1/gvfsd-fuse.1*
|
%{_mandir}/man1/gvfsd-fuse.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 1.50.2-3
|
||||||
- delete invalid line
|
- delete invalid line
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user