diff --git a/python-cairocffi.changes b/python-cairocffi.changes index 5940576..074c57f 100644 --- a/python-cairocffi.changes +++ b/python-cairocffi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 30 09:27:55 UTC 2022 - Markéta Machová + +- Avoid pulling in python-pikepdf in the stagings + ------------------------------------------------------------------- Thu Sep 29 08:06:36 UTC 2022 - Fabian Vogt diff --git a/python-cairocffi.spec b/python-cairocffi.spec index ba9370f..fba7f31 100644 --- a/python-cairocffi.spec +++ b/python-cairocffi.spec @@ -28,7 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/c/cairocffi/cairo Source1: https://raw.githubusercontent.com/Kozea/cairocffi/master/LICENSE BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module pikepdf} +# we don't want pikepdf in Ring1 stagings +#BuildRequires: %{python_module pikepdf} BuildRequires: %{python_module setuptools >= 39.2.0} BuildRequires: %{python_module xcffib >= 0.3.2} BuildRequires: cairo @@ -91,6 +92,8 @@ sed -i 's/^from \./from cairocffi./' tests/*.py %check cd tests/ +# test_cairo.py needs pikepdf, remove it +rm test_cairo.py # Switch off test_xcb_window (gh#Kozea/cairocffi#203) %python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" xvfb-run --server-args="-screen 0 1280x1024x16" $python -m pytest -k "not test_xcb_window" *.py