1
0

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
This commit is contained in:
Tomáš Chvátal 2018-01-27 10:36:37 +00:00 committed by Git OBS Bridge
parent c4a541aa5f
commit 7573bf090b
2 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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