Unbundle http-parser
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
404591c9dd
commit
d390a5e4b9
@ -4,14 +4,15 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 3.4.0
|
Version: 3.4.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Python HTTP client/server for asyncio
|
Summary: Python HTTP client/server for asyncio
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/aio-libs/aiohttp
|
URL: https://github.com/aio-libs/aiohttp
|
||||||
Source0: %pypi_source
|
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: http-parser-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python HTTP client/server for asyncio which supports both the client and the
|
Python HTTP client/server for asyncio which supports both the client and the
|
||||||
@ -33,6 +34,9 @@ with middlewares and pluggable routing.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
# Unbundle
|
||||||
|
sed -i -e '/http_parser.h/s/".*\//"/' aiohttp/_cparser.pxd
|
||||||
|
sed -i -e '/http_parser\.c/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -47,6 +51,9 @@ with middlewares and pluggable routing.
|
|||||||
%{python3_sitearch}/%{srcname}/
|
%{python3_sitearch}/%{srcname}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.0-4
|
||||||
|
- Unbundle http-parser
|
||||||
|
|
||||||
* Mon Aug 27 2018 Fabian Affolter <mail@fabian-affolter.ch> - 3.4.0-3
|
* Mon Aug 27 2018 Fabian Affolter <mail@fabian-affolter.ch> - 3.4.0-3
|
||||||
- Fix rhbz#1622310
|
- Fix rhbz#1622310
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (aiohttp-3.4.0.tar.gz) = 34d5a9c29feca5654c94c4526c26a122c7dfcd3983ccfce746d4cd993f320f19e548f95f88304eb87468d5fbba24b674ae2fcea33170fb6298e9a2c803b54277
|
SHA512 (aiohttp-3.4.0.tar.gz) = 3c772267f1e7d31ac3b073b91786d388e6d5292ccc70160bf44a2f6e770486bfa1884821aaa135643f53f1a2d73204b293c1ecc150b67dab1108664229485b6c
|
||||||
|
Loading…
Reference in New Issue
Block a user