Accepting request 527075 from home:TheBlackCat:branches:devel:languages:python
- Fix conflicts with python-Sphinx OBS-URL: https://build.opensuse.org/request/show/527075 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-asyncio?expand=0&rev=3
This commit is contained in:
parent
8b4227cdd0
commit
3769604cc9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 18 16:33:47 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix conflicts with python-Sphinx
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 24 10:04:34 UTC 2017 - sebix+novell.com@sebix.at
|
Thu Aug 24 10:04:34 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
%bcond_with test
|
||||||
Name: python-sphinxcontrib-asyncio
|
Name: python-sphinxcontrib-asyncio
|
||||||
Version: 0.2.0
|
Version: 0.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -30,11 +30,10 @@ BuildRequires: %{python_module devel}
|
|||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
# SECTION test requirements
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
Requires: python-Sphinx
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -56,8 +55,16 @@ popd
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
# Remove sphinxcontrib namespace package files provided by python-Sphinx
|
||||||
|
%python_expand rm -f %{buildroot}%{$python_sitelib}/sphinxcontrib/__init__.py*
|
||||||
|
%python_expand rm -f %{buildroot}%{$python_sitelib}/sphinxcontrib/__pycache__/__init__*.py*
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.rst README.rst docs/_build/html
|
%doc CHANGES.rst README.rst docs/_build/html
|
||||||
%{python_sitelib}/*
|
%dir %{python_sitelib}/sphinxcontrib/
|
||||||
|
%{python_sitelib}/sphinxcontrib/asyncio.py*
|
||||||
|
%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__/
|
||||||
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/asyncio*.py*
|
||||||
|
%{python_sitelib}/sphinxcontrib_asyncio-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user