diff --git a/.gitignore b/.gitignore index e9b84b4..1be408b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /msgpack-python-0.4.0.tar.gz /msgpack-python-0.4.1.tar.gz /msgpack-python-0.4.2.tar.gz +/msgpack-python-0.4.4.tar.gz diff --git a/python-msgpack.spec b/python-msgpack.spec index 4a13443..91ce214 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -5,8 +5,8 @@ %endif Name: python-%{srcname} -Version: 0.4.2 -Release: 4%{?dist} +Version: 0.4.4 +Release: 1%{?dist} Summary: A Python MessagePack (de)serializer License: ASL 2.0 @@ -15,6 +15,7 @@ Source0: http://pypi.python.org/packages/source/m/%{srcname}-python/%{src BuildRequires: python2-devel BuildRequires: python-setuptools +BuildRequires: pytest # We don't want to provide private python extension libs %{?filter_setup: @@ -35,6 +36,7 @@ This is a Python (de)serializer for MessagePack. Summary: Higher level Python Zookeeper client BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pytest %description -n python3-%{srcname} MessagePack is a binary-based efficient data interchange format that is @@ -71,6 +73,17 @@ pushd %{py3dir} popd %endif +%check +export PYTHONPATH=$(pwd) + +py.test-%{python_version} -v test + +%if 0%{?with_python3} +pushd %{py3dir} +py.test-%{python3_version} -v test +popd +%endif # with_python3 + %files %doc COPYING README.rst @@ -85,6 +98,10 @@ popd %endif %changelog +* Thu Jan 15 2015 Ken Dreyer - 0.4.4-1 +- Update to latest upstream version 0.4.4 (RHBZ #1180507) +- Add tests in %%check + * Wed Sep 10 2014 Nejc Saje - 0.4.2-4 - Introduce python3- subpackage diff --git a/sources b/sources index a0b4b3c..7a48a99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e3a0fdfd864c72c958bb501d39b39caf msgpack-python-0.4.2.tar.gz +86187bcd95b01753a5975424fe42ca81 msgpack-python-0.4.4.tar.gz