diff --git a/0001-libtracker-miners-common-Allow-statx-syscall.patch b/0001-libtracker-miners-common-Allow-statx-syscall.patch new file mode 100644 index 0000000..5164fb4 --- /dev/null +++ b/0001-libtracker-miners-common-Allow-statx-syscall.patch @@ -0,0 +1,27 @@ +From c4755ead8dbf0d672e7aff54836a9dc3545c221d Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Mon, 24 Aug 2020 17:17:28 +0200 +Subject: [PATCH] libtracker-miners-common: Allow statx syscall + +As now used by glib. + +Closes: #128 +--- + src/libtracker-miners-common/tracker-seccomp.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libtracker-miners-common/tracker-seccomp.c b/src/libtracker-miners-common/tracker-seccomp.c +index aabed1548..c0327eb08 100644 +--- a/src/libtracker-miners-common/tracker-seccomp.c ++++ b/src/libtracker-miners-common/tracker-seccomp.c +@@ -97,6 +97,7 @@ tracker_seccomp_init (void) + ALLOW_RULE (statfs64); + ALLOW_RULE (lstat); + ALLOW_RULE (lstat64); ++ ALLOW_RULE (statx); + ALLOW_RULE (access); + ALLOW_RULE (getdents); + ALLOW_RULE (getdents64); +-- +2.26.2 + diff --git a/tracker-miners.spec b/tracker-miners.spec index 8bf95e8..88e1e9b 100644 --- a/tracker-miners.spec +++ b/tracker-miners.spec @@ -18,13 +18,15 @@ Name: tracker-miners Version: 2.3.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tracker miners and metadata extractors # libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code License: GPLv2+ and LGPLv2+ URL: https://wiki.gnome.org/Projects/Tracker Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz +# Backported from upstream +Patch0: 0001-libtracker-miners-common-Allow-statx-syscall.patch BuildRequires: gcc BuildRequires: giflib-devel @@ -132,6 +134,9 @@ rm -rf %{buildroot}%{_datadir}/tracker-tests %changelog +* Mon Sep 07 2020 Kalev Lember - 2.3.4-2 +- Backport an upstream patch to allow statx syscall (#1875398) + * Tue Aug 25 2020 Kalev Lember - 2.3.4-1 - Update to 2.3.4