From 8e0f65a86182f482e09514e70b5040c110cb0ee42922f7b244e3d8e69fc21419 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 18 Sep 2017 21:44:46 +0000 Subject: [PATCH 1/2] Accepting request 527133 from home:TheBlackCat:branches:devel:languages:python - Specify files to guarantee namespace package doesn't conflict with python(2|3)-Sphinx OBS-URL: https://build.opensuse.org/request/show/527133 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-newsfeed?expand=0&rev=4 --- python-sphinxcontrib-newsfeed.changes | 6 ++++++ python-sphinxcontrib-newsfeed.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/python-sphinxcontrib-newsfeed.changes b/python-sphinxcontrib-newsfeed.changes index e82d119..be8d863 100644 --- a/python-sphinxcontrib-newsfeed.changes +++ b/python-sphinxcontrib-newsfeed.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 18 20:36:57 UTC 2017 - toddrme2178@gmail.com + +- Specify files to guarantee namespace package doesn't conflict + with python(2|3)-Sphinx + ------------------------------------------------------------------- Tue Sep 5 18:15:34 UTC 2017 - sebix+novell.com@sebix.at diff --git a/python-sphinxcontrib-newsfeed.spec b/python-sphinxcontrib-newsfeed.spec index a45064b..dc39439 100644 --- a/python-sphinxcontrib-newsfeed.spec +++ b/python-sphinxcontrib-newsfeed.spec @@ -27,6 +27,7 @@ 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: fdupes @@ -58,6 +59,10 @@ Features: %files %{python_files} %doc README %license LICENSE -%{python_sitelib}/* +%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 +%{python_sitelib}/sphinxcontrib_newsfeed-%{version}-py*.egg-info %changelog From e01149b07950f8507d67f594cca5ce663dde30c7d17c199e85fc78989c1bba0e Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 19 Sep 2017 03:07:05 +0000 Subject: [PATCH 2/2] 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