Hello community,
here is the log from the commit of package python-notify for openSUSE:Factory
checked in at Wed Mar 18 00:01:48 CET 2009.
--------
--- python-notify/python-notify.changes 2008-09-10 04:08:46.000000000 +0200
+++ python-notify/python-notify.changes 2009-03-12 17:14:03.000000000 +0100
@@ -1,0 +2,15 @@
+Thu Mar 12 16:16:46 CET 2009 - vuntz@novell.com
+
+- Make sure we have the complete bindings: pynotify.c was not
+ regenerated for the tarball, so it's not up-to-date, and we have
+ to touch a file to have it regenerated.
+- Remove checks for old version of openSUSE.
+- Remove unneeded BuildRequires: dbus-1-glib-devel, gtk2-devel,
+ pkgconfig.
+- Remove libnotify from Requires: it will be added automatically.
+- Remove notification-daemon from Requires: it's not the job of the
+ binding to say so (libnotify already does it).
+- Remove definition of CFLAGS and PYTHON.
+- Use fdupes.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-notify.spec ++++++
--- /var/tmp/diff_new_pack.W27389/_old 2009-03-17 23:59:26.000000000 +0100
+++ /var/tmp/diff_new_pack.W27389/_new 2009-03-17 23:59:26.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-notify (Version 0.1.1)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,25 +21,17 @@
Name: python-notify
Version: 0.1.1
-Release: 2
+Release: 5
Summary: Python bindings for libnotify
Group: Development/Languages/Python
License: LGPL v2.1 or later
Url: http://www.galago-project.org/specs/notification
Source: http://www.galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: dbus-1-glib-devel
-BuildRequires: gtk2-devel
-BuildRequires: pkgconfig
-BuildRequires: libnotify-devel >= 0.4.0
+BuildRequires: fdupes
+BuildRequires: libnotify-devel
BuildRequires: python-devel
-%if %suse_version >= 1020
BuildRequires: python-gtk-devel
-%else
-BuildRequires: python-gtk
-%endif
-Requires: libnotify >= 0.3.0
-Requires: notification-daemon
%py_requires
%description
@@ -55,13 +47,16 @@
%setup -q -n "notify-python-%{version}"
%build
-CFLAGS="%{optflags}" \
-PYTHON="%__python" \
%configure
+# 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. This is needed to have Notification.attach_to_status_icon
+touch src/pynotify.override
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
+%fdupes $RPM_BUILD_ROOT/%{py_sitedir}
%clean
%__rm -rf "%{buildroot}"
@@ -75,6 +70,18 @@
%{_libdir}/pkgconfig/notify-python.pc
%changelog
+* Thu Mar 12 2009 vuntz@novell.com
+- Make sure we have the complete bindings: pynotify.c was not
+ regenerated for the tarball, so it's not up-to-date, and we have
+ to touch a file to have it regenerated.
+- Remove checks for old version of openSUSE.
+- Remove unneeded BuildRequires: dbus-1-glib-devel, gtk2-devel,
+ pkgconfig.
+- Remove libnotify from Requires: it will be added automatically.
+- Remove notification-daemon from Requires: it's not the job of the
+ binding to say so (libnotify already does it).
+- Remove definition of CFLAGS and PYTHON.
+- Use fdupes.
* Wed Sep 10 2008 vuntz@suse.de
- Push package done by Pascal Bleser