Hello community,
here is the log from the commit of package python-msgpack-python for
openSUSE:Factory checked in at 2015-10-19 22:53:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-msgpack-python (Old)
and /work/SRC/openSUSE:Factory/.python-msgpack-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-msgpack-python"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-msgpack-python/python-msgpack-python.changes
2015-03-18 13:07:35.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-msgpack-python.new/python-msgpack-python.changes
2015-10-20 00:08:29.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Oct 17 11:24:41 UTC 2015 - [email protected]
+
+- build conditionally without tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-msgpack-python.spec ++++++
--- /var/tmp/diff_new_pack.U8SS9g/_old 2015-10-20 00:08:30.000000000 +0200
+++ /var/tmp/diff_new_pack.U8SS9g/_new 2015-10-20 00:08:30.000000000 +0200
@@ -16,6 +16,8 @@
#
+%bcond_without test
+
Name: python-msgpack-python
Version: 0.4.6
Release: 0
@@ -25,15 +27,17 @@
Url: http://msgpack.org/
Source:
https://pypi.python.org/packages/source/m/msgpack-python/msgpack-python-%{version}.tar.gz
BuildRequires: gcc-c++
-%if 0%{?suse_version} <= 1110
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-argparse
%endif
BuildRequires: python-devel
BuildRequires: python-setuptools
+%if %{with test}
# Test requirements:
BuildRequires: python-nose
BuildRequires: python-pytest
BuildRequires: python-six
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@@ -56,8 +60,10 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%if %{with test}
%check
nosetests
+%endif
%files
%defattr(-,root,root,-)