Accepting request 998081 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/998081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Routes?expand=0&rev=19
This commit is contained in:
2022-08-20 18:27:38 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 18 15:15:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Clean specfile, remove coverage
-------------------------------------------------------------------
Mon Nov 8 10:28:13 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -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