Accepting request 823277 from home:bnavigator:branches:devel:languages:python

- remove c source file from package (rpmlint error)
- needs typing-extensions

OBS-URL: https://build.opensuse.org/request/show/823277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=27
This commit is contained in:
Matej Cepl 2020-07-29 10:41:46 +00:00 committed by Git OBS Bridge
parent c733a89df7
commit 0bcb020930
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 28 21:28:25 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- remove c source file from package (rpmlint error)
- needs typing-extensions
-------------------------------------------------------------------
Tue Jul 28 19:15:09 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -35,9 +35,11 @@ BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-idna >= 2.0
Requires: python-multidict >= 4.0
Requires: python-typing_extensions >= 3.7.4
%python_subpackages
%description
@ -52,6 +54,9 @@ export CFLAGS="%{optflags}"
%install
%python_install
# devel file in non-devel-package
%python_expand rm %{buildroot}%{$python_sitearch}/yarl/_quoting_c.c
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch
@ -59,7 +64,7 @@ export CFLAGS="%{optflags}"
%files %{python_files}
%license LICENSE
%doc CHANGES.rst README.rst
%pycache_only %{python_sitearch}/yarl/__pycache__/*
%{python_sitearch}/*
%{python_sitearch}/yarl
%{python_sitearch}/yarl-%{version}-py*.egg-info
%changelog