rpms/notify-python/F-8 notify-python.spec,1.3,1.4 sources,1.2,1.3

John Dennis (jdennis) fedora-extras-commits at redhat.com
Fri Feb 1 18:31:13 UTC 2008


Author: jdennis

Update of /cvs/pkgs/rpms/notify-python/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17240

Modified Files:
	notify-python.spec sources 
Log Message:
upgrade to latest upstream, build for F8



Index: notify-python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/notify-python/F-8/notify-python.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- notify-python.spec	7 Dec 2006 18:42:46 -0000	1.3
+++ notify-python.spec	1 Feb 2008 18:30:34 -0000	1.4
@@ -1,21 +1,20 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           notify-python
-Version:        0.1.0
-Release: 4%{?dist}
+Version:        0.1.1
+Release: 2%{?dist}
 Summary:        Python bindings for libnotify
 
 Group:          Development/Languages
 License:        LGPL
 URL:            http://www.galago-project.org/specs/notification
 Source0:        http://www.galago-project.org/files/releases/source/notify-python/notify-python-%{version}.tar.gz
-Patch0:         %{name}-%{version}-attach_to_status_icon.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  python-devel, pkgconfig, libnotify-devel, pygtk2-devel
 BuildRequires:  gtk2-devel, dbus-devel, dbus-glib-devel
 
-Requires:   libnotify >= 0.4.0
+Requires:   libnotify >= 0.4.3
 Requires:   notification-daemon
 
 %define pypkgname pynotify
@@ -25,19 +24,20 @@
 
 %prep
 %setup -q
-%patch0
+
+# 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
 
 %build
 CFLAGS="$RPM_OPT_FLAGS"
 PYTHON=%{__python}
 %configure
+touch src/pynotify.override
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
-# remove unnecessary pkgconfig file
-rm $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/%{name}.pc
 # remove unnecessary la file
 rm $RPM_BUILD_ROOT/%{python_sitearch}/gtk-2.0/%{pypkgname}/_%{pypkgname}.la
 
@@ -50,8 +50,17 @@
 %doc
 %{python_sitearch}/gtk-2.0/%{pypkgname}
 %{_datadir}/pygtk/2.0/defs/%{pypkgname}.defs
+%{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Fri Jan  4 2008  <jdennis at redhat.com> - 0.1.1-2
+- Resolves bug# 427499: attach_to_status_icon not created
+  force regeneration of pynotify.c
+
+* Wed Jan  2 2008 John Dennis <jdennis at redhat.com> - 0.1.1-1
+- upgrade to current upstream
+- no longer remove package config file (notify-python.pc), resolves bug #427001
+
 * Thu Dec  7 2006 Jeremy Katz <katzj at redhat.com> - 0.1.0-4
 - rebuild for python 2.5
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/notify-python/F-8/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	20 Jul 2006 21:07:11 -0000	1.2
+++ sources	1 Feb 2008 18:30:34 -0000	1.3
@@ -1 +1 @@
-c1f6be76a8349af084edd292b0a7f122  notify-python-0.1.0.tar.gz
+8f0ef0939cc8edd2efd896ce5ba80cf4  notify-python-0.1.1.tar.gz




More information about the fedora-extras-commits mailing list