|
|
|
@ -1,16 +1,13 @@
|
|
|
|
|
%global pypi_name websockets
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 3.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 3.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An implementation of the WebSocket Protocol for python with asyncio
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
|
|
Source0: https://pypi.python.org/packages/c5/5c/fd5cbe294146421596459ba7ae55f39972d722e77da4c791fdc25be5c8e8/%{pypi_name}-%{version}.tar.gz
|
|
|
|
|
# Some tests fail with Python 3.5.2 This patch fixes them.
|
|
|
|
|
# See https://github.com/aaugustin/websockets/issues/123
|
|
|
|
|
Patch0: fix-tests-python-3.5.2.patch
|
|
|
|
|
Source0: https://pypi.python.org/packages/73/e9/e570b5f948514db504fed6f4eb014c826bdcaa053a6bfaa1f9f4c97c3f9a/websockets-3.3.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel >= 3.5
|
|
|
|
@ -49,7 +46,6 @@ It requires Python ≥ 3.4 or Python 3.3 with the asyncio module.
|
|
|
|
|
%setup -qn %{pypi_name}-%{version}
|
|
|
|
|
# Remove upstream's egg-info
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -66,12 +62,15 @@ rm -rf %{pypi_name}.egg-info
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 05 2017 Julien Enselme <jujens@jujens.eu> - 3.3-1
|
|
|
|
|
- Update to 3.3
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|