From 30dfbbeae0b5d0f9c8c875ca91367fde8343edd01902cf93fcba0647d424e531 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:00: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-Routes?expand=0&rev=22 --- python-Routes.changes | 5 +++++ python-Routes.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-Routes.changes b/python-Routes.changes index f9c5dbd..c0f2e1e 100644 --- a/python-Routes.changes +++ b/python-Routes.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:55 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Jun 29 16:20:01 UTC 2017 - tbechtold@suse.com diff --git a/python-Routes.spec b/python-Routes.spec index ff4d611..794e07e 100644 --- a/python-Routes.spec +++ b/python-Routes.spec @@ -1,7 +1,7 @@ # # spec file for package python-Routes # -# 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/ # @@ -26,7 +26,6 @@ License: BSD-3-Clause Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/R/Routes/Routes-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # for testing From b1c8bdd13d6269b6da0edf2c55ea82e899be7ae5050e15be1e743582389bbb2a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:51 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=23 --- python-Routes.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-Routes.spec b/python-Routes.spec index 794e07e..c099f12 100644 --- a/python-Routes.spec +++ b/python-Routes.spec @@ -20,25 +20,23 @@ Name: python-Routes Version: 2.4.1 Release: 0 -Url: http://routes.groovie.org/ Summary: Routing Recognition and Generation Tools License: BSD-3-Clause Group: Development/Languages/Python +URL: http://routes.groovie.org/ Source: https://files.pythonhosted.org/packages/source/R/Routes/Routes-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros # for testing BuildRequires: %{python_module WebOb} BuildRequires: %{python_module WebTest} BuildRequires: %{python_module coverage} BuildRequires: %{python_module nose} BuildRequires: %{python_module repoze.lru} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros Requires: python-repoze.lru >= 0.3 Provides: python-routes = %{version} Obsoletes: python-routes < %{version} BuildArch: noarch - %python_subpackages %description @@ -57,8 +55,8 @@ A Routing package for Python that matches URL's to dicts and vice versa. %python_exec %{_bindir}/nosetests %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGELOG.rst LICENSE.txt README.rst +%license LICENSE.txt +%doc CHANGELOG.rst README.rst %{python_sitelib}/* %changelog