!13 [sync] PR-11: 修复非64位架构下编译找不到库路径问题
From: @openeuler-sync-bot Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
9eb1653e7d
@ -1 +0,0 @@
|
|||||||
/usr/lib64/tracker-2.0
|
|
||||||
10
tracker.spec
10
tracker.spec
@ -3,12 +3,11 @@
|
|||||||
|
|
||||||
Name: tracker
|
Name: tracker
|
||||||
Version: 2.3.6
|
Version: 2.3.6
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A filesystem indexer, metadata storage system and search tool
|
Summary: A filesystem indexer, metadata storage system and search tool
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Tracker
|
URL: https://wiki.gnome.org/Projects/Tracker
|
||||||
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
|
||||||
Source1: tracker.conf
|
|
||||||
Patch1: tracker-2.3.6-sw.patch
|
Patch1: tracker-2.3.6-sw.patch
|
||||||
|
|
||||||
BuildRequires: graphviz gtk-doc systemd libxslt gettext meson intltool
|
BuildRequires: graphviz gtk-doc systemd libxslt gettext meson intltool
|
||||||
@ -75,11 +74,11 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
|
|
||||||
# remove rpath info
|
# remove rpath info
|
||||||
%chrpath_delete
|
%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}/usr/libexec/tracker-store
|
||||||
chrpath --delete %{buildroot}%{_bindir}/tracker
|
chrpath --delete %{buildroot}%{_bindir}/tracker
|
||||||
chrpath --delete %{buildroot}%{_libdir}/libtracker-*.so.*
|
chrpath --delete %{buildroot}%{_libdir}/libtracker-*.so.*
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/tracker-2.0" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
@ -137,6 +136,9 @@ chrpath --delete %{buildroot}%{_libdir}/libtracker-*.so.*
|
|||||||
%{_datadir}/gtk-doc/html/ontology/
|
%{_datadir}/gtk-doc/html/ontology/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 24 2023 panchenbo <panchenbo@kylinsec.com.cn> - 2.3.6-4
|
||||||
|
- touch /etc/ld.so.conf.d/%{name}_%{_arch}.conf in spec ,del SOURCE1
|
||||||
|
|
||||||
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 2.3.6-3
|
* Wed Oct 26 2022 wuzx<wuzx1226@qq.com> - 2.3.6-3
|
||||||
- Type:feature
|
- Type:feature
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user