Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2018-12-04 20:57:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and      /work/SRC/openSUSE:Factory/.python-h5py.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-h5py"

Tue Dec  4 20:57:45 2018 rev:11 rq:653737 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-10-15 
09:43:08.915390256 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.19453/python-h5py.changes       
2018-12-04 20:57:51.884617716 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 02:51:00 UTC 2018 - Todd R <toddrme2...@gmail.com>
+
+- Use more reliable test invocation
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-h5py.spec ++++++
--- /var/tmp/diff_new_pack.M1WaoV/_old  2018-12-04 20:57:52.316617239 +0100
+++ /var/tmp/diff_new_pack.M1WaoV/_new  2018-12-04 20:57:52.316617239 +0100
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:           python-h5py
 Version:        2.8.0
 Release:        0
@@ -66,17 +65,13 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%if %{with test}
 %check
-export CFLAGS="%{optflags}"
-%python_exec setup.py test
-%endif
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+mkdir check
+pushd check
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+$python -B -c "from sys import exit; import h5py; exit(0) if 
h5py.run_tests().wasSuccessful() else exit(1)"
+}
 
 %files %{python_files}
 %license lzf/LICENSE.txt


Reply via email to