Package the use_chardet_on_py3 extra
This has the helpful side effect of exercizing the runtime chardet version test at build time.
This commit is contained in:
parent
5963696f2d
commit
8fbcd522da
1 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# When bootstrapping Python, we cannot test this yet
|
||||
# RHEL does not include the test dependencies
|
||||
%bcond tests %{undefined rhel}
|
||||
# The extras are disabled on RHEL to avoid pysocks and deprecated requests[security]
|
||||
# The extras are disabled on RHEL to avoid pysocks, chardet, and deprecated requests[security]
|
||||
%bcond extras %[%{undefined rhel} || %{defined eln}]
|
||||
%bcond extradeps %{undefined rhel}
|
||||
|
||||
|
|
@ -57,12 +57,12 @@ designed to make HTTP requests easy for developers.
|
|||
|
||||
|
||||
%if %{with extras}
|
||||
%pyproject_extras_subpkg -n python%{python3_pkgversion}-requests security socks
|
||||
%pyproject_extras_subpkg -n python%{python3_pkgversion}-requests security socks use_chardet_on_py3
|
||||
%endif
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires %{?with_extradeps:-x security,socks}
|
||||
%pyproject_buildrequires %{?with_extradeps:-x security,socks,use_chardet_on_py3}
|
||||
|
||||
|
||||
%prep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue