diff --git a/3.15.1.tar.gz b/3.15.1.tar.gz new file mode 100644 index 0000000..897975a --- /dev/null +++ b/3.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a119de6f7146b8101784c0128c6ddba5ba2091f4b526124b141cc25384b78d7b +size 582655 diff --git a/cassandra-driver-3.15.0.tar.gz b/cassandra-driver-3.15.0.tar.gz deleted file mode 100644 index 229822b..0000000 --- a/cassandra-driver-3.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:489cc828dbfabf2143204e158c60079d74c41743ae1b0dd732e15dd4a79cdd22 -size 464325 diff --git a/python-cassandra-driver.changes b/python-cassandra-driver.changes index 8f7ca53..ad08ba6 100644 --- a/python-cassandra-driver.changes +++ b/python-cassandra-driver.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 1 09:24:07 UTC 2018 - Tomáš Chvátal + +- Update to 3.15.1: + * No updatream changelog +- Switch to github tarball as the pypi one lacks tests now + ------------------------------------------------------------------- Thu Sep 20 12:03:19 UTC 2018 - Tomáš Chvátal diff --git a/python-cassandra-driver.spec b/python-cassandra-driver.spec index d676c32..f13cdad 100644 --- a/python-cassandra-driver.spec +++ b/python-cassandra-driver.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cassandra-driver -Version: 3.15.0 +Version: 3.15.1 Release: 0 Summary: Python driver for Cassandra License: Apache-2.0 Group: Development/Languages/Python URL: http://github.com/datastax/python-driver -Source: https://files.pythonhosted.org/packages/source/c/cassandra-driver/cassandra-driver-%{version}.tar.gz +Source: https://github.com/datastax/python-driver/archive/%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module Twisted} @@ -38,6 +38,7 @@ BuildRequires: %{python_module scales} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} >= 1.6 BuildRequires: %{python_module sure} +BuildRequires: fdupes BuildRequires: libev-devel BuildRequires: python-rpm-macros BuildRequires: python2-futures @@ -58,14 +59,15 @@ DataStax Enterprise (3.1+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3. A list of features may be found at https://github.com/datastax/python-driver#features . -The driver supports Python 2.7, 3.3, 3.4, 3.5, and 3.6. - %prep -%setup -q -n cassandra-driver-%{version} +%setup -q -n python-driver-%{version} # do not run integration tests rm -rf tests/integration +rm -rf tests/stress_tests # do not run cython tests rm -rf tests/unit/cython +# fix hardcoded cython dep +sed -i -e 's:Cython>=0.20,!=0.25,<0.29:Cython:g' setup.py %build export CFLAGS="%{optflags}" @@ -75,9 +77,10 @@ export CASS_DRIVER_NO_EXTENSIONS=1 %install export CASS_DRIVER_NO_EXTENSIONS=1 %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%python_expand PYTHONPATH="$(pwd)" nosetests-%{$python_version} -v %files %{python_files} %license LICENSE