diff --git a/.gitignore b/.gitignore index 8403fee..ca8e374 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /elasticsearch-1.7.0.tar.gz /elasticsearch-2.0.0.tar.gz /elasticsearch-2.3.0.tar.gz +/elasticsearch-2.4.0.tar.gz diff --git a/python-elasticsearch.spec b/python-elasticsearch.spec index 7c0a2cd..003b126 100644 --- a/python-elasticsearch.spec +++ b/python-elasticsearch.spec @@ -2,13 +2,13 @@ %bcond_without python3 Name: python-elasticsearch -Version: 2.3.0 -Release: 4%{?dist} +Version: 2.4.0 +Release: 1%{?dist} Summary: Client for Elasticsearch License: ASL 2.0 URL: https://github.com/elasticsearch/elasticsearch-py -Source0: https://pypi.python.org/packages/source/e/%{tarball_name}/%{tarball_name}-%{version}.tar.gz +Source0: https://pypi.io/packages/source/e/%{tarball_name}/%{tarball_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel @@ -73,6 +73,17 @@ rm -fr %{tarball_name}.egg-info %py2_install +%check +# * missing requirements for tests: python-nosexcover, python-pyaml +# we could probably dodge the nosexcover requirement, but pyaml seems +# harder +# * tests are not included in the tarball, we would have to add an extra +# source for them +# * https://github.com/elastic/elasticsearch-py/tree/master/test_elasticsearch +# also notes that "The tests also rely on a checkout of elasticsearch +# repository existing on the same level", and it looks like they also +# require a running elasticsearch server + %files %{python2_sitelib}/%{tarball_name} %{python2_sitelib}/%{tarball_name}-%{version}-py2.?.egg-info @@ -88,6 +99,10 @@ rm -fr %{tarball_name}.egg-info %endif %changelog +* Wed Dec 28 2016 Adam Williamson - 2.4.0-1 +- Update to 2.4.0 (needed for latest elastic-curator) +- Document missing tests + * Mon Dec 19 2016 Miro HronĨok - 2.3.0-4 - Rebuild for Python 3.6 diff --git a/sources b/sources index 9eae24b..f2aa55b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2550f3b51629cf1ef9636608af92c340 elasticsearch-2.3.0.tar.gz +SHA512 (elasticsearch-2.4.0.tar.gz) = 7bd536ee9a8073a8deef0d37fac43e5b1c274722ac3849694fc9dee374925c6575515fbd277d4eb2a9ce074d15216b2939e61361f78a0d7390d064e9cfc18705