remove rpath

This commit is contained in:
dillon_chen 2023-11-09 17:35:00 +08:00
parent d2616bc4fd
commit 651c6a3702

View File

@ -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<dillon.chen@gmail.com> - 2.1.5-4
- Type:enhanence
- ID:NA
- SUG:NA
- DESC:remove rpath
* Thu Nov 21 2019 chengquan <chengquan3@huawei.com> - 2.1.5-3
- Type:bugfix
- ID:NA