From 172b982e10839c999e948398534beaa51f70a4a8cc5bc599f31159824dd1ae70 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 21 Jun 2017 13:44:28 +0000 Subject: [PATCH] - 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 --- python-zope.event.changes | 6 ++++++ python-zope.event.spec | 8 +------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/python-zope.event.changes b/python-zope.event.changes index e8963a5..104327f 100644 --- a/python-zope.event.changes +++ b/python-zope.event.changes @@ -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 diff --git a/python-zope.event.spec b/python-zope.event.spec index c446ce5..a9ca4a5 100644 --- a/python-zope.event.spec +++ b/python-zope.event.spec @@ -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}