[gnome-clocks] pycairo is python3-cairo in python3 land

Yanko Kaneti yaneti at fedoraproject.org
Wed Feb 6 02:46:07 UTC 2013


commit ffc0021cc8ca4de96d0814f4863465259ca3f022
Author: Yanko Kaneti <yaneti at declera.com>
Date:   Wed Feb 6 04:45:58 2013 +0200

    pycairo is python3-cairo in python3 land

 gnome-clocks.spec |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/gnome-clocks.spec b/gnome-clocks.spec
index 7a739f2..7722687 100644
--- a/gnome-clocks.spec
+++ b/gnome-clocks.spec
@@ -1,6 +1,6 @@
 Name:           gnome-clocks
 Version:        0.1.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Clock application designed for GNOME 3
 
 License:        GPLv2+
@@ -10,19 +10,29 @@ Source0:        http://download.gnome.org/sources/gnome-clocks/0.1/%{name}-%{ver
 # https://bugzilla.gnome.org/show_bug.cgi?id=693234
 Patch1:         gnome-clocks-0.1.6-desktop-keywords.patch
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=693235
+Patch2:         gnome-clocks-0.1.6-py3cairo.patch
+# for patch2
+BuildRequires:  automake autoconf
+
 BuildArch:      noarch
 BuildRequires:  python3-devel
 BuildRequires:  intltool desktop-file-utils glib2-devel
-BuildRequires:  pygobject3-devel pycairo-devel
-Requires:       pygobject3 clutter-gtk libgweather gnome-desktop3 libnotify pycairo
+BuildRequires:  pygobject3-devel python3-cairo-devel
+Requires:       pygobject3 clutter-gtk libgweather gnome-desktop3 libnotify python3-cairo
 Requires:       pycanberra
 
+
+
 %description
 Clock application designed for GNOME 3
 
 %prep
 %setup -q
 %patch1 -p1 -b .desktop-keywords
+%patch2 -p1 -b .py3cairo
+autoreconf -fi
+intltoolize --force
 
 %build
 %configure
@@ -60,6 +70,9 @@ fi
 
 
 %changelog
+* Wed Feb  6 2013 Yanko Kaneti <yaneti at declera.com> - 0.1.6-2
+- pycairo is python3-cairo in python3 land.
+
 * Wed Feb  6 2013 Yanko Kaneti <yaneti at declera.com> - 0.1.6-1
 - Update to 0.1.6. Handle the move to autotools.
 


More information about the scm-commits mailing list