Hello community,

here is the log from the commit of package python-Sphinx for openSUSE:Factory 
checked in at 2020-11-06 23:43:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-Sphinx.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Sphinx"

Fri Nov  6 23:43:21 2020 rev:69 rq:846078 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes      
2020-10-29 09:46:20.796057557 +0100
+++ /work/SRC/openSUSE:Factory/.python-Sphinx.new.11331/python-Sphinx.changes   
2020-11-06 23:43:22.947461624 +0100
@@ -1,0 +2,14 @@
+Wed Nov  4 11:10:14 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix the lang collection macro override.
+  * gh#openSUSE/python-rpm-macros#66
+  * gh#openSUSE/python-rpm-macros#74
+
+-------------------------------------------------------------------
+Tue Nov  3 19:56:15 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Fix lang files collection for multiple flavors
+  * gh#openSUSE/python-rpm-macros#5
+  * gh#openSUSE/python-rpm-macros#66
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Sphinx.spec ++++++
--- /var/tmp/diff_new_pack.DFxrS1/_old  2020-11-06 23:43:23.935459725 +0100
+++ /var/tmp/diff_new_pack.DFxrS1/_new  2020-11-06 23:43:23.939459717 +0100
@@ -251,7 +251,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/
@@ -282,7 +291,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




Reply via email to