!3 add dynamic library search path with file
From: @weijin-deng Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
baa2c663f7
1
tracker3-miners.conf
Normal file
1
tracker3-miners.conf
Normal file
@ -0,0 +1 @@
|
||||
/usr/lib64/tracker-miners-3.0
|
||||
@ -2,12 +2,13 @@
|
||||
|
||||
Name: tracker3-miners
|
||||
Version: 3.0.5
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: One of two parts of tracker mainly contains the indexer daemon and tools.
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/Tracker
|
||||
Source0: https://download.gnome.org/sources/tracker-miners/3.0/tracker-miners-%{version}.tar.xz
|
||||
Source1: tracker3-miners.conf
|
||||
|
||||
BuildRequires: asciidoc libxslt coreutils glib2 glib2-devel gcc giflib-devel meson systemd
|
||||
BuildRequires: pkgconfig(tracker-sparql-3.0) pkgconfig(tracker-testutils-3.0)
|
||||
@ -55,8 +56,8 @@ chrpath -d %{buildroot}%{_libexecdir}/tracker-*
|
||||
chrpath -d %{buildroot}%{_libexecdir}/tracker3/*
|
||||
chrpath -d %{buildroot}%{_libdir}/tracker-miners-3.0/libtracker-miner-3.0.so
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "{_libdir}/tracker-miners-3.0" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%post
|
||||
%systemd_user_post %{systemd_units}
|
||||
@ -73,7 +74,7 @@ echo "{_libdir}/tracker-miners-3.0" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_a
|
||||
%license COPYING*
|
||||
%doc AUTHORS NEWS README.md
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-miner-fs-3.desktop
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%{_libdir}/tracker-miners-3.0/
|
||||
%{_libexecdir}/tracker*
|
||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.Tracker3.Miner*.xml
|
||||
@ -85,6 +86,9 @@ echo "{_libdir}/tracker-miners-3.0" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_a
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 23 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.0.5-3
|
||||
- Add dynamic library search path with file
|
||||
|
||||
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.0.5-2
|
||||
- del rpath in some binaries
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user