Hello community,

here is the log from the commit of package python-chardet for openSUSE:Factory 
checked in at 2017-09-04 12:19:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-chardet (Old)
 and      /work/SRC/openSUSE:Factory/.python-chardet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-chardet"

Mon Sep  4 12:19:31 2017 rev:21 rq:519333 version:3.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-chardet/python-chardet.changes    
2017-07-04 11:56:19.518839060 +0200
+++ /work/SRC/openSUSE:Factory/.python-chardet.new/python-chardet.changes       
2017-09-04 12:19:35.276680939 +0200
@@ -1,0 +2,10 @@
+Fri Aug 25 13:09:48 UTC 2017 - [email protected]
+
+- Fix build for Leap-42.3
+
+-------------------------------------------------------------------
+Tue Aug 15 09:57:21 UTC 2017 - [email protected]
+
+- add update-alternative support for py2/py3 coinstallability
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-chardet.spec ++++++
--- /var/tmp/diff_new_pack.vOhcmN/_old  2017-09-04 12:19:37.304395877 +0200
+++ /var/tmp/diff_new_pack.vOhcmN/_new  2017-09-04 12:19:37.308395315 +0200
@@ -73,15 +73,26 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%{python_expand %$python_install
+mv %{buildroot}%{_bindir}/chardetect 
%{buildroot}%{_bindir}/chardetect-%{$python_bin_suffix}
+%fdupes -s %{buildroot}%{$python_sitelib}
+}
+
+%prepare_alternative chardetect
 
 %check
-%python_exec setup.py test
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_version} test.py
+
+%post
+%python_install_alternative chardetect
+
+%postun
+%python_install_alternative chardetect
 
 %files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst
-%python3_only %{_bindir}/chardetect
+%python_alternative %{_bindir}/chardetect
 %{python_sitelib}/chardet
 %{python_sitelib}/chardet-%{version}-py%{python_version}.egg-info
 


Reply via email to