diff --git a/.gitignore b/.gitignore index 79609af..e91495e 100644 --- a/.gitignore +++ b/.gitignore @@ -77,3 +77,4 @@ libgweather-2.30.0.tar.bz2 /libgweather-3.26.1.tar.xz /libgweather-3.27.4.tar.xz /libgweather-3.28.0.tar.xz +/libgweather-3.28.1.tar.xz diff --git a/0001-lib-Fix-memory-and-D-Bus-match-rule-leaks.patch b/0001-lib-Fix-memory-and-D-Bus-match-rule-leaks.patch deleted file mode 100644 index efcb49b..0000000 --- a/0001-lib-Fix-memory-and-D-Bus-match-rule-leaks.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 5236ce83f1c56cf81f4a7988dcfe3fd7e3c7ee1a Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Thu, 15 Mar 2018 14:42:15 +0100 -Subject: [PATCH] lib: Fix memory and D-Bus match rule leaks - -From #3: -> The GWeatherInfo settings object is never freed leading not only -> to a memory leak, but also to a dbus match rule leak, which on -> the system bus can quickly result in reaching the maximum amount -> of allowed match rules. See gnome-shell#96. ---- - libgweather/gweather-weather.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c -index 6ece6562d45b..571a3e0b7f10 100644 ---- a/libgweather/gweather-weather.c -+++ b/libgweather/gweather-weather.c -@@ -738,6 +738,7 @@ gweather_info_finalize (GObject *object) - GWeatherInfoPrivate *priv = info->priv; - - _weather_location_free (&priv->location); -+ g_clear_object (&priv->settings); - - if (priv->glocation) - gweather_location_unref (priv->glocation); --- -2.16.2 - diff --git a/libgweather.spec b/libgweather.spec index 0d83d4b..fd25935 100644 --- a/libgweather.spec +++ b/libgweather.spec @@ -1,13 +1,11 @@ Name: libgweather -Version: 3.28.0 -Release: 2%{?dist} +Version: 3.28.1 +Release: 1%{?dist} Summary: A library for weather information License: GPLv2+ URL: https://wiki.gnome.org/Projects/LibGWeather Source0: https://download.gnome.org/sources/libgweather/3.28/%{name}-%{version}.tar.xz -# Backported from upstream -Patch0: 0001-lib-Fix-memory-and-D-Bus-match-rule-leaks.patch BuildRequires: gettext BuildRequires: gtk-doc @@ -72,6 +70,9 @@ developing applications that use %{name}. %{_datadir}/vala/vapi/gweather-3.0.vapi %changelog +* Thu Mar 22 2018 Kalev Lember - 3.28.1-1 +- Update to 3.28.1 + * Fri Mar 16 2018 Kalev Lember - 3.28.0-2 - Backport a patch to fix memory and D-Bus match rule leaks diff --git a/sources b/sources index 7e8abde..4addc31 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libgweather-3.28.0.tar.xz) = 2ae53c22c3ded7df58ec6429d9f77187c3d3195108704df40a9b1027fe8a59c6d75ebb77e81398a1e308580ae9da856e453f98c2901c4fd913fda6b26604da4a +SHA512 (libgweather-3.28.1.tar.xz) = 62a56eca21d9f2c6c3bb7346325ae401405b898804c2835ff81d0650b1cfe7bd5081d34fb243a544e24db3e04255e5511864a631385d6a1d4e212f5bae96708f