kalev pushed to libnotify (f22). "Drop the dependency on desktop-notification-daemon (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 29 14:01:37 UTC 2015


>From e4ea37910284f2ba30c5cc421a8a09613805d85f Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember at gmail.com>
Date: Wed, 29 Apr 2015 15:45:18 +0200
Subject: Drop the dependency on desktop-notification-daemon

We've gotten numerous complaints from users over this dependency, as it
tends to pull in a random desktop environment (e.g. cinnamon) when doing
an initial install that includes libnotify in the transaction set.

Furthermore, it would also pull in a full desktop environment to any
koji builds that include libnotify.

This commit drop the dep to avoid this surprising behaviour.

diff --git a/libnotify.spec b/libnotify.spec
index 9c998fc..d7fe1a8 100644
--- a/libnotify.spec
+++ b/libnotify.spec
@@ -5,7 +5,7 @@
 Summary: Desktop notification library
 Name: libnotify
 Version: 0.7.6
-Release: 5%{?dist}
+Release: 6%{?dist}
 URL: http://www.gnome.org
 Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz
 License: LGPLv2+
@@ -19,7 +19,6 @@ BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
 BuildRequires: gobject-introspection-devel
 BuildRequires: perl-Carp
 Requires: glib2 >= %{glib2_version}
-Requires: desktop-notification-daemon
 
 %description
 libnotify is a library for sending desktop notifications to a notification
@@ -74,6 +73,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 %{_datadir}/gir-1.0/Notify-0.7.gir
 
 %changelog
+* Wed Apr 29 2015 Kalev Lember <kalevlember at gmail.com> - 0.7.6-6
+- Drop the dependency on desktop-notification-daemon
+
 * Sat Feb 21 2015 Till Maas <opensource at till.name> - 0.7.6-5
 - Rebuilt for Fedora 23 Change
   https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libnotify.git/commit/?h=f22&id=e4ea37910284f2ba30c5cc421a8a09613805d85f


More information about the scm-commits mailing list