From fd28cb5c0eb87cacf308173f42f44f371c0d1a1a5eb14c01cb1a05505fa28126 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:08:41 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-termcolor?expand=0&rev=14 --- python-termcolor.changes | 5 +++++ python-termcolor.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-termcolor.changes b/python-termcolor.changes index 1c32b78..0dc407c 100644 --- a/python-termcolor.changes +++ b/python-termcolor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:55:06 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Jul 5 08:49:09 UTC 2017 - aloisio@gmx.com diff --git a/python-termcolor.spec b/python-termcolor.spec index 33bce71..82ddd9c 100644 --- a/python-termcolor.spec +++ b/python-termcolor.spec @@ -1,7 +1,7 @@ # # spec file for package python-termcolor # -# 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://pypi.python.org/pypi/termcolor Source: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 062b0d517fa2d63a6f4556b613faf1fbf2624ad3a6d700e6892c420c722226b8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:24:16 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-termcolor?expand=0&rev=15 --- python-termcolor.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-termcolor.spec b/python-termcolor.spec index 82ddd9c..53dacc3 100644 --- a/python-termcolor.spec +++ b/python-termcolor.spec @@ -23,12 +23,11 @@ Release: 0 Summary: ANSII Color formatting for output in terminal License: MIT Group: Development/Languages/Python -Url: https://pypi.python.org/pypi/termcolor +URL: https://pypi.python.org/pypi/termcolor Source: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -48,8 +47,8 @@ Available attributes: bold, dark, underline, blink, reverse, concealed. %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYING.txt README.rst +%license COPYING.txt +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog