diff --git a/python-sphinxcontrib-newsfeed.changes b/python-sphinxcontrib-newsfeed.changes index be8d863..172d9f0 100644 --- a/python-sphinxcontrib-newsfeed.changes +++ b/python-sphinxcontrib-newsfeed.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 18 22:29:06 UTC 2017 - toddrme2178@gmail.com + +- Use new python-sphinxcontrib package to provide namespace + directory. + ------------------------------------------------------------------- Mon Sep 18 20:36:57 UTC 2017 - toddrme2178@gmail.com diff --git a/python-sphinxcontrib-newsfeed.spec b/python-sphinxcontrib-newsfeed.spec index dc39439..93866d5 100644 --- a/python-sphinxcontrib-newsfeed.spec +++ b/python-sphinxcontrib-newsfeed.spec @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test +%bcond_without test %{!?license: %global license %doc} Name: python-sphinxcontrib-newsfeed Version: 0.1.4 @@ -27,12 +27,16 @@ License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/aio-libs/sphinxcontrib-newsfeed Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-newsfeed/sphinxcontrib-newsfeed-%{version}.tar.gz -BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module sphinxcontrib} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module Sphinx} +%endif Requires: python-Sphinx +Requires: python-sphinxcontrib BuildArch: noarch %python_subpackages @@ -59,7 +63,6 @@ Features: %files %{python_files} %doc README %license LICENSE -%dir %{python_sitelib}/sphinxcontrib/ %{python_sitelib}/sphinxcontrib/newsfeed.py* %pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/newsfeed*.py* %{python_sitelib}/sphinxcontrib_newsfeed-%{version}-py*-nspkg.pth