From 10d1d50e3bf2b0565a6f44584b519f9eb8ee43cbcc4a920175d8c056ee1de3ea Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:03:17 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=21 --- python-setuptools-git.changes | 5 +++++ python-setuptools-git.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-setuptools-git.changes b/python-setuptools-git.changes index 710dde4..2167136 100644 --- a/python-setuptools-git.changes +++ b/python-setuptools-git.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:13 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Aug 31 06:54:17 UTC 2017 - toddrme2178@gmail.com diff --git a/python-setuptools-git.spec b/python-setuptools-git.spec index cc0c97d..4818b35 100644 --- a/python-setuptools-git.spec +++ b/python-setuptools-git.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools-git # -# 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: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/wichert/setuptools-git Source: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: git-core BuildRequires: python-rpm-macros From 459a74ee4a91b5b42ef1c82ec057d172c47528a2b716624b6db31f0c0d20b59a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:22:26 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=22 --- python-setuptools-git.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python-setuptools-git.spec b/python-setuptools-git.spec index 4818b35..b41a03a 100644 --- a/python-setuptools-git.spec +++ b/python-setuptools-git.spec @@ -23,13 +23,12 @@ Release: 0 Summary: Setuptools revision control system plugin for Git License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/wichert/setuptools-git +URL: https://github.com/wichert/setuptools-git Source: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: git-core BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -59,8 +58,8 @@ git config --global user.name "test" %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.txt LICENSE.txt README.rst TODO.txt +%license LICENSE.txt +%doc AUTHORS.txt README.rst TODO.txt %{python_sitelib}/* %changelog