From 651c6a370287738a46346df41c3673d4b1b9a754 Mon Sep 17 00:00:00 2001 From: dillon_chen Date: Thu, 9 Nov 2023 17:35:00 +0800 Subject: [PATCH] remove rpath --- tracker.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tracker.spec b/tracker.spec index b81b7cf..5dd232a 100644 --- a/tracker.spec +++ b/tracker.spec @@ -3,7 +3,7 @@ Name: tracker Version: 2.1.5 -Release: 3 +Release: 4 Summary: A filesystem indexer, metadata storage system and search tool License: GPLv2+ URL: https://wiki.gnome.org/Projects/Tracker @@ -11,7 +11,7 @@ Source0: https://download.gnome.org/sources/%{name}/2.1/%{name}-%{version Source1: tracker.conf BuildRequires: graphviz gtk-doc systemd libxslt -BuildRequires: intltool libappstream-glib vala +BuildRequires: intltool libappstream-glib vala chrpath BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(icu-i18n) pkgconfig(icu-uc) BuildRequires: pkgconfig(json-glib-1.0) pkgconfig(libnm) @@ -82,6 +82,9 @@ rm -f %{buildroot}%{_libdir}/tracker-2.0/*.so %chrpath_delete install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf +chrpath --delete %{buildroot}/usr/libexec/tracker-store +chrpath --delete %{buildroot}%{_bindir}/tracker +chrpath --delete %{buildroot}%{_libdir}/libtracker-*.so.* %pre @@ -140,6 +143,12 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_ar %{_datadir}/gtk-doc/html/ontology/ %changelog +* Thu Nov 9 2023 dillon chen - 2.1.5-4 +- Type:enhanence +- ID:NA +- SUG:NA +- DESC:remove rpath + * Thu Nov 21 2019 chengquan - 2.1.5-3 - Type:bugfix - ID:NA -- Gitee