- use only python3-Sphinx for doc build
- drop %sitelib redefinition which makes no sense with python-rpm-macros OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.event?expand=0&rev=11
This commit is contained in:
parent
48de3e12ee
commit
172b982e10
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 13:43:17 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- use only python3-Sphinx for doc build
|
||||
- drop %sitelib redefinition which makes no sense with python-rpm-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 17 16:25:04 UTC 2017 - okurz@suse.com
|
||||
|
||||
|
@ -31,14 +31,8 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Documentation requirements:
|
||||
%ifpython3
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
%endif
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%define oldpython python
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-zope-event = %{version}
|
||||
|
Loading…
Reference in New Issue
Block a user