Accepting request 657880 from devel:languages:python

Submit the fixed rev to TW, since the maintainer seems to be sleeping/afk; not blocking staging longer than needed

OBS-URL: https://build.opensuse.org/request/show/657880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2018-12-14 19:49:02 +00:00 committed by Git OBS Bridge
commit 818781c63f
3 changed files with 10 additions and 3 deletions

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 7 21:20:58 CET 2018 - mcepl@suse.com
- Make this package also own %{python_sitelib}/sphinxcontrib
directory, so it is properly owned.
-------------------------------------------------------------------
Wed Jul 18 15:28:39 UTC 2018 - mimi.vx@gmail.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -48,7 +48,6 @@ Requires: python-requests >= 2.0.0
Requires: python-six >= 1.5
Requires: python-snowballstemmer >= 1.1
Requires: python-sphinx_rtd_theme
Requires: python-sphinxcontrib
Requires: python-sphinxcontrib-websupport
Requires(post): update-alternatives
Requires(postun): update-alternatives
@ -181,6 +180,7 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
%python_clone -a %{buildroot}%{_bindir}/sphinx-build
%python_clone -a %{buildroot}%{_bindir}/sphinx-quickstart
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
@ -201,6 +201,7 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
%exclude %{python_sitelib}/sphinx/texinputs/
%endif
%{python_sitelib}/Sphinx-%{version}-py*.egg-info
%dir %{python_sitelib}/sphinxcontrib
# Requirements are not available on SLES
%if %{with latex}