!2 del rpath in some binaries
From: @si-gui Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
4b4eb31894
@ -2,7 +2,7 @@
|
||||
|
||||
Name: tracker3-miners
|
||||
Version: 3.0.5
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: One of two parts of tracker mainly contains the indexer daemon and tools.
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -20,7 +20,7 @@ BuildRequires: pkgconfig(libexif) pkgconfig(libgsf-1) pkgconfig(libgxps)
|
||||
BuildRequires: pkgconfig(libiptcdata) pkgconfig(libjpeg) pkgconfig(libosinfo-1.0) pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libseccomp) pkgconfig(libtiff-4) pkgconfig(libxml-2.0) pkgconfig(poppler-glib)
|
||||
BuildRequires: pkgconfig(totem-plparser) pkgconfig(upower-glib) pkgconfig(libnm)
|
||||
BuildRequires: pkgconfig(enca) pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(enca) pkgconfig(systemd) chrpath
|
||||
|
||||
%{?systemd_requires}
|
||||
Requires: tracker3%{?_isa}
|
||||
@ -51,20 +51,29 @@ this is for version 3 series.
|
||||
%meson_install
|
||||
|
||||
%find_lang tracker3-miners
|
||||
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
|
||||
|
||||
%post
|
||||
%systemd_user_post %{systemd_units}
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{systemd_units}
|
||||
|
||||
%postun
|
||||
%systemd_user_postun_with_restart %{systemd_units}
|
||||
/sbin/ldconfig
|
||||
|
||||
%files -f tracker3-miners.lang
|
||||
%license COPYING*
|
||||
%doc AUTHORS NEWS README.md
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/tracker-miner-fs-3.desktop
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
%{_libdir}/tracker-miners-3.0/
|
||||
%{_libexecdir}/tracker*
|
||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.Tracker3.Miner*.xml
|
||||
@ -76,5 +85,8 @@ this is for version 3 series.
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 3.0.5-2
|
||||
- del rpath in some binaries
|
||||
|
||||
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.0.5-1
|
||||
- Package init with version 3.0.5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user