From 75b4fc8d9e2c04184ed9664cdff9db076f5c524edc8cca08b7f9c77964fe5251 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:31:40 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=22 --- python-happybase.changes | 5 +++++ python-happybase.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-happybase.changes b/python-happybase.changes index b107a6f..326263c 100644 --- a/python-happybase.changes +++ b/python-happybase.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:48:49 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun Sep 17 19:54:10 UTC 2017 - bwiedemann@suse.com diff --git a/python-happybase.spec b/python-happybase.spec index 88298cb..5873c35 100644 --- a/python-happybase.spec +++ b/python-happybase.spec @@ -1,7 +1,7 @@ # # spec file for package python-happybase # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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: MIT Group: Development/Languages/Python Url: https://github.com/wbolster/happybase Source: https://files.pythonhosted.org/packages/source/h/happybase/happybase-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module thriftpy} BuildRequires: python-rpm-macros From 9dde6373d9594f5609cd15b5600e71af4a7fff5c9f294664dfc17e516ac4d599 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:16 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-happybase?expand=0&rev=23 --- python-happybase.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-happybase.spec b/python-happybase.spec index 5873c35..6d3bfc7 100644 --- a/python-happybase.spec +++ b/python-happybase.spec @@ -23,7 +23,7 @@ Release: 0 Summary: A Python library to interact with Apache HBase License: MIT Group: Development/Languages/Python -Url: https://github.com/wbolster/happybase +URL: https://github.com/wbolster/happybase Source: https://files.pythonhosted.org/packages/source/h/happybase/happybase-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module thriftpy} @@ -31,9 +31,7 @@ BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx Requires: python-six Requires: python-thriftpy >= 0.3.8 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -64,11 +62,12 @@ rm docs/build/html/.doctrees/environment.pickle %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.rst NEWS.rst README.rst TODO.rst +%license LICENSE.rst +%doc NEWS.rst README.rst TODO.rst %{python_sitelib}/* %files -n python-happybase-doc -%doc LICENSE.rst docs/build/html +%license LICENSE.rst +%doc docs/build/html %changelog