Accepting request 632112 from devel:languages:python

- Raise multidict requirement to match up setup.py

OBS-URL: https://build.opensuse.org/request/show/632112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2018-08-31 08:45:08 +00:00 committed by Git OBS Bridge
commit b29ffe0957
2 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 29 09:17:59 UTC 2018 - tchvatal@suse.com
- Raise multidict requirement to match up setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 24 18:28:57 UTC 2018 - arun@gmx.de Sat Feb 24 18:28:57 UTC 2018 - arun@gmx.de

View File

@ -24,23 +24,21 @@ Release: 0
Summary: Yet another URL library Summary: Yet another URL library
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/aio-libs/yarl/ URL: https://github.com/aio-libs/yarl/
Source: https://files.pythonhosted.org/packages/source/y/yarl/yarl-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/y/yarl/yarl-%{version}.tar.gz
BuildRequires: %{python_module Cython} BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module idna >= 2.0} BuildRequires: %{python_module idna >= 2.0}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# test requirements # test requirements
BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: python3-multidict >= 2.0 BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: python3-multidict >= 4.0
Requires: python-idna >= 2.0 Requires: python-idna >= 2.0
%ifpython3 %ifpython3
Requires: python3-multidict >= 2.0 Requires: python3-multidict >= 4.0
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages %python_subpackages
%description %description
@ -60,8 +58,8 @@ export CFLAGS="%{optflags}"
%python_exec setup.py test %python_exec setup.py test
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc CHANGES.rst LICENSE README.rst %doc CHANGES.rst README.rst
%{python_sitearch}/* %{python_sitearch}/*
%changelog %changelog