Hello community, here is the log from the commit of package python-Sphinx2 for openSUSE:Factory checked in at 2020-11-06 23:42:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Sphinx2 (Old) and /work/SRC/openSUSE:Factory/.python-Sphinx2.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Sphinx2" Fri Nov 6 23:42:41 2020 rev:2 rq:845826 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Sphinx2/python-Sphinx2.changes 2020-05-28 09:11:34.156350681 +0200 +++ /work/SRC/openSUSE:Factory/.python-Sphinx2.new.11331/python-Sphinx2.changes 2020-11-06 23:42:42.991538404 +0100 @@ -1,0 +2,7 @@ +Tue Nov 3 20:56:32 UTC 2020 - Benjamin Greiner <[email protected]> + +- Fix lang files collection for multiple flavors + * gh#openSUSE/python-rpm-macros#74 + * see also sr#845821 for Sphinx 3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Sphinx2.spec ++++++ --- /var/tmp/diff_new_pack.PaZP4Z/_old 2020-11-06 23:42:43.775536897 +0100 +++ /var/tmp/diff_new_pack.PaZP4Z/_new 2020-11-06 23:42:43.779536890 +0100 @@ -252,7 +252,16 @@ %python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib %python_expand %fdupes %{buildroot}%{$python_sitelib} -%find_lang sphinx +# gh#openSUSE/python-rpm-macros#74 +%{!?python_find_lang: %define python_find_lang() \ +%find_lang %{**} \ +langfile=%{?2}%{!?2:%1.lang} \ +%{python_expand # \ +grep -v 'python.*site-packages' ${langfile} > %{$python_prefix}-${langfile} \ +grep -F %{$python_sitelib} ${langfile} >> %{$python_prefix}-${langfile} \ +} \ +} +%python_find_lang sphinx %else mkdir -p %{buildroot}%{_docdir}/python-Sphinx/ @@ -283,7 +292,7 @@ %endif %if ! %{with test} -%files %{python_files} -f sphinx.lang +%files %{python_files} -f %{python_prefix}-sphinx.lang %license LICENSE %doc AUTHORS CHANGES README.rst %python_alternative %{_bindir}/sphinx-apidoc
