diff --git a/.gitignore b/.gitignore index 1be408b..c639567 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /msgpack-python-0.4.1.tar.gz /msgpack-python-0.4.2.tar.gz /msgpack-python-0.4.4.tar.gz +/msgpack-python-0.4.5.tar.gz diff --git a/python-msgpack-0.4.4-pytest23.patch b/python-msgpack-0.4.4-pytest23.patch deleted file mode 100644 index cae2b81..0000000 --- a/python-msgpack-0.4.4-pytest23.patch +++ /dev/null @@ -1,29 +0,0 @@ -From f40fdf523a545035d3f6ee36a31d50993feac14b Mon Sep 17 00:00:00 2001 -From: Ken Dreyer -Date: Fri, 23 Jan 2015 12:22:28 -0700 -Subject: [PATCH] tests: add pytest 2.3 compatibility - -Adjust the skipif conditional to use the older pytest 2.3 syntax. - -(This allows the tests to pass with the system pytest package on RHEL -7.0, since RHEL 7.0 ships pytest 2.3.5.) ---- - test/test_unpack.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/test_unpack.py b/test/test_unpack.py -index 8d0d949..c0d711c 100644 ---- a/test/test_unpack.py -+++ b/test/test_unpack.py -@@ -16,7 +16,7 @@ def test_unpack_array_header_from_file(): - unpacker.unpack() - - --@mark.skipif(not hasattr(sys, 'getrefcount'), -+@mark.skipif("not hasattr(sys, 'getrefcount') == True", - reason='sys.getrefcount() is needed to pass this test') - def test_unpacker_hook_refcnt(): - result = [] --- -1.9.3 - diff --git a/python-msgpack.spec b/python-msgpack.spec index a45e974..621fb5e 100644 --- a/python-msgpack.spec +++ b/python-msgpack.spec @@ -11,16 +11,13 @@ %endif Name: python-%{srcname} -Version: 0.4.4 -Release: 2%{?dist} +Version: 0.4.5 +Release: 1%{?dist} Summary: A Python MessagePack (de)serializer License: ASL 2.0 URL: http://pypi.python.org/pypi/msgpack-python/ Source0: http://pypi.python.org/packages/source/m/%{srcname}-python/%{srcname}-python-%{version}.tar.gz -# Patch for older pytest on EL6 and EL7 -# https://github.com/msgpack/msgpack-python/pull/123 -Patch0: python-msgpack-0.4.4-pytest23.patch BuildRequires: python2-devel BuildRequires: python-setuptools @@ -56,10 +53,6 @@ This is a Python (de)serializer for MessagePack. %prep %setup -q -n %{srcname}-python-%{version} -# Patch for older pytest on EL6 and EL7 -# https://github.com/msgpack/msgpack-python/pull/123 -%patch0 -p1 - %if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} @@ -111,6 +104,9 @@ popd %endif %changelog +* Sun Jan 25 2015 Ken Dreyer - 0.4.5-1 +- Update to latest upstream version 0.4.5 + * Fri Jan 23 2015 Ken Dreyer - 0.4.4-2 - Patch test suite for EL6 and EL7 compatibility (RHBZ #1182808) - Add python2 macros for EL6 compatibility (RHBZ #1182808) diff --git a/sources b/sources index 7a48a99..cef42e9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -86187bcd95b01753a5975424fe42ca81 msgpack-python-0.4.4.tar.gz +3b82bc542d5599896695512e7c32f42d msgpack-python-0.4.5.tar.gz