diff --git a/abrt.spec b/abrt.spec index 22e95fd..b931e17 100644 --- a/abrt.spec +++ b/abrt.spec @@ -12,10 +12,10 @@ # # % define _buildid .local -%if 0%{?_buildid} -%define ?pkg_release 2%{?_buildid}%{?dist} +%if "0%{?_buildid}" != "0" +%define pkg_release 0.%{?_buildid}%{?dist} %else -%define pkg_release 2%{?dist} +%define pkg_release 3%{?dist} %endif Summary: Automatic bug detection and reporting tool @@ -31,6 +31,7 @@ Patch0: abrt-1.0.9-hideprefs.patch Patch1: abrt_disable_gpgcheck.diff Patch2: blacklist.patch Patch3: polkit.patch +Patch4: libnotify_07.patch BuildRequires: dbus-devel BuildRequires: gtk2-devel BuildRequires: curl-devel @@ -242,6 +243,7 @@ Virtual package to make easy default installation on desktop environments. # general patches %patch2 -p1 -b .blacklist_mono %patch3 -p1 -b .polkit +%patch4 -p1 -b .libnotify07 %build %configure @@ -496,6 +498,9 @@ fi %defattr(-,root,root,-) %changelog +* Wed Nov 10 2010 Jiri Moskovcak 1.1.13-3 +- Rebuild for libnotify-0.7 + * Wed Aug 25 2010 Jochen Schmitt 1.1.13-2%{?dist} - Rebuild for python-2.7 diff --git a/libnotify_07.patch b/libnotify_07.patch new file mode 100644 index 0000000..9c1ff04 --- /dev/null +++ b/libnotify_07.patch @@ -0,0 +1,11 @@ +--- abrt-1.1.13/src/Applet/CCApplet.cpp 2010-08-02 15:12:39.000000000 +0200 ++++ abrt-1.1.13_/src/Applet/CCApplet.cpp 2010-11-10 19:02:04.131162987 +0100 +@@ -36,7 +36,7 @@ + static NotifyNotification *new_warn_notification() + { + NotifyNotification *notification; +- notification = notify_notification_new(_("Warning"), NULL, NULL, NULL); ++ notification = notify_notification_new(_("Warning"), NULL, NULL); + g_signal_connect(notification, "closed", G_CALLBACK(on_notify_close), NULL); + + GdkPixbuf *pixbuf = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(),