From cebb86e8b0b6ac587a6ad54c11df7555d3eaf30f5967197978c0f2707be75efa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 19 Aug 2022 06:44:19 +0000 Subject: [PATCH] Accepting request 998006 from home:bnavigator:branches:devel:languages:python - Clean specfile, remove coverage OBS-URL: https://build.opensuse.org/request/show/998006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=33 --- python-Routes.changes | 5 +++++ python-Routes.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-Routes.changes b/python-Routes.changes index c411646..9b7f1f2 100644 --- a/python-Routes.changes +++ b/python-Routes.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 18 15:15:10 UTC 2022 - Ben Greiner + +- Clean specfile, remove coverage + ------------------------------------------------------------------- Mon Nov 8 10:28:13 UTC 2021 - Dirk Müller diff --git a/python-Routes.spec b/python-Routes.spec index c05f823..8d97720 100644 --- a/python-Routes.spec +++ b/python-Routes.spec @@ -1,7 +1,7 @@ # # spec file for package python-Routes # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,16 +27,16 @@ Source: https://files.pythonhosted.org/packages/source/R/Routes/Routes-% # for testing BuildRequires: %{python_module WebOb} BuildRequires: %{python_module WebTest} -BuildRequires: %{python_module coverage} BuildRequires: %{python_module pytest} BuildRequires: %{python_module repoze.lru} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-repoze.lru >= 0.3 Requires: python-six -Provides: python-routes = %{version} -Obsoletes: python-routes < %{version} +Provides: python-routes = %{version}-%{release} +Obsoletes: python-routes < %{version}-%{release} BuildArch: noarch %python_subpackages @@ -51,6 +51,7 @@ A Routing package for Python that matches URL's to dicts and vice versa. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest --doctest-modules routes @@ -58,6 +59,7 @@ A Routing package for Python that matches URL's to dicts and vice versa. %files %{python_files} %license LICENSE.txt %doc CHANGELOG.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/routes +%{python_sitelib}/Routes-%{version}*-info %changelog