- 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:
Jan Matejek 2017-06-21 13:44:28 +00:00 committed by Git OBS Bridge
parent 48de3e12ee
commit 172b982e10
2 changed files with 7 additions and 7 deletions

View File

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

View File

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