From e442e230bd55ddbbf9560cd48ba47e78d6136daa Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Jun 09 2018 22:00:43 +0000 Subject: Update to new release --- diff --git a/.gitignore b/.gitignore index 5f8ecb6..ef0a3d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fastavro-0.17.3.tar.gz +/fastavro-0.19.6.tar.gz diff --git a/python-fastavro.spec b/python-fastavro.spec index 37ec420..7bed8c9 100644 --- a/python-fastavro.spec +++ b/python-fastavro.spec @@ -5,8 +5,8 @@ Python avro package is packed with features but dog slow. fastavro is less \ feature complete than avro, however it's much faster. Name: python-%{srcname} -Version: 0.17.3 -Release: 2%{?dist} +Version: 0.19.6 +Release: 1%{?dist} Summary: %{sum} # https://github.com/tebeka/fastavro/issues/60 @@ -26,6 +26,7 @@ BuildRequires: %{py2_dist setuptools} BuildRequires: %{py2_dist Cython} BuildRequires: %{py2_dist pytest} BuildRequires: %{py2_dist sphinx} +BuildRequires: %{py2_dist numpy} Requires: %{py2_dist python-snappy} Requires: %{py2_dist ujson} @@ -42,6 +43,7 @@ BuildRequires: python3-devel BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist Cython} BuildRequires: %{py3_dist pytest} +BuildRequires: %{py3_dist numpy} Requires: %{py3_dist python-snappy} Requires: %{py3_dist ujson} %{?python_provide:%python_provide python3-%{srcname}} @@ -64,8 +66,8 @@ sed -i "s/Cython>=.*',/Cython',/" setup.py sed -i "/tests_require=/d" setup.py %build -%py2_build -%py3_build +FASTAVRO_USE_CYTHON=1 %py2_build +FASTAVRO_USE_CYTHON=1 %py3_build pushd docs PYTHONPATH=../ make html man @@ -78,8 +80,8 @@ popd %install -%py2_install -%py3_install +FASTAVRO_USE_CYTHON=1 %py2_install +FASTAVRO_USE_CYTHON=1 %py3_install # Install man page install -v -p -D -m 0644 docs/_build/man/%{srcname}.1 %{buildroot}%{_mandir}/man1/%{srcname}.1 || exit -1 @@ -89,7 +91,7 @@ install -v -p -D -m 0644 docs/_build/man/%{srcname}.1 %{buildroot}%{_mandir}/man # %check # %{__python2} setup.py build_ext --inplace # PYTHONPATH=. pytest-2 tests -# + # %{__python3} setup.py build_ext --inplace # PYTHONPATH=. pytest-3 tests @@ -111,6 +113,13 @@ install -v -p -D -m 0644 docs/_build/man/%{srcname}.1 %{buildroot}%{_mandir}/man %doc docs/_build/html %changelog +* Sat Jun 09 2018 Ankur Sinha - 0.19.6-1 +- Update to new release +- Tests still failing for i686 so disabling + +* Tue Jan 23 2018 Ankur Sinha - 0.17.3-3 +- Re-enable tests for testing + * Mon Jan 22 2018 Ankur Sinha - 0.17.3-2 - Disable tests temporarily - fail on i686 only. Issue filed upstream. diff --git a/sources b/sources index 10b6bdf..f937427 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fastavro-0.17.3.tar.gz) = 53a9306314b136a23a51b9693cb875f043a606bf43ca87ff07fd41481ef772c2bf364d1302263e3395b3779693a036035f2b29b60a0bab93c574ee58dcc31714 +SHA512 (fastavro-0.19.6.tar.gz) = 62db3d09b3700caf7b25efcf7e50efb93e7f2c66634bfb713eb26b75398f84de0ffe63458d15eab704a3edcd3378318e608c9a8a2fbf6d345fe355562f153ffc