From 3d476544784d96042b0b51497e63e691901bf5d713eb061f892b29a5a46a5f37 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:36:42 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kafka-python?expand=0&rev=12 --- python-kafka-python.changes | 5 +++++ python-kafka-python.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-kafka-python.changes b/python-kafka-python.changes index e46c1f4..613aaa7 100644 --- a/python-kafka-python.changes +++ b/python-kafka-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:49:43 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Nov 8 18:29:27 UTC 2018 - esampson@suse.com diff --git a/python-kafka-python.spec b/python-kafka-python.spec index e40ad0b..10bcf62 100644 --- a/python-kafka-python.spec +++ b/python-kafka-python.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,6 @@ 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 -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: python-rpm-macros From e60d23b68df1c59380a29317fdf0d4dae5af0d3c3096d5c204011aad3cc88975 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:16:01 +0000 Subject: [PATCH 2/2] 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/