Hello community,
here is the log from the commit of package yast2-python-bindings for
openSUSE:Factory checked in at 2019-02-01 11:46:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-python-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-python-bindings"
Fri Feb 1 11:46:37 2019 rev:40 rq:670148 version:4.0.8
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-python-bindings/yast2-python-bindings.changes
2019-01-10 15:23:29.718320884 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-python-bindings.new.28833/yast2-python-bindings.changes
2019-02-01 11:46:39.952477280 +0100
@@ -1,0 +2,9 @@
+Fri Jan 18 17:39:23 UTC 2019 - [email protected]
+
+- Update to 4.0.8
+ + Forward port python import capability, with improvements and
+ code cleanup; (bsc#1122532).
+ + Add pydocs to yast python
+ + Improve building/packaging of python2/3
+
+-------------------------------------------------------------------
Old:
----
yast2-python-bindings-4.0.7.tar.bz2
New:
----
yast2-python-bindings-4.0.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-python-bindings.spec ++++++
--- /var/tmp/diff_new_pack.TdhyVh/_old 2019-02-01 11:46:40.376476845 +0100
+++ /var/tmp/diff_new_pack.TdhyVh/_new 2019-02-01 11:46:40.380476840 +0100
@@ -23,7 +23,7 @@
%endif
Name: yast2-python-bindings
-Version: 4.0.7
+Version: 4.0.8
Release: 0
Summary: Python bindings for the YaST platform
License: GPL-2.0-only
@@ -82,55 +82,49 @@
%build
make -f Makefile.cvs all
-
%if %{with_python3}
-%configure --enable-python3
-make
-mkdir -p %{builddir}/python3
-%__cp -d src/*.py %{builddir}/python3
-%__cp -d src/.libs/*.so.0.0.0 %{builddir}/python3
-%__cp -d src/*.la %{builddir}/python3
-make clean
-%endif
-
-%configure
-make
+mkdir py3 && pushd py3
+ln -s ../configure configure
+%{configure} --enable-python3
+%make_build
+popd
+%endif
+mkdir py2 && pushd py2
+ln -s ../configure configure
+%{configure}
+%make_build
+popd
%install
-%yast_install
-rm %{buildroot}/%{python_sitelib}/*.pyc
-rm %{buildroot}/%{python_sitelib}/*.pyo
-rm %{buildroot}/%{python_sitearch}/*.la
-rm %{buildroot}/%{yast_plugindir}/*.la
%if %{with_python3}
-%__mkdir_p %{buildroot}/%{python3_sitelib}/
-%__install -m 0644 %{builddir}/python3/*.py %{buildroot}/%{python3_sitelib}/
-%__mkdir_p %{buildroot}/%{python3_sitearch}/
-%__install -m 0755 %{builddir}/python3/_ycp.so*
%{buildroot}/%{python3_sitearch}/
-%__ln_s %{python3_sitearch}/_ycp.so.0.0.0
%{buildroot}/%{python3_sitearch}/_ycp.so.0
-%__ln_s %{python3_sitearch}/_ycp.so.0.0.0
%{buildroot}/%{python3_sitearch}/_ycp.so
-%__install -m 0755 %{builddir}/python3/libpy2lang_python.so.0.0.0
%{buildroot}/%{yast_plugindir}/libpy2lang_python3.so.0.0.0
-%__ln_s %{yast_plugindir}/libpy2lang_python3.so.0.0.0
%{buildroot}/%{yast_plugindir}/libpy2lang_python3.so
-%__ln_s %{yast_plugindir}/libpy2lang_python3.so.0.0.0
%{buildroot}/%{yast_plugindir}/libpy2lang_python3.so.0
+%make_install -C py3
%endif
+%make_install -C py2
%if %{with_python3}
%files -n yast2-python3-bindings
%defattr (-, root, root)
%doc %{yast_docdir}
%{python3_sitelib}/*.py
-%{python3_sitearch}/_ycp.so*
+%{python3_sitearch}/_ycp.so
%{yast_plugindir}/libpy2lang_python3.so.*
%{yast_plugindir}/libpy2lang_python3.so
+%exclude %dir %{python3_sitelib}/__pycache__
+%exclude %{python3_sitelib}/__pycache__/*.pyc
+%exclude %{python3_sitelib}/__pycache__/*.pyo
+%exclude %{yast_plugindir}/libpy2lang_python3.la
%endif
%files -n yast2-python-bindings
%defattr (-, root, root)
%doc %{yast_docdir}
%{python_sitelib}/*.py
-%{python_sitearch}/_ycp.so*
+%{python_sitearch}/_ycp.so
%{yast_plugindir}/libpy2lang_python.so.*
%{yast_plugindir}/libpy2lang_python.so
%license COPYING
+%exclude %{python_sitelib}/*.pyc
+%exclude %{python_sitelib}/*.pyo
+%exclude %{yast_plugindir}/libpy2lang_python.la
%changelog
++++++ yast2-python-bindings-4.0.7.tar.bz2 ->
yast2-python-bindings-4.0.8.tar.bz2 ++++++
++++ 3360 lines of diff (skipped)