From 554b23be9a8ac0a1aca1d3b0fba354f7683f6b51fb440cf081e3a3513a0cc193 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:34:14 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-incremental?expand=0&rev=3 --- python-incremental.changes | 5 +++++ python-incremental.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-incremental.changes b/python-incremental.changes index 44ae556..4e99f38 100644 --- a/python-incremental.changes +++ b/python-incremental.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:49:17 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Jul 4 04:27:59 UTC 2017 - tbechtold@suse.com diff --git a/python-incremental.spec b/python-incremental.spec index 949201d..b46f940 100644 --- a/python-incremental.spec +++ b/python-incremental.spec @@ -1,7 +1,7 @@ # # spec file for package python-incremental # -# 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/twisted/incremental Source: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Suggests: %{python_module click >= 6.0} From 5cebfe4520fe9b1f2dc08e4ac8101ab5d189d50a0630f401aa37ec9a3e1330a3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:15:15 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-incremental?expand=0&rev=4 --- python-incremental.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python-incremental.spec b/python-incremental.spec index b46f940..918619e 100644 --- a/python-incremental.spec +++ b/python-incremental.spec @@ -23,15 +23,13 @@ Release: 0 Summary: Library that versions your Python projects License: MIT Group: Development/Languages/Python -Url: https://github.com/twisted/incremental +URL: https://github.com/twisted/incremental Source: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -Suggests: %{python_module click >= 6.0} Suggests: %{python_module Twisted >= 16.4.0} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Suggests: %{python_module click >= 6.0} BuildArch: noarch - %python_subpackages %description @@ -48,8 +46,8 @@ Incremental is a small library that versions your Python projects. %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE NEWS.rst README.rst +%license LICENSE +%doc NEWS.rst README.rst %{python_sitelib}/* %changelog