diff --git python-elasticsearch/python-elasticsearch.spec python-elasticsearch/python-elasticsearch.spec.tmp index 09e85f520a..7b427aeb70 100644 --- python-elasticsearch/python-elasticsearch.spec +++ python-elasticsearch/python-elasticsearch.spec.tmp @@ -3,7 +3,7 @@ Name: python-elasticsearch Version: 2.4.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Client for Elasticsearch License: ASL 2.0 @@ -13,8 +13,6 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python2-setuptools -Requires: python2-thrift -Requires: python2-urllib3 %if %{with python3} BuildRequires: python3-devel @@ -22,19 +20,29 @@ BuildRequires: python3-setuptools # optional thrift not supported on Python 3 %endif -%description -Low level client for Elasticsearch. It's goal is to provide common ground -for all Elasticsearch-related code in Python. The client's features include: - -- Translating basic Python data types to and from json -- Configurable automatic discovery of cluster nodes -- Persistent connections -- Load balancing (with pluggable selection strategy) across all available nodes -- Failed connection penalization (time based - failed connections won't be - retried until a timeout is reached) -- Thread safety +%global _description\ +Low level client for Elasticsearch. It's goal is to provide common ground\ +for all Elasticsearch-related code in Python. The client's features include:\ +\ +- Translating basic Python data types to and from json\ +- Configurable automatic discovery of cluster nodes\ +- Persistent connections\ +- Load balancing (with pluggable selection strategy) across all available nodes\ +- Failed connection penalization (time based - failed connections won't be\ + retried until a timeout is reached)\ +- Thread safety\ - Pluggable architecture +%description %_description + +%package -n python2-%{tarball_name} +Summary: %summary +Requires: python2-urllib3 +Requires: python2-thrift +%{?python_provide:%python_provide python2-%{tarball_name}} + +%description -n python2-%{tarball_name} %_description + %if %{with python3} %package -n python3-%{tarball_name} Summary: Python 3 Client for Elasticsearch @@ -82,7 +90,7 @@ rm -fr %{tarball_name}.egg-info # repository existing on the same level", and it looks like they also # require a running elasticsearch server -%files +%files -n python2-%{tarball_name} %{python2_sitelib}/%{tarball_name} %{python2_sitelib}/%{tarball_name}-%{version}-py2.?.egg-info %doc README @@ -97,6 +105,10 @@ rm -fr %{tarball_name}.egg-info %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.4.0-5 +- Python 2 binary package renamed to python2-elasticsearch + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild