From b1c8bdd13d6269b6da0edf2c55ea82e899be7ae5050e15be1e743582389bbb2a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:51 +0000 Subject: [PATCH] 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