diff --git a/python-websockets.spec b/python-websockets.spec index ba5d836..02fd3e1 100644 --- a/python-websockets.spec +++ b/python-websockets.spec @@ -1,7 +1,7 @@ %define pypi_name websockets # gi-find-deps.sh is very slow but is not needed here, it may be installed locally -#define __typelib_path %{nil} +%define __typelib_path %{nil} Name: python-%{pypi_name} Version: 13.1 @@ -32,6 +32,7 @@ applications. Summary: %{summary} BuildRequires: python38-devel BuildRequires: python38-setuptools +BuildRequires: python38-pathlib2 # the 10.1 pops up always. Obsoletes: python38-%{pypi_name} < %{EVRD} @@ -47,7 +48,7 @@ Obsoletes: python38-%{pypi_name} < %{EVRD} %prep %setup -qn %{pypi_name}-%{version} -#patch0 -p1 +%patch0 -p1 # Remove upstream's egg-info #rm -vrf %{pypi_name}.egg-info @@ -56,6 +57,7 @@ Obsoletes: python38-%{pypi_name} < %{EVRD} %build %py38_build +#make build %install %py38_install @@ -69,5 +71,5 @@ find %{buildroot} -type f -empty -delete # Skip tests because they fail on Python 3.8. See: https://github.com/aaugustin/websockets/issues/648 # WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100 %%{__python3} setup.py test # test needs internet connections -# %%py3_test +#py38_test