[pycairo] "new" upstream release 1.10.0

David Tardon dtardon at fedoraproject.org
Mon Nov 17 17:42:24 UTC 2014


commit 8a362547a7abb9b6c8533ef87ad49a3c4baa4434
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Nov 17 18:34:53 2014 +0100

    "new" upstream release 1.10.0

 pycairo.spec |   18 ++++++++++++++----
 sources      |    2 +-
 2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/pycairo.spec b/pycairo.spec
index e4ed532..9c94dba 100644
--- a/pycairo.spec
+++ b/pycairo.spec
@@ -1,15 +1,18 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name: pycairo
-Version: 1.8.10
-Release: 12%{?dist}
+Version: 1.10.0
+Release: 1%{?dist}
 License: MPLv1.1 or LGPLv2
 Group: Development/Languages
 Summary: Python bindings for the cairo library
 URL: http://cairographics.org/pycairo
-Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz
+Source: http://cairographics.org/releases/py2cairo-%{version}.tar.bz2
 
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: cairo-devel
+BuildRequires: libtool
 BuildRequires: libxcb-devel
 BuildRequires: pkgconfig
 BuildRequires: pytest
@@ -34,9 +37,13 @@ This package contains files required to build wrappers for cairo add-on
 libraries so that they interoperate with pycairo.
 
 %prep
-%setup -q
+%setup -q -n py2cairo-%{version}
+# fix broken tarball
+touch ChangeLog
 
 %build
+# fix broken tarball
+autoreconf -i
 %configure --enable-xcb --enable-xpyb
 make %{?_smp_mflags}
 
@@ -58,6 +65,9 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch} py.test
 %{_libdir}/pkgconfig/pycairo.pc
 
 %changelog
+* Sat Nov 15 2014 David Tardon <dtardon at redhat.com> - 1.10.0-1
+- "new" upstream release
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.10-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index b92067c..b2fdf23 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-87421a6a70304120555ba7ba238f3dc3  py2cairo-1.8.10.tar.gz
+20337132c4ab06c1146ad384d55372c5  py2cairo-1.10.0.tar.bz2


More information about the scm-commits mailing list