Tomáš Chvátal 2020-04-24 06:48:23 +00:00 committed by Git OBS Bridge
parent e636d23dcd
commit 9a2e710645
2 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 24 06:47:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Execute tests
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 23 16:53:45 UTC 2020 - Marcus Rueckert <mrueckert@suse.de> Thu Apr 23 16:53:45 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,5 +1,5 @@
# #
# spec file for package python-django-rq # spec file for package python-asgiref
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2020 SUSE LLC
# #
@ -12,25 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
#
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asgiref Name: python-asgiref
Version: 3.2.7 Version: 3.2.7
Release: 0 Release: 0
License: BSD-3-Clause
Summary: ASGI specs, helper code, and adapters Summary: ASGI specs, helper code, and adapters
Url: https://github.com/django/asgiref/ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/django/asgiref/
Source: https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-%{version}.tar.gz
BuildRequires: python-rpm-macros BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module pytest >= 4.3.0}
BuildRequires: %{python_module pytest-asyncio >= 0.10.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python Requires: python
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -48,6 +51,9 @@ read more at https://asgi.readthedocs.io/en/latest/
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst