diff --git a/elasticsearch-6.0.0.tar.gz b/elasticsearch-6.0.0.tar.gz new file mode 100644 index 0000000..2e94421 --- /dev/null +++ b/elasticsearch-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9fd6fe01d5f992666674f6089ff2ec4917ec64ed7dcd7e109cdf95f406303809 +size 67198 diff --git a/elasticsearch-py-6.0.0.tar.gz b/elasticsearch-py-6.0.0.tar.gz deleted file mode 100644 index 6986416..0000000 --- a/elasticsearch-py-6.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5409d1e7b12190e852f6e8c9190ab00b015ebc951a152a65fe6a5ebefc76cc14 -size 83197 diff --git a/python-elasticsearch.changes b/python-elasticsearch.changes index 6fb11d2..5d749aa 100644 --- a/python-elasticsearch.changes +++ b/python-elasticsearch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 23 15:32:45 UTC 2017 - mimi.vx@gmail.com + +- fix Source url, use pypi package + ------------------------------------------------------------------- Thu Nov 23 13:27:11 UTC 2017 - kkaempf@suse.com diff --git a/python-elasticsearch.spec b/python-elasticsearch.spec index abaed35..5d60b1e 100644 --- a/python-elasticsearch.spec +++ b/python-elasticsearch.spec @@ -16,8 +16,6 @@ # -%define repo elasticsearch-py - %{?!python_module:%define python_module() python-%{**} python3-%{**}} # Test files not included in source archive %bcond_with test @@ -27,8 +25,8 @@ Release: 0 Summary: Python client for Elasticsearch License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/elastic/%{repo} -Source: https://files.pythonhosted.org/packages/source/e/elasticsearch/%{repo}-%{version}.tar.gz +Url: https://github.com/elastic/elasticsearch-py +Source: https://files.pythonhosted.org/packages/source/e/elasticsearch/elasticsearch-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -53,7 +51,8 @@ ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable. %prep -%setup -q -n %{repo}-%{version} +%setup -q -n elasticsearch-%{version} +rm README.rst %build %python_build @@ -68,8 +67,8 @@ to be opinion-free and very extendable. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS Changelog.rst LICENSE README README.rst +%license LICENSE +%doc AUTHORS Changelog.rst README %{python_sitelib}/* %changelog