diff --git a/python-ZEO.changes b/python-ZEO.changes index a2bd889..5df25ba 100644 --- a/python-ZEO.changes +++ b/python-ZEO.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 25 11:55:40 UTC 2017 - toddrme2178@gmail.com + +- Fix doc package dependencies + ------------------------------------------------------------------- Mon Jul 17 17:56:44 UTC 2017 - toddrme2178@gmail.com diff --git a/python-ZEO.spec b/python-ZEO.spec index 36baad4..f1c7017 100644 --- a/python-ZEO.spec +++ b/python-ZEO.spec @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-ZEO Version: 5.1.0 Release: 0 @@ -27,13 +28,17 @@ Group: Development/Languages/Python Url: http://docs.pylonsproject.org Source: https://files.pythonhosted.org/packages/source/Z/ZEO/ZEO-%{version}.tar.gz Source99: %{name}-rpmlintrc +BuildRequires: %{python_module ZConfig} +BuildRequires: %{python_module ZODB >= 5.1.1} BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros # SECTION documentation requirements BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module ZConfig} -BuildRequires: %{python_module ZODB >= 4.0.0} # /SECTION -# SECTION testing requirements +%if %{with test} BuildRequires: %{python_module manuel} BuildRequires: %{python_module mock} BuildRequires: %{python_module msgpack-python} @@ -42,11 +47,11 @@ BuildRequires: %{python_module zodbpickle >= 0.6.0} BuildRequires: %{python_module zope.testing} BuildRequires: python-futures BuildRequires: python-trollius -# /SECTION -BuildRequires: fdupes -BuildRequires: python-rpm-macros +%endif Requires: python-ZConfig -Requires: python-ZODB >= 4.0.0 +Requires: python-ZODB >= 5.1.1 +Requires: python-six + Requires: python-persistent Requires: python-transaction %ifpython2 @@ -57,7 +62,6 @@ Requires: python-zdaemon Requires: python-zope.interface Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -68,7 +72,6 @@ ZEO provides a client-server storage implementation for ZODB. Summary: Client-Server storage implementation for ZODB Group: Development/Languages/Python Provides: %{python_module ZEO-doc = %{version}} -Requires: %{name} = %{version} %description -n %{name}-doc This package contains documentation files for %{name}. @@ -95,8 +98,10 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %python_clone -a %{buildroot}%{_bindir}/zeopack %python_clone -a %{buildroot}%{_bindir}/zeo-nagios +%if %{with test} %check %python_exec setup.py test +%endif %post %python_install_alternative runzeo zeoctl zeopack zeo-nagios