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:
parent
c733a89df7
commit
0bcb020930
@ -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>
|
Tue Jul 28 19:15:09 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -35,9 +35,11 @@ BuildRequires: %{python_module pytest-cov}
|
|||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-idna >= 2.0
|
Requires: python-idna >= 2.0
|
||||||
Requires: python-multidict >= 4.0
|
Requires: python-multidict >= 4.0
|
||||||
|
Requires: python-typing_extensions >= 3.7.4
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,6 +54,9 @@ export CFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_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
|
%check
|
||||||
%pytest_arch
|
%pytest_arch
|
||||||
@ -59,7 +64,7 @@ export CFLAGS="%{optflags}"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%pycache_only %{python_sitearch}/yarl/__pycache__/*
|
%{python_sitearch}/yarl
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/yarl-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user