- fix Source url, use pypi package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch?expand=0&rev=9
This commit is contained in:
Ondřej Súkup 2017-11-23 15:33:15 +00:00 committed by Git OBS Bridge
parent 7b8a4be95a
commit f6052996c3
4 changed files with 14 additions and 10 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fd6fe01d5f992666674f6089ff2ec4917ec64ed7dcd7e109cdf95f406303809
size 67198

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5409d1e7b12190e852f6e8c9190ab00b015ebc951a152a65fe6a5ebefc76cc14
size 83197

View File

@ -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

View File

@ -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