Hello community, here is the log from the commit of package translate-toolkit for openSUSE:Factory checked in at 2015-11-11 10:31:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/translate-toolkit (Old) and /work/SRC/openSUSE:Factory/.translate-toolkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "translate-toolkit" Changes: -------- --- /work/SRC/openSUSE:Factory/translate-toolkit/translate-toolkit.changes 2015-08-01 11:38:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.translate-toolkit.new/translate-toolkit.changes 2015-11-11 10:36:09.000000000 +0100 @@ -1,0 +2,15 @@ +Tue Nov 10 08:30:21 UTC 2015 - [email protected] + +- Fix documentation build (breaks in parallel build) + +------------------------------------------------------------------- +Tue Nov 10 08:16:27 UTC 2015 - [email protected] + +- python-six is required for build as well (for API docs) + +------------------------------------------------------------------- +Tue Nov 10 07:59:57 UTC 2015 - [email protected] + +- Remove Sphinx build cache before building docs + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ translate-toolkit.spec ++++++ --- /var/tmp/diff_new_pack.Ww4Z1z/_old 2015-11-11 10:36:10.000000000 +0100 +++ /var/tmp/diff_new_pack.Ww4Z1z/_new 2015-11-11 10:36:10.000000000 +0100 @@ -38,6 +38,7 @@ BuildRequires: python-lxml-doc BuildRequires: python-pyenchant BuildRequires: python-pytest +BuildRequires: python-six BuildRequires: python-utidy BuildRequires: python-xml Requires: gettext-runtime @@ -94,21 +95,24 @@ # fix for bnc#750652 - remove Apache-2.0 file - difflib is the fallback solution rm translate/misc/diff_match_patch.py* +# Remove build cache (causes problems with different Sphinx and/or architecture) +rm -rf docs/_build + #Fix for shebang errors: for lib in translate/{*.py,*/*.py,*/*/*.py}; do sed -i '\|%{_bindir}/env |d' $lib done #fix wrong perms -chmod a-x docs/_build/html/_static/font/*.* docs/_themes/sphinx-bootstrap/static/font/*.* +chmod a-x docs/_themes/sphinx-bootstrap/static/font/*.* #fix line terminators in jquery.js -sed -i 's/\r//' docs/_build/html/_static/jquery.js sed -i 's/\r//' docs/_themes/sphinx-bootstrap/static/jquery.js %build python setup.py build pushd docs -make %{?_smp_mflags} html man +# Can't use parallel build here! +make html man gzip -9 _build/man/*.1 #no hidden files find _build -name '.?*' -exec rm '{}' \+
