Hello community, here is the log from the commit of package libxml2 for openSUSE:Factory checked in at 2019-12-24 14:28:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxml2 (Old) and /work/SRC/openSUSE:Factory/.libxml2.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxml2" Tue Dec 24 14:28:53 2019 rev:96 rq:757499 version:2.9.10 Changes: -------- --- /work/SRC/openSUSE:Factory/libxml2/libxml2.changes 2019-12-07 15:23:22.439728931 +0100 +++ /work/SRC/openSUSE:Factory/.libxml2.new.6675/libxml2.changes 2019-12-24 14:28:59.054547325 +0100 @@ -1,0 +2,8 @@ +Sun Dec 15 17:56:15 UTC 2019 - Stefan BrĂ¼ns <stefan.bru...@rwth-aachen.de> + +- Build python2 and python3 bindings in separate flavors. As + python3-libxml2 is a dependency of e.g. itstools and thus many + other packages these packages no longer have a build dependency + on python2. Breaks a build loop for python2. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxml2.spec ++++++ --- /var/tmp/diff_new_pack.4y6XG5/_old 2019-12-24 14:29:00.102547832 +0100 +++ /var/tmp/diff_new_pack.4y6XG5/_new 2019-12-24 14:29:00.106547834 +0100 @@ -20,16 +20,28 @@ # Define "python" as a package in _multibuild file %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "python" -%define pysuffix -python +%bcond_without python +%define skip_python3 1 +%define psuffix -python %define oldpython python +%define python_pname python2-libxml2 +%endif + +%if "%{flavor}" == "python3" %bcond_without python -%else -%define pysuffix %{nil} +%define skip_python2 1 +%define psuffix -python3 +%define python_pname python3-libxml2 +%endif + +%if "%{flavor}" == "" %bcond_with python +%define python_pname void %endif + %define bname libxml2 %define lname libxml2-2 -Name: %{bname}%{pysuffix} +Name: %{bname}%{?psuffix} Version: 2.9.10 Release: 0 Summary: A Library to Manipulate XML Files @@ -134,32 +146,15 @@ now used by many programs to load and save extensible data structures or manipulate any kind of XML files. -%package -n python2-libxml2 +%package -n %{python_pname} Summary: Python 2 Bindings for libxml2 Group: Development/Libraries/Python Obsoletes: libxml2-python -Provides: python2-libxml2-python -Obsoletes: python2-libxml2-python - -%description -n python2-libxml2 -The python2-libxml2 package contains a module that permits -applications written in the Python programming language to use the -interface supplied by the libxml2 library to manipulate XML files. - -This library allows manipulation of XML files. It includes support for -reading, modifying, and writing XML and HTML files. There is DTD -support that includes parsing and validation even with complex DTDs, -either at parse time or later once the document has been modified. - -%package -n python3-libxml2 -Summary: Python 3 Bindings for libxml2 -Group: Development/Libraries/Python -Obsoletes: libxml2-python -Provides: python3-libxml2-python -Obsoletes: python3-libxml2-python +Provides: %{python_pname}-python +Obsoletes: %{python_pname}-python -%description -n python3-libxml2 -The python3-libxml2 package contains a module that permits +%description -n %{python_pname} +The %{python_pname} package contains a module that permits applications written in the Python programming language to use the interface supplied by the libxml2 library to manipulate XML files. @@ -262,27 +257,24 @@ %dir %{_datadir}/gtk-doc/html %else -%files -n python2-libxml2 +%files -n %{python_pname} %doc python/TODO %doc python/libxml2class.txt %doc doc/*.py %doc doc/python.html +%if "%{python_flavor}" == "python2" %{python2_sitearch}/libxml2.py* %{python2_sitearch}/drv_libxml2.py* %{python2_sitearch}/libxml2mod*.so %{python2_sitearch}/*.egg-info - -%files -n python3-libxml2 -%doc python/TODO -%doc python/libxml2class.txt -%doc doc/*.py -%doc doc/python.html +%else %{python3_sitearch}/libxml2.py %{python3_sitearch}/__pycache__/libxml2.* %{python3_sitearch}/drv_libxml2.py %{python3_sitearch}/__pycache__/drv_libxml2.* %{python3_sitearch}/libxml2mod*.so %{python3_sitearch}/*.egg-info +%endif %endif ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.4y6XG5/_old 2019-12-24 14:29:00.126547844 +0100 +++ /var/tmp/diff_new_pack.4y6XG5/_new 2019-12-24 14:29:00.126547844 +0100 @@ -1,3 +1,4 @@ <multibuild> <package>python</package> + <package>python3</package> </multibuild>