fix rpath error
This commit is contained in:
parent
3c000bd6ca
commit
24560daaf6
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: tracker3
|
Name: tracker3
|
||||||
Version: 3.0.4
|
Version: 3.0.4
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Desktop-neutral metadata database and search tool
|
Summary: Desktop-neutral metadata database and search tool
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -14,7 +14,7 @@ BuildRequires: pkgconfig(dbus-1) dbus-daemon pkgconfig(icu-i18n)
|
|||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
BuildRequires: pkgconfig(icu-uc) pkgconfig(json-glib-1.0)
|
BuildRequires: pkgconfig(icu-uc) pkgconfig(json-glib-1.0)
|
||||||
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0)
|
||||||
BuildRequires: pkgconfig(sqlite3)
|
BuildRequires: pkgconfig(sqlite3) chrpath
|
||||||
|
|
||||||
Requires: libtracker-sparql3%{?_isa} = %{version}-%{release}
|
Requires: libtracker-sparql3%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -78,13 +78,21 @@ The %{name}-devel package contains the documentation for %{name}.
|
|||||||
|
|
||||||
%find_lang tracker3
|
%find_lang tracker3
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}%{_libdir}/libtracker-sparql-3.0.so.0.4.0
|
||||||
|
chrpath -d %{buildroot}%{_libexecdir}/tracker-xdg-portal-3
|
||||||
|
chrpath -d %{buildroot}%{_bindir}/tracker3
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/tracker-3.0" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
%systemd_user_post %{systemd_units}
|
%systemd_user_post %{systemd_units}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_user_preun %{systemd_units}
|
%systemd_user_preun %{systemd_units}
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
%systemd_user_postun_with_restart %{systemd_units}
|
%systemd_user_postun_with_restart %{systemd_units}
|
||||||
|
|
||||||
%files -f tracker3.lang
|
%files -f tracker3.lang
|
||||||
@ -99,6 +107,7 @@ The %{name}-devel package contains the documentation for %{name}.
|
|||||||
%{_datadir}/dbus-1/services/org.freedesktop.portal.Tracker.service
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.Tracker.service
|
||||||
%{_mandir}/man1/tracker*.1*
|
%{_mandir}/man1/tracker*.1*
|
||||||
%{_userunitdir}/tracker-xdg-portal-3.service
|
%{_userunitdir}/tracker-xdg-portal-3.service
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files -n libtracker-sparql3
|
%files -n libtracker-sparql3
|
||||||
%license COPYING COPYING.LGPL
|
%license COPYING COPYING.LGPL
|
||||||
@ -106,6 +115,7 @@ The %{name}-devel package contains the documentation for %{name}.
|
|||||||
%{_libdir}/girepository-1.0/Tracker-3.0.typelib
|
%{_libdir}/girepository-1.0/Tracker-3.0.typelib
|
||||||
%{_libdir}/libtracker-sparql-3.0.so.0*
|
%{_libdir}/libtracker-sparql-3.0.so.0*
|
||||||
%{_datadir}/tracker3/
|
%{_datadir}/tracker3/
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/tracker-3.0/
|
%{_includedir}/tracker-3.0/
|
||||||
@ -128,5 +138,8 @@ The %{name}-devel package contains the documentation for %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 09 2021 wangyue <wangyue92@huawei.com> - 3.0.4-2
|
||||||
|
- fix rpath error
|
||||||
|
|
||||||
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.0.4-1
|
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.0.4-1
|
||||||
- Package tracker3 init with version 3.0.4
|
- Package tracker3 init with version 3.0.4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user