From 4739c9b1874940ec2aa5ca700d87d41c4c92c762 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 25 Jul 2018 11:02:14 +0200 Subject: [PATCH] Update to 2.1.0 --- .gitignore | 1 + ...he-build-with-Werror-format-security.patch | 25 +++++++++++++++++++ sources | 2 +- tracker-miners.spec | 13 +++++++--- 4 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 0001-miner-fs-Fix-the-build-with-Werror-format-security.patch diff --git a/.gitignore b/.gitignore index 0d7671a..633131d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /tracker-miners-2.0.3.tar.xz /tracker-miners-2.0.4.tar.xz /tracker-miners-2.0.5.tar.xz +/tracker-miners-2.1.0.tar.xz diff --git a/0001-miner-fs-Fix-the-build-with-Werror-format-security.patch b/0001-miner-fs-Fix-the-build-with-Werror-format-security.patch new file mode 100644 index 0000000..f6b1dc6 --- /dev/null +++ b/0001-miner-fs-Fix-the-build-with-Werror-format-security.patch @@ -0,0 +1,25 @@ +From 5c475898dd0d4087ee7bd9da7a850523b5cc707d Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Wed, 25 Jul 2018 11:12:10 +0200 +Subject: [PATCH] miner-fs: Fix the build with -Werror=format-security + +--- + src/miners/fs/tracker-power-upower.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/miners/fs/tracker-power-upower.c b/src/miners/fs/tracker-power-upower.c +index 0e229d1..5dc5e8a 100644 +--- a/src/miners/fs/tracker-power-upower.c ++++ b/src/miners/fs/tracker-power-upower.c +@@ -250,7 +250,7 @@ tracker_power_new () + object = g_initable_new (TRACKER_TYPE_POWER, NULL, &error, NULL); + + if (error) { +- g_warning (error->message); ++ g_warning ("%s", error->message); + } + + return object; +-- +2.17.1 + diff --git a/sources b/sources index 8a60efa..ee9ddfe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tracker-miners-2.0.5.tar.xz) = 54f27e3a4f70fabd54bcf6d462e24b55fa00f130be13f7bd59dfbaac962af43b1be858cec185584059b823eac0efc1970a201c1e43e4906ba36451d6f76b4709 +SHA512 (tracker-miners-2.1.0.tar.xz) = 5b8c32aec6321280ea022025844d4741de00658287c4dbdfb8637b87e4b835eff589795f2fbf36b7d605a1df7c99cb83d441ee46c14f814e30374bb717494c07 diff --git a/tracker-miners.spec b/tracker-miners.spec index bfe186d..50fb883 100644 --- a/tracker-miners.spec +++ b/tracker-miners.spec @@ -8,19 +8,21 @@ %global with_rss 1 %endif -%global tracker_version 1.99 +%global tracker_version 2.1.0 %global systemd_units tracker-extract.service tracker-miner-apps.service tracker-miner-fs.service tracker-miner-rss.service tracker-writeback.service Name: tracker-miners -Version: 2.0.5 -Release: 3%{?dist} +Version: 2.1.0 +Release: 1%{?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.0/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/2.1/%{name}-%{version}.tar.xz +# https://gitlab.gnome.org/GNOME/tracker-miners/merge_requests/11 +Patch0: 0001-miner-fs-Fix-the-build-with-Werror-format-security.patch BuildRequires: giflib-devel BuildRequires: intltool @@ -127,6 +129,9 @@ rm -f %{buildroot}%{_libdir}/tracker-miners-2.0/*.so %changelog +* Wed Jul 25 2018 Kalev Lember - 2.1.0-1 +- Update to 2.1.0 + * Sat Jul 14 2018 Fedora Release Engineering - 2.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild