From 404c3bbc8f46d517764f3c952173790e4a69b31898a84ae69f057f9cb7c3b209 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:48:02 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-process-tests?expand=0&rev=7 --- python-process-tests.changes | 5 +++++ python-process-tests.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-process-tests.changes b/python-process-tests.changes index 12883ae..3cbd299 100644 --- a/python-process-tests.changes +++ b/python-process-tests.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:51:42 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun Nov 12 17:00:15 UTC 2017 - arun@gmx.de diff --git a/python-process-tests.spec b/python-process-tests.spec index dbd516a..a7d68c2 100644 --- a/python-process-tests.spec +++ b/python-process-tests.spec @@ -1,7 +1,7 @@ # # spec file for package python-process-tests # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,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/ # @@ -26,7 +26,6 @@ License: BSD-2-Clause Group: Development/Languages/Python Url: https://github.com/ionelmc/python-process-tests Source: https://pypi.io/packages/source/p/process-tests/process-tests-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes From 45d0dc41527d1ffb919d96ff181994de7bf1cc4cb691ccea376a441c853b3d5a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:48 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-process-tests?expand=0&rev=8 --- python-process-tests.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-process-tests.spec b/python-process-tests.spec index a7d68c2..4b1350d 100644 --- a/python-process-tests.spec +++ b/python-process-tests.spec @@ -24,13 +24,12 @@ Release: 0 Summary: Tools for testing processes License: BSD-2-Clause Group: Development/Languages/Python -Url: https://github.com/ionelmc/python-process-tests -Source: https://pypi.io/packages/source/p/process-tests/process-tests-%{version}.tar.gz +URL: https://github.com/ionelmc/python-process-tests +Source: https://files.pythonhosted.org/packages/source/p/process-tests/process-tests-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -49,8 +48,8 @@ dos2unix LICENSE src/process_tests.egg-info/dependency_links.txt %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %pycache_only %{python_sitelib}/__pycache__ %{python_sitelib}/process_tests.py* %{python_sitelib}/process_tests-%{version}-py%{python_version}.egg-info