Accepting request 528427 from GNOME:Next

Add upstream patches

OBS-URL: https://build.opensuse.org/request/show/528427
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/tracker?expand=0&rev=132
This commit is contained in:
Dominique Leuenberger 2017-09-25 12:59:31 +00:00 committed by Git OBS Bridge
parent 228a3c06cb
commit a9e1cde9c9
3 changed files with 1357 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Sep 23 19:12:06 UTC 2017 - zaitor@opensuse.org
- Add tracker-libtracker-fixes.patch: Fix various bugs in
libtracker (bgo#787452).
- Move AUTHORS ChangeLog README and NEWS to devel sub-package, only
developers care about these anyway, silences rpmlint.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 12 12:07:47 UTC 2017 - dimstar@opensuse.org Tue Sep 12 12:07:47 UTC 2017 - dimstar@opensuse.org

View File

@ -29,6 +29,8 @@ Url: http://projects.gnome.org/tracker/
Source0: http://download.gnome.org/sources/tracker/2.0/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/tracker/2.0/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs # PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs
Patch0: tracker-extract-private.patch Patch0: tracker-extract-private.patch
# PATCH-FIX-UPSTREAM tracker-libtracker-fixes.patch bgo#787452 zaitor@opensuse.org -- Fix various bugs in libtracker
Patch1: tracker-libtracker-fixes.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glib2-devel >= 2.44.0 BuildRequires: glib2-devel >= 2.44.0
@ -218,6 +220,7 @@ This subpackage contains the headers to make use of its libraries.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
%if !0%{?is_opensuse} %if !0%{?is_opensuse}
translation-update-upstream translation-update-upstream
%endif %endif
@ -258,7 +261,7 @@ mkdir -p %{buildroot}%{_datadir}/tracker/icons/
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README NEWS %doc COPYING
%{_sysconfdir}/xdg/autostart/tracker-store.desktop %{_sysconfdir}/xdg/autostart/tracker-store.desktop
%{_bindir}/tracker %{_bindir}/tracker
%{_libexecdir}/tracker-store %{_libexecdir}/tracker-store
@ -314,6 +317,7 @@ mkdir -p %{buildroot}%{_datadir}/tracker/icons/
%files -n tracker-devel %files -n tracker-devel
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS ChangeLog README NEWS
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_includedir}/tracker-%{TrackerAPI}/ %{_includedir}/tracker-%{TrackerAPI}/
%{_libdir}/pkgconfig/tracker-control-%{TrackerAPI}.pc %{_libdir}/pkgconfig/tracker-control-%{TrackerAPI}.pc