!6 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
9f7c8983c3
@ -5,7 +5,7 @@
|
||||
|
||||
Name: gnome-connections
|
||||
Version: 43.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: A remote desktop client for the GNOME desktop environment
|
||||
License: GPLv3+
|
||||
URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home
|
||||
@ -46,6 +46,9 @@ Connections is a remote desktop client for the GNOME desktop environment.
|
||||
%install
|
||||
%meson_install
|
||||
chrpath -d %{buildroot}%{_bindir}/gnome-connections
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/gnome-connections" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%find_lang gnome-connections --with-gnome
|
||||
|
||||
rm -rf %{buildroot}%{_includedir}/gnome-connections/
|
||||
@ -58,6 +61,12 @@ rm -rf %{buildroot}%{_datadir}/gnome-connections/vapi/
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Connections.appdata.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections.desktop
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files -f gnome-connections.lang
|
||||
%license COPYING
|
||||
%doc README.md NEWS
|
||||
@ -70,8 +79,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections
|
||||
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Connections-symbolic.svg
|
||||
%{_datadir}/metainfo/org.gnome.Connections.appdata.xml
|
||||
%{_datadir}/mime/packages/org.gnome.Connections.xml
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 24 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-3
|
||||
- add library path file to /etc/ld.so.conf.d
|
||||
|
||||
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-2
|
||||
- remove rpath
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user