Hello community,

here is the log from the commit of package python-Sphinx for openSUSE:Factory 
checked in at 2017-08-06 11:27:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-Sphinx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Sphinx"

Sun Aug  6 11:27:57 2017 rev:40 rq:512791 version:1.6.3

Changes:
--------
New Changes file:

--- /dev/null   2017-07-20 07:30:00.335470106 +0200
+++ /work/SRC/openSUSE:Factory/.python-Sphinx.new/python-Sphinx-doc.changes     
2017-08-06 11:27:59.896914753 +0200
@@ -0,0 +1,835 @@
+-------------------------------------------------------------------
+Mon Jul 24 19:11:52 UTC 2017 - toddrme2...@gmail.com
+
+- Split documentation into subpackage to avoid dependency loops.
+- Only require python3-typing for python3 < 3.5
+
+-------------------------------------------------------------------
+Mon Jul  3 13:45:38 UTC 2017 - tbecht...@suse.com
+
+- update to 1.6.3:
+  * #3821: Failed to import sphinx.util.compat with docutils-0.14rc1
+  * #3829: sphinx-quickstart template is incomplete regarding use of alabaster
+  * #3772: 'str object' has no attribute 'filename'
+  * Emit wrong warnings if citation label includes hyphens (refs: #3565)
+  * #3858: Some warnings are not colored when using --color option
+  * #3775: Remove unwanted whitespace in default template
+  * #3835: sphinx.ext.imgmath fails to convert SVG images if project directory
+  name contains spaces
+  * #3850: Fix color handling in make mode's help command
+  * #3865: use of self.env.warn in sphinx extension fails
+  * #3824: production lists apply smart quotes transform since Sphinx 1.6.1
+  * latex: fix ``\sphinxbfcode`` swallows initial space of argument
+  * #3878: Quotes in auto-documented class attributes should be straight quotes
+  in PDF output
+  * #3881: LaTeX figure floated to next page sometimes leaves extra vertical
+  whitespace
+  * #3885: duplicated footnotes raises IndexError
+  * #3873: Failure of deprecation warning mechanism of
+  ``sphinx.util.compat.Directive``
+  * #3874: Bogus warnings for "citation not referenced" for cross-file 
citations
+  * #3860: Don't download images when builders not supported images
+  * #3860: Remote image URIs without filename break builders not supported 
remote
+  images
+  * #3833: command line messages are translated unintentionally with 
``language``
+  setting.
+  * #3840: make checking ``epub_uid`` strict
+  * #3851, #3706: Fix about box drawing characters for PDF output
+  * #3900: autosummary could not find methods
+  * #3902: Emit error if ``latex_documents`` contains non-unicode string in py2
+
+-------------------------------------------------------------------
+Fri Jun 30 06:54:21 UTC 2017 - tbecht...@suse.com
+
+- python-sphinxcontrib-websupport is a Requires
+
+-------------------------------------------------------------------
+Thu Jun 29 15:44:02 UTC 2017 - tbecht...@suse.com
+
+- Adjust Requires
+
+-------------------------------------------------------------------
+Fri Jun 23 18:04:59 UTC 2017 - tbecht...@suse.com
+
+- update to 1.6.2:
+  * See http://www.sphinx-doc.org/en/stable/changes.html
+- Adjust Requires and BuildRequires
+- Add disable-test.patch to disable test which needs remote access.
+
+-------------------------------------------------------------------
+Mon May  8 15:38:53 UTC 2017 - toddrme2...@gmail.com
+
+- Fix update-alternatives.
+
+-------------------------------------------------------------------
+Fri May  5 14:55:31 UTC 2017 - toddrme2...@gmail.com
+
+- Fix old obsoletes/provides.
+
+-------------------------------------------------------------------
+Mon Feb 20 14:18:17 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+- run tests for all python versions
+- include python-enum34 for test compatibility
+
+-------------------------------------------------------------------
+Thu Feb 16 11:18:38 UTC 2017 - tbecht...@suse.com
+
+- update to 1.5.2:
+  * See http://www.sphinx-doc.org/en/stable/changes.html
+- Adjust Requires and BuildRequires
+
+-------------------------------------------------------------------
+Mon Feb 29 16:07:44 UTC 2016 - mich...@stroeder.com
+
+- Removed obsolete fix_some_testcase_error_with_pygments-2.1.1.patch
+- update to version 1.3.6:
+  * #1873, #1876, #2278: Add ``page_source_suffix`` html context variable. 
This should be
+    introduced with :confval:`source_parsers` feature. Thanks for Eric 
Holscher.
+  * #2265: Fix babel is used in spite of disabling it on ``latex_elements``
+  * #2295: Avoid mutating dictionary errors while enumerating members in 
autodoc
+    with Python 3
+  * #2291: Fix pdflatex "Counter too large" error from footnotes inside tables 
of contents
+  * #2292: Fix some footnotes disappear from LaTeX output
+  * #2287: ``sphinx.transforms.Locale`` always uses rst parser. Sphinx i18n 
feature should
+    support parsers that specified source_parsers.
+  * #2290: Fix ``sphinx.ext.mathbase`` use of amsfonts may break user choice 
of math fonts
+  * #2324: Print a hint how to increase the recursion limit when it is hit.
+  * #1565, #2229: Revert new warning; the new warning will be triggered from 
version 1.4 on.
+  * #2329: Refresh environment forcely if source directory has changed.
+  * #2019: Fix the domain objects in search result are not escaped
+
+-------------------------------------------------------------------
+Wed Feb 17 09:10:17 UTC 2016 - toddrme2...@gmail.com
+
+- Add fix_some_testcase_error_with_pygments-2.1.1.patch
+  Fixes tests with python-Pygments 2.1.1.
+  Should be in next release.
+  See 
https://github.com/sphinx-doc/sphinx/commit/50f4862b069d58ade556aad90bd179206f10fdc1
+- Add additional latex requirements.
+
+-------------------------------------------------------------------
+Mon Jan 25 10:56:43 UTC 2016 - mich...@stroeder.com
+
+- requires python-pygments => 2.1
+- update to version 1.3.5:
+  * Fix line numbers was not shown on warnings in LaTeX and texinfo
+    builders
+  * Fix filenames were not shown on warnings of citations
+  * Fix line numbers was not shown on warnings in LaTeX and texinfo
+    builders
+  * Fix line numbers was not shown on warnings of indecies
+  * #2026: Fix LaTeX builder rais error if parsed-literal includes
+     links
+  * #2243: Ignore strange docstring types for classes, do not crash
+  * #2247: Fix #2205 breaks make html for definition list with
+     classifiers that contains regular-expression like string
+  * #1565: Show warning if Pygments throws an ErrorToken
+  * #2211: Fix paragraphs in table cell doesn't work in Latex output
+  * #2253: ":pyobject:" option of "literalinclude" directive can't
+     detect indented body block when the block starts with blank or
+     comment lines.
+  * Fix TOC is not shown when no ":maxdepth:" for toctrees (ref: #771)
+  * Fix warning message for ":numref:" if target is in orphaned doc
+    (ref: #2244)
+
+-------------------------------------------------------------------
+Tue Jan 12 16:35:16 UTC 2016 - mich...@stroeder.com
+
+- Update to 1.3.4
+
+Release 1.3.4 (released Jan 12, 2016)[51]
+  * #2134: Fix figure caption with reference causes latex build error
+  * #2094: Fix rubric with reference not working in Latex
+  * #2147: Fix litralinclude code in latex does not break in pages
+  * #1833: Fix email addresses is showed again if latex_show_urls is
+   not None
+  * #2176: sphinx.ext.graphviz: use <object> instead of <img> to embed
+   svg
+  * #967: Fix SVG inheritance diagram is not hyperlinked (clickable)
+  * #1237: Fix footnotes not working in definition list in LaTeX
+  * #2168: Fix raw directive does not work for text writer
+  * #2171: Fix cannot linkcheck url with unicode
+  * #2182: LaTeX: support image file names with more than 1 dots
+  * #2189: Fix previous sibling link for first file in subdirectory
+   uses last file, not intended previous from root toctree
+  * #2003: Fix decode error under python2 (only) when make linkcheck is
+   run
+  * #2186: Fix LaTeX output of mathbb in math
+  * #1480, #2188: LaTeX: Support math in section titles
+  * #2071: Fix same footnote in more than two section titles =>
+   LaTeX/PDF Bug
+  * #2040: Fix UnicodeDecodeError in sphinx-apidoc when author contains
+   non-ascii characters
+  * #2193: Fix shutil.SameFileError if source directory and destination
+   directory are same
+  * #2178: Fix unparseable C++ cross-reference when referencing a
+   function with :cpp:any:
+  * #2206: Fix Sphinx latex doc build failed due to a footnotes
+  * #2201: Fix wrong table caption for tables with over 30 rows
+  * #2213: Set <blockquote> in the classic theme to fit with <p>
+  * #1815: Fix linkcheck does not raise an exception if warniserror set
+   to true and link is broken
+  * #2197: Fix slightly cryptic error message for missing index.rst
+   file
+  * #1894: Unlisted phony targets in quickstart Makefile
+  * #2125: Fix unifies behavior of collapsed fields (GroupedField and
+   TypedField)
+  * #1408: Check latex_logo validity before copying
+  * #771: Fix latex output doesn’t set tocdepth
+  * #1820: On Windows, console coloring is broken with colorama version
+   0.3.3. Now sphinx use colorama>=0.3.5 to avoid this problem.
+  * #2072: Fix footnotes in chapter-titles do not appear in PDF output
+  * #1580: Fix paragraphs in longtable don’t work in Latex output
+  * #1366: Fix centered image not centered in latex
+  * #1860: Fix man page using :samp: with braces - font doesn’t reset
+  * #1610: Sphinx crashes in japanese indexing in some systems
+  * Fix Sphinx crashes if mecab initialization failed
+  * #2160: Fix broken TOC of PDFs if section includes an image
+  * #2172: Fix dysfunctional admonition [53]py@lightbox in sphinx.sty.
+   Thanks to jfbu.
+  * #2198,#2205: make gettext generate broken msgid for definition
+   lists.
+  * #2062: Escape characters in doctests are treated incorrectly with
+   Python 2.
+  * #2225: Fix if the option does not begin with dash, linking is not
+   performed
++++ 638 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.python-Sphinx.new/python-Sphinx-doc.changes
--- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes      
2017-05-16 14:29:55.675492245 +0200
+++ /work/SRC/openSUSE:Factory/.python-Sphinx.new/python-Sphinx.changes 
2017-08-06 11:27:59.924910809 +0200
@@ -1,0 +2,58 @@
+Mon Jul 24 19:11:52 UTC 2017 - toddrme2...@gmail.com
+
+- Split documentation into subpackage to avoid dependency loops.
+- Only require python3-typing for python3 < 3.5
+
+-------------------------------------------------------------------
+Mon Jul  3 13:45:38 UTC 2017 - tbecht...@suse.com
+
+- update to 1.6.3:
+  * #3821: Failed to import sphinx.util.compat with docutils-0.14rc1
+  * #3829: sphinx-quickstart template is incomplete regarding use of alabaster
+  * #3772: 'str object' has no attribute 'filename'
+  * Emit wrong warnings if citation label includes hyphens (refs: #3565)
+  * #3858: Some warnings are not colored when using --color option
+  * #3775: Remove unwanted whitespace in default template
+  * #3835: sphinx.ext.imgmath fails to convert SVG images if project directory
+  name contains spaces
+  * #3850: Fix color handling in make mode's help command
+  * #3865: use of self.env.warn in sphinx extension fails
+  * #3824: production lists apply smart quotes transform since Sphinx 1.6.1
+  * latex: fix ``\sphinxbfcode`` swallows initial space of argument
+  * #3878: Quotes in auto-documented class attributes should be straight quotes
+  in PDF output
+  * #3881: LaTeX figure floated to next page sometimes leaves extra vertical
+  whitespace
+  * #3885: duplicated footnotes raises IndexError
+  * #3873: Failure of deprecation warning mechanism of
+  ``sphinx.util.compat.Directive``
+  * #3874: Bogus warnings for "citation not referenced" for cross-file 
citations
+  * #3860: Don't download images when builders not supported images
+  * #3860: Remote image URIs without filename break builders not supported 
remote
+  images
+  * #3833: command line messages are translated unintentionally with 
``language``
+  setting.
+  * #3840: make checking ``epub_uid`` strict
+  * #3851, #3706: Fix about box drawing characters for PDF output
+  * #3900: autosummary could not find methods
+  * #3902: Emit error if ``latex_documents`` contains non-unicode string in py2
+
+-------------------------------------------------------------------
+Fri Jun 30 06:54:21 UTC 2017 - tbecht...@suse.com
+
+- python-sphinxcontrib-websupport is a Requires
+
+-------------------------------------------------------------------
+Thu Jun 29 15:44:02 UTC 2017 - tbecht...@suse.com
+
+- Adjust Requires
+
+-------------------------------------------------------------------
+Fri Jun 23 18:04:59 UTC 2017 - tbecht...@suse.com
+
+- update to 1.6.2:
+  * See http://www.sphinx-doc.org/en/stable/changes.html
+- Adjust Requires and BuildRequires
+- Add disable-test.patch to disable test which needs remote access.
+
+-------------------------------------------------------------------

Old:
----
  Sphinx-1.5.2.tar.gz

New:
----
  Sphinx-1.6.3.tar.gz
  disable-test.patch
  python-Sphinx-doc.changes
  python-Sphinx-doc.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Sphinx-doc.spec ++++++
#
# spec file for package python-Sphinx-doc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:           python-Sphinx-doc
Version:        1.6.3
Release:        0
Url:            http://sphinx-doc.org
Summary:        Documentation for python-Sphinx
License:        BSD-2-Clause
Group:          Documentation/Other
Source:         
https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch1:         disable-test.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes
BuildRequires:  python3-Sphinx
BuildRequires:  python-rpm-macros
Recommends:     %{name}-html = %{version}
BuildArch:      noarch

%python_subpackages

%description
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl.  It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.

Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.

This package contained the documentation for Sphinx.

%package man
Summary:        Man files for python-Sphinx
Group:          Documentation/Man
Requires:       python-Sphinx = %{version}
Requires:       %{name}-man-common = %{version}
Requires(post): update-alternatives
Requires(postun): update-alternatives

%description man
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl.  It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.

Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.

This package contained the manual pages for the Sphinx executables.

%package -n %{name}-html
Summary:        HTML Documentation for python-Sphinx
Group:          Documentation/HTML
Provides:       %{python_module Sphinx-doc-html = %{version}}

%description -n %{name}-html
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl.  It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.

Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.

This package contained the HTML documentation for Sphinx.

%package -n %{name}-man-common
Summary:        Man files for python-Sphinx - python-independent versions
Group:          Documentation/Man
Provides:       %{python_module Sphinx-doc-man-common = %{version}}

%description -n %{name}-man-common
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl.  It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.

Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.

This package contained the python version-independent manual pages for the
Sphinx executables.

%prep
%setup -q -n Sphinx-%{version}
%patch1 -p1

%build
# build documentation
%{_python_use_flavor python3}

mkdir build.doc

%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%__python3 setup.py build_sphinx -b man

mv build/sphinx/{html,man} build.doc/

%install
install -d %{buildroot}%{_docdir}/python-Sphinx/
install -d %{buildroot}%{_mandir}/man1/

mv build.doc/html %{buildroot}%{_docdir}/python-Sphinx/

mv build.doc/man/sphinx-all.1 %{buildroot}%{_mandir}/man1/sphinx-all.1
mv build.doc/man/sphinx-apidoc.1 %{buildroot}%{_mandir}/man1/sphinx-apidoc.1
mv build.doc/man/sphinx-build.1 %{buildroot}%{_mandir}/man1/sphinx-build.1
mv build.doc/man/sphinx-quickstart.1 
%{buildroot}%{_mandir}/man1/sphinx-quickstart.1

%python_clone %{buildroot}%{_mandir}/man1/sphinx-all.1
%python_clone %{buildroot}%{_mandir}/man1/sphinx-apidoc.1
%python_clone %{buildroot}%{_mandir}/man1/sphinx-build.1
%python_clone %{buildroot}%{_mandir}/man1/sphinx-quickstart.1

%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS LICENSE EXAMPLES

%files %{python_files man}
%defattr(-,root,root,-)
%doc AUTHORS LICENSE
%{_mandir}/man1/sphinx-all-%{python_bin_suffix}.1%ext_man
%{_mandir}/man1/sphinx-apidoc-%{python_bin_suffix}.1%ext_man
%{_mandir}/man1/sphinx-build-%{python_bin_suffix}.1%ext_man
%{_mandir}/man1/sphinx-quickstart-%{python_bin_suffix}.1%ext_man

%files -n %{name}-html
%defattr(-,root,root,-)
%doc AUTHORS LICENSE
%dir %{_docdir}/python-Sphinx/
%{_docdir}/python-Sphinx/html/

%files -n %{name}-man-common
%defattr(-,root,root,-)
%doc AUTHORS LICENSE
%{_mandir}/man1/sphinx-all.1%ext_man
%{_mandir}/man1/sphinx-apidoc.1%ext_man
%{_mandir}/man1/sphinx-build.1%ext_man
%{_mandir}/man1/sphinx-quickstart.1%ext_man

%changelog
++++++ python-Sphinx.spec ++++++
--- /var/tmp/diff_new_pack.Yu8jxC/_old  2017-08-06 11:28:01.600674724 +0200
+++ /var/tmp/diff_new_pack.Yu8jxC/_new  2017-08-06 11:28:01.684662891 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-Sphinx
+# spec file for package python-Sphinx-doc
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -25,47 +25,42 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-Sphinx
-Version:        1.5.2
+Version:        1.6.3
 Release:        0
 Url:            http://sphinx-doc.org
 Summary:        Python documentation generator
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Source:         
https://pypi.io/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
+Patch1:         disable-test.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# SECTION documentation requirements
-BuildRequires:  %{python_module Babel >= 1.3}
-BuildRequires:  %{python_module Jinja2 >= 2.3}
-BuildRequires:  %{python_module Pygments >= 2.1}
-BuildRequires:  %{python_module alabaster >= 0.7}
-BuildRequires:  %{python_module docutils >= 0.11}
-BuildRequires:  %{python_module imagesize}
-BuildRequires:  %{python_module requests >= 2.4}
-BuildRequires:  %{python_module six >= 1.5}
-BuildRequires:  %{python_module snowballstemmer >= 1.1}
-BuildRequires:  %{python_module sphinx_rtd_theme}
-# ENDSECTION doc requirements
-# SECTION testsuite requirements
-BuildRequires:  %{python_module html5lib}
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest}
-# ENDSECTION
-# for python 2 only:
-BuildRequires:  python-enum34
 Requires:       python-Babel >= 1.3
 Requires:       python-Jinja2 >= 2.3
 Requires:       python-Pygments >= 2.0
 Requires:       python-alabaster >= 0.7
 Requires:       python-docutils >= 0.11
 Requires:       python-imagesize
-Requires:       python-requests >= 2.4
+Requires:       python-requests >= 2.0.0
 Requires:       python-six >= 1.5
 Requires:       python-snowballstemmer >= 1.1
 Requires:       python-sphinx_rtd_theme
+Requires:       python-sphinxcontrib-websupport
+Recommends:     python-SQLAlchemy >= 0.9
+Recommends:     python-Whoosh >= 2.0
+Recommends:     %{name}-doc-man
+%ifpython2
+Requires:       python-enum34
+Requires:       python-typing
+%endif
+%ifpython3
+%if %{python3_version_nodots} < 35
+Requires:       python-typing
+%endif
+%endif
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 
@@ -95,23 +90,6 @@
 come from the power and straightforwardness of reStructuredText and its parsing
 and translating suite, the Docutils.
 
-%package     -n %{name}-doc
-Summary:        Documentation for %{name}
-Group:          Documentation/Other
-Provides:       %{python_module Sphinx-doc = %{version}}
-
-%description -n %{name}-doc
-Sphinx is a tool that makes it easy to create intelligent and beautiful
-documentation for Python projects (or other documents consisting of multiple
-reStructuredText sources), written by Georg Brandl.  It was originally created
-for the new Python documentation, and has excellent facilities for Python
-project documentation, but C/C++ is supported as well, and more languages are
-planned.
-
-Sphinx uses reStructuredText as its markup language, and many of its strengths
-come from the power and straightforwardness of reStructuredText and its parsing
-and translating suite, the Docutils.
-
 %package latex
 Summary:        Sphinx packages for LaTeX
 Group:          Productivity/Publishing/TeX/Base
@@ -192,53 +170,26 @@
 
 %prep
 %setup -q -n Sphinx-%{version}
+%patch1 -p1
 
-rm -r sphinx/locale/__init__.pyc # drop shipped garbage
 sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
 sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line 
encoding
 
 %build
-# build library
 %python_build
 
-# build documentation
-%{_python_use_flavor python3}
-mkdir build.doc
-%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
-%__python3 setup.py build_sphinx -b man
-mv build/sphinx/{html,man} build.doc
-
 %install
 %python_install
 
-install -d %{buildroot}%{_mandir}/man1/
-
-mv build.doc/man/sphinx-all.1 %{buildroot}%{_mandir}/man1/sphinx-all.1
-mv build.doc/man/sphinx-apidoc.1 %{buildroot}%{_mandir}/man1/sphinx-apidoc.1
-mv build.doc/man/sphinx-build.1 %{buildroot}%{_mandir}/man1/sphinx-build.1
-mv build.doc/man/sphinx-quickstart.1 
%{buildroot}%{_mandir}/man1/sphinx-quickstart.1
-
 %python_clone -a %{buildroot}%{_bindir}/sphinx-apidoc
 %python_clone -a %{buildroot}%{_bindir}/sphinx-autogen
 %python_clone -a %{buildroot}%{_bindir}/sphinx-build
 %python_clone -a %{buildroot}%{_bindir}/sphinx-quickstart
 
-%python_clone -a %{buildroot}%{_mandir}/man1/sphinx-all.1
-%python_clone -a %{buildroot}%{_mandir}/man1/sphinx-apidoc.1
-%python_clone -a %{buildroot}%{_mandir}/man1/sphinx-build.1
-%python_clone -a %{buildroot}%{_mandir}/man1/sphinx-quickstart.1
-
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%check
-export PYTHONPATH=$PWD
-export LANG=en_US.UTF-8
-# exclude online-only linkcheck test
-export EXCLUDES="--ignore=test_build_linkcheck.py"
-%{python_expand make test PYTHON=%__$python TEST="$EXCLUDES"}
-
 %post
-%{python_install_alternative sphinx-apidoc sphinx-autogen sphinx-build 
sphinx-quickstart sphinx-all.1%ext_man sphinx-apidoc.1%ext_man 
sphinx-build.1%ext_man sphinx-quickstart.1%ext_man}
+%{python_install_alternative sphinx-apidoc sphinx-autogen sphinx-build 
sphinx-quickstart}
 
 %postun
 %python_uninstall_alternative sphinx-apidoc
@@ -250,21 +201,12 @@
 %python_alternative %{_bindir}/sphinx-autogen
 %python_alternative %{_bindir}/sphinx-build
 %python_alternative %{_bindir}/sphinx-quickstart
-%python_alternative %{_mandir}/man1/sphinx-all.1%ext_man
-%python_alternative %{_mandir}/man1/sphinx-apidoc.1%ext_man
-%python_alternative %{_mandir}/man1/sphinx-build.1%ext_man
-%python_alternative %{_mandir}/man1/sphinx-quickstart.1%ext_man
 %{python_sitelib}/sphinx/
 %if %{with latex}
 %exclude %{python_sitelib}/sphinx/texinputs/
 %endif
 %{python_sitelib}/Sphinx-%{version}-py*.egg-info
 
-%files -n %{name}-doc
-%defattr(-,root,root,-)
-%doc AUTHORS LICENSE EXAMPLES
-%doc build.doc/html/
-
 # Requirements are not available on SLES
 %if %{with latex}
 %files %{python_files latex}

++++++ Sphinx-1.5.2.tar.gz -> Sphinx-1.6.3.tar.gz ++++++
++++ 129580 lines of diff (skipped)

++++++ disable-test.patch ++++++
Index: python-Sphinx/Sphinx-1.6.2/tests/test_build_latex.py
===================================================================
--- Sphinx-1.6.2/tests/test_build_latex.py
+++ Sphinx-1.6.2/tests/test_build_latex.py
@@ -1011,6 +1011,7 @@ def test_latex_raw_directive(app, status
 
 
 @pytest.mark.sphinx('latex', testroot='images')
+@pytest.mark.skip(reason="no remote access in OBS")
 def test_latex_remote_images(app, status, warning):
     app.builder.build_all()
 

Reply via email to