From 389f21a1d3674db6f3c1ab77a6a2822b88d6418e751e915459f1a9fb9c45986d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 7 Dec 2018 20:22:04 +0000 Subject: [PATCH 1/3] - Make this package also own %{python_sitelib}/sphinxcontrib directory, so it is properly owned. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=111 --- python-Sphinx-doc.spec | 2 +- python-Sphinx.changes | 6 ++++++ python-Sphinx.spec | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-Sphinx-doc.spec b/python-Sphinx-doc.spec index 2e50909..ade81ef 100644 --- a/python-Sphinx-doc.spec +++ b/python-Sphinx-doc.spec @@ -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/ # diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 553b4de..7f391fe 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -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 diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 12233b1..b394c62 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -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/ # @@ -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} From 7c01eef9e208df7119a3f5b4263fa7bb073ed5dbc259580b68fafa331700d7c9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 7 Dec 2018 20:40:34 +0000 Subject: [PATCH 2/3] Actually create that sphinxcontrib directory OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=112 --- python-Sphinx.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-Sphinx.spec b/python-Sphinx.spec index b394c62..bcf65e2 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -181,6 +181,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 From ae7ca0d951064f6d2b5d2661af9fa5df383a98339ed067fe92f05594815d0639 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 7 Dec 2018 20:57:37 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=113 --- python-Sphinx.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-Sphinx.spec b/python-Sphinx.spec index bcf65e2..6ff7f5e 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -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