From 5c81d3e283420e89ad0b81256049bdb8aef9a5b9d168cd14e33d2e365bf44469 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:47:46 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pretend?expand=0&rev=6 --- python-pretend.changes | 5 +++++ python-pretend.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-pretend.changes b/python-pretend.changes index a81a3a9..048536a 100644 --- a/python-pretend.changes +++ b/python-pretend.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:51:39 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Mar 16 14:48:02 UTC 2017 - tbechtold@suse.com diff --git a/python-pretend.spec b/python-pretend.spec index 9f25008..fceec40 100644 --- a/python-pretend.spec +++ b/python-pretend.spec @@ -1,7 +1,7 @@ # # spec file for package python-pretend # -# 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/alex/pretend Source: https://pypi.io/packages/source/p/pretend/pretend-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build From 86137c848394dbec42119215164ab58fd8bc3c13b23af31c99fbd88b668f049e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:38 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pretend?expand=0&rev=7 --- python-pretend.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-pretend.spec b/python-pretend.spec index fceec40..a5e37dc 100644 --- a/python-pretend.spec +++ b/python-pretend.spec @@ -23,13 +23,11 @@ Release: 0 Summary: A library for stubbing in Python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/alex/pretend -Source: https://pypi.io/packages/source/p/pretend/pretend-%{version}.tar.gz +URL: https://github.com/alex/pretend +Source: https://files.pythonhosted.org/packages/source/p/pretend/pretend-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -44,9 +42,9 @@ Pretend is a library to make stubbing with Python easier. %install %python_install -%files %python_files -%defattr(-,root,root,-) -%doc LICENSE.rst README.rst +%files %{python_files} +%license LICENSE.rst +%doc README.rst %{python_sitelib}/* %changelog