From e60d23b68df1c59380a29317fdf0d4dae5af0d3c3096d5c204011aad3cc88975 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:16:01 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kafka-python?expand=0&rev=13 --- python-kafka-python.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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/