diff --git python-kafka/python-kafka.spec python-kafka/python-kafka.spec.tmp index 6d64c250b0..df89b59723 100644 --- python-kafka/python-kafka.spec +++ python-kafka/python-kafka.spec.tmp @@ -5,7 +5,7 @@ Name: python-kafka Version: 1.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Pure Python client for Apache Kafka License: ASL 2.0 @@ -18,13 +18,20 @@ BuildRequires: python2-devel BuildRequires: python-pbr BuildRequires: python-sphinx +%global _description\ +This module provides low-level protocol support for Apache Kafka as well as high-level\ +consumer and producer classes. Request batching is supported by the protocol as well as\ +broker-aware request routing. Gzip and Snappy compression is also supported for message\ +sets. + +%description %_description + +%package -n python2-kafka +Summary: %summary Requires: python-six +%{?python_provide:%python_provide python2-kafka} -%description -This module provides low-level protocol support for Apache Kafka as well as high-level -consumer and producer classes. Request batching is supported by the protocol as well as -broker-aware request routing. Gzip and Snappy compression is also supported for message -sets. +%description -n python2-kafka %_description %if 0%{?with_python3} %package -n python3-kafka @@ -80,7 +87,7 @@ pushd python2 popd -%files +%files -n python2-kafka %doc README.rst %{python2_sitelib}/kafka %{python2_sitelib}/*.egg-info @@ -94,6 +101,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.3.1-4 +- Python 2 binary package renamed to python2-kafka + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild