[notify-python] Rebuild against libnotify 0.7.0

Matthias Clasen mclasen at fedoraproject.org
Wed Nov 3 11:14:10 UTC 2010


commit b79d97c588ddbfb90f0076423945cef752a68e00
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Wed Nov 3 07:13:06 2010 -0400

    Rebuild against libnotify 0.7.0

 notify-python.spec |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/notify-python.spec b/notify-python.spec
index cc175a7..6a8fbd2 100644
--- a/notify-python.spec
+++ b/notify-python.spec
@@ -2,7 +2,7 @@
 
 Name:           notify-python
 Version:        0.1.1
-Release:        15%{?dist}
+Release:        16%{?dist}
 Summary:        Python bindings for libnotify
 
 Group:          Development/Languages
@@ -10,9 +10,11 @@ Group:          Development/Languages
 License:        LGPLv2+
 Source0:        http://www.galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.bz2
 Patch0:         notify-python-0.1.1-fix-GTK-symbols.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch1:         libnotify07.patch
 
-BuildRequires:  python-devel, pkgconfig, libnotify-devel, pygtk2-devel
+BuildRequires:  python-devel, pkgconfigi
+BuildRequires:  libnotify-devel >= 0.7.0
+BuildRequires:  pygtk2-devel
 BuildRequires:  gtk2-devel, dbus-devel, dbus-glib-devel
 
 Requires:   libnotify >= 0.4.3
@@ -26,6 +28,7 @@ Python bindings for libnotify
 %prep
 %setup -q
 %patch0 -p1 -b .fix-GTK-symbols
+%patch1 -p1 -b .libnotify07
 
 # WARNING - we touch src/pynotify.override in build because upstream did not rebuild pynotify.c
 # from the input definitions, this forces pynotify.c to be regenerated, at some point this can be removed
@@ -55,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Wed Nov  3 2010 Matthias Clasen <mclasen at redhat.com> - 0.1.1-16
+- Rebuild against libnotify 0.7.0. API change!
+
 * Thu Sep  9 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 0.1.1-15
 - fix init.py so that it is able to load the needed GTK2 symbols from pygtk (bz 626852)
 


More information about the scm-commits mailing list