diff --git a/python-kafka-python.spec b/python-kafka-python.spec index 10bcf62..bcf33a6 100644 --- a/python-kafka-python.spec +++ b/python-kafka-python.spec @@ -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/