diff --git a/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch b/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch deleted file mode 100644 index 0b677d9..0000000 --- a/0001-notify_notification_set_image_from_pixbuf-ref-the-pi.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 49766bca28bb6fc57689f6061669bb44362d694d Mon Sep 17 00:00:00 2001 -From: Guillaume Desmottes -Date: Tue, 2 Nov 2010 17:02:37 +0100 -Subject: [PATCH] notify_notification_set_image_from_pixbuf: ref the pixbuf (#633829) - ---- - libnotify/notification.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/libnotify/notification.c b/libnotify/notification.c -index 2d5ecd9..571eff6 100644 ---- a/libnotify/notification.c -+++ b/libnotify/notification.c -@@ -695,7 +695,7 @@ notify_notification_set_image_from_pixbuf (NotifyNotification *notification, - image_len, - TRUE, - (GDestroyNotify) g_object_unref, -- pixbuf)); -+ g_object_ref (pixbuf))); - notify_notification_set_hint (notification, hint_name, value); - } - --- -1.7.1 - diff --git a/libnotify-0.7.9-consistent-ids.patch b/libnotify-0.7.9-consistent-ids.patch new file mode 100644 index 0000000..649cfb9 --- /dev/null +++ b/libnotify-0.7.9-consistent-ids.patch @@ -0,0 +1,26 @@ +From 34bf541f11b57995a019731e5a8d328422458bd3 Mon Sep 17 00:00:00 2001 +From: David King +Date: Mon, 13 Dec 2021 15:20:32 +0000 +Subject: [PATCH] docs: Use consistent IDs in spec build + +This avoids differences between IDs for separate builds of the +specification. + +https://bugzilla.redhat.com/show_bug.cgi?id=1915831 +--- + docs/config.xsl | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/docs/config.xsl b/docs/config.xsl +index 7aa9def..59490e7 100644 +--- a/docs/config.xsl ++++ b/docs/config.xsl +@@ -3,4 +3,5 @@ + xmlns:fo="http://www.w3.org/1999/XSL/Format" + version="1.0"> + ++ + +-- +2.33.1 + diff --git a/libnotify.spec b/libnotify.spec index bfc896c..38d4b46 100644 --- a/libnotify.spec +++ b/libnotify.spec @@ -2,12 +2,16 @@ Name: libnotify Version: 0.7.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Desktop notification library License: LGPLv2+ URL: http://www.gnome.org Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz +# https://bugzilla.redhat.com/show_bug.cgi?id=1915831# +# https://bugzilla.redhat.com/show_bug.cgi?id=1915831# +# https://bugzilla.redhat.com/show_bug.cgi?id=1915831 +Patch0: libnotify-0.7.9-consistent-ids.patch BuildRequires: docbook-xsl-ns BuildRequires: gdk-pixbuf2-devel @@ -36,7 +40,7 @@ This package contains libraries and header files needed for development of programs using %{name}. %prep -%setup -q +%autosetup -p1 %build %meson @@ -66,6 +70,9 @@ development of programs using %{name}. %doc %{_docdir}/libnotify/spec/ %changelog +* Mon Dec 13 2021 David King - 0.7.9-7 +- Fix inconsistent IDs in specification (#1915831) + * Mon Aug 09 2021 Mohan Boddu - 0.7.9-6 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688