From ec950f97a1a560d1f0591e909c1f550aeb800491042f1c41c8bb31123868a686 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:32:33 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=28 --- python-httpretty.changes | 5 +++++ python-httpretty.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-httpretty.changes b/python-httpretty.changes index ca106f9..8fce513 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:48:59 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sat Aug 26 13:35:45 UTC 2017 - jengelh@inai.de diff --git a/python-httpretty.spec b/python-httpretty.spec index b25a635..9b6ee6a 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -1,7 +1,7 @@ # # spec file for package python-httpretty # -# 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/gabrielfalcao/HTTPretty Source: https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From ad01031512b1d9660ca6168faa60ac22750c4ac8cbd58adca3e227b2a505892c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:14:36 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpretty?expand=0&rev=29 --- python-httpretty.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-httpretty.spec b/python-httpretty.spec index 9b6ee6a..aa1765b 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -23,7 +23,7 @@ Release: 0 Summary: HTTP client mocking tool for Python License: MIT Group: Development/Languages/Python -Url: https://github.com/gabrielfalcao/HTTPretty +URL: https://github.com/gabrielfalcao/HTTPretty Source: https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -53,7 +53,8 @@ It is similar to Ruby's FakeWeb. %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc COPYING README.rst +%license COPYING +%doc README.rst %{python_sitelib}/httpretty %{python_sitelib}/httpretty*egg-info