From e01149b07950f8507d67f594cca5ce663dde30c7d17c199e85fc78989c1bba0e Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 19 Sep 2017 03:07:05 +0000 Subject: [PATCH] Accepting request 527198 from home:TheBlackCat:branches:devel:languages:python - Use new python-sphinxcontrib package to provide namespace directory. OBS-URL: https://build.opensuse.org/request/show/527198 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-newsfeed?expand=0&rev=5 --- python-sphinxcontrib-newsfeed.changes | 6 ++++++ python-sphinxcontrib-newsfeed.spec | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) 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