Matej Cepl 2018-12-04 17:16:01 +00:00 committed by Git OBS Bridge
parent 3d47654478
commit e60d23b68d

View File

@ -23,15 +23,13 @@ Release: 0
Summary: Pure Python client for Apache Kafka
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/mumrah/kafka-python
Source: https://pypi.io/packages/source/k/kafka-python/kafka-python-%{version}.tar.gz
URL: https://github.com/mumrah/kafka-python
Source: https://files.pythonhosted.org/packages/source/k/kafka-python/kafka-python-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: python-rpm-macros
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@ -49,9 +47,9 @@ is also supported for message sets.
%install
%python_install
%files %python_files
%defattr(-,root,root,-)
%doc README.rst LICENSE
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%exclude %{python_sitelib}/tests/