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 Wed Apr 12 19:01:15 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-cairocffi # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 cffi >= 0.6}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xcffib >= 0.3.2}
BuildRequires: cairo BuildRequires: cairo
BuildRequires: gdk-pixbuf BuildRequires: gdk-pixbuf
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: cairo Requires: cairo
Requires: python
Requires: python-cffi >= 0.6 Requires: python-cffi >= 0.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-xcffib >= 0.3.2
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -66,8 +68,7 @@ This package provides the optional gdk-pixbuf image loader module.
%install %install
%python_install %python_install
%files %python_files %files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE CHANGES README.rst %doc LICENSE CHANGES README.rst
%{python_sitelib}/cairocffi-%{version}-py*.egg-info %{python_sitelib}/cairocffi-%{version}-py*.egg-info
%{python_sitelib}/cairocffi/ %{python_sitelib}/cairocffi/
@ -79,7 +80,6 @@ This package provides the optional gdk-pixbuf image loader module.
%endif %endif
%files %{python_files pixbuf} %files %{python_files pixbuf}
%defattr(-,root,root,-)
%{python_sitelib}/cairocffi/pixbuf.py* %{python_sitelib}/cairocffi/pixbuf.py*
%{python_sitelib}/cairocffi/test_pixbuf.py* %{python_sitelib}/cairocffi/test_pixbuf.py*
%ifpycache %ifpycache