diff --git a/python-six.changes b/python-six.changes index a03c2ad..ce70bc0 100644 --- a/python-six.changes +++ b/python-six.changes @@ -6,6 +6,8 @@ Mon Dec 10 09:20:52 CET 2018 - mcepl@suse.com original class. * Add `six.ensure_binary`, `six.ensure_text`, and `six.ensure_str`. +- Because of cyclical dependencies between six and Sphinx, we + need to to do multibuild. ------------------------------------------------------------------- Mon Sep 3 15:37:13 UTC 2018 - Hans-Peter Jansen diff --git a/python-six.spec b/python-six.spec index d0a636d..90e519c 100644 --- a/python-six.spec +++ b/python-six.spec @@ -38,8 +38,10 @@ License: MIT Group: Development/Libraries/Python URL: http://pypi.python.org/pypi/six/ Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz -BuildRequires: %{python_module base} +BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python2 +BuildRequires: python3 %if %{with test} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} @@ -60,7 +62,7 @@ Provides: %{python_module six-doc = %{version}} Summary: Documentation files for %name Group: Documentation/HTML -%description +%description -n python-six-doc Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on @@ -82,6 +84,7 @@ cd documentation && make html && rm _build/html/.buildinfo %install %if ! %{with test} %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check