From 7573bf090b5d528a6c88d3643a0de64101adecc4efd57e222b5e3643831bea53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 27 Jan 2018 10:36:37 +0000 Subject: [PATCH] Accepting request 570150 from home:czerw:branches:devel:languages:python - Add xcffib support - Spec file cleaned OBS-URL: https://build.opensuse.org/request/show/570150 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=20 --- python-cairocffi.changes | 6 ++++++ python-cairocffi.spec | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-cairocffi.changes b/python-cairocffi.changes index 64ba70d..79d2247 100644 --- a/python-cairocffi.changes +++ b/python-cairocffi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 26 21:07:25 UTC 2018 - petr@cervinka.net + +- Add xcffib support +- Spec file cleaned + ------------------------------------------------------------------- Wed Apr 12 19:01:15 UTC 2017 - toddrme2178@gmail.com diff --git a/python-cairocffi.spec b/python-cairocffi.spec index ae0beca..1c27ea2 100644 --- a/python-cairocffi.spec +++ b/python-cairocffi.spec @@ -1,7 +1,7 @@ # # spec file for package python-cairocffi # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,12 +28,14 @@ Source: https://files.pythonhosted.org/packages/source/c/cairocffi/cairo BuildRequires: %{python_module cffi >= 0.6} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module xcffib >= 0.3.2} BuildRequires: cairo BuildRequires: gdk-pixbuf BuildRequires: python-rpm-macros Requires: cairo +Requires: python Requires: python-cffi >= 0.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-xcffib >= 0.3.2 BuildArch: noarch %python_subpackages @@ -66,8 +68,7 @@ This package provides the optional gdk-pixbuf image loader module. %install %python_install -%files %python_files -%defattr(-,root,root,-) +%files %{python_files} %doc LICENSE CHANGES README.rst %{python_sitelib}/cairocffi-%{version}-py*.egg-info %{python_sitelib}/cairocffi/ @@ -79,7 +80,6 @@ This package provides the optional gdk-pixbuf image loader module. %endif %files %{python_files pixbuf} -%defattr(-,root,root,-) %{python_sitelib}/cairocffi/pixbuf.py* %{python_sitelib}/cairocffi/test_pixbuf.py* %ifpycache