forked from pool/python-zope.event
- 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:
committed by
Git OBS Bridge
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
|
Sat Jun 17 16:25:04 UTC 2017 - okurz@suse.com
|
||||||
|
|
||||||
|
@@ -31,14 +31,8 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# Documentation requirements:
|
# Documentation requirements:
|
||||||
%ifpython3
|
BuildRequires: python3-Sphinx
|
||||||
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
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-zope-event = %{version}
|
Provides: %{oldpython}-zope-event = %{version}
|
||||||
|
Reference in New Issue
Block a user