Unbundle http-parser

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-08-27 20:33:32 +02:00
parent 404591c9dd
commit d390a5e4b9
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 10 additions and 3 deletions

View File

@ -4,14 +4,15 @@
Name: python-%{srcname}
Version: 3.4.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Python HTTP client/server for asyncio
License: ASL 2.0
URL: https://github.com/aio-libs/aiohttp
Source0: %pypi_source
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: http-parser-devel
%description
Python HTTP client/server for asyncio which supports both the client and the
@ -33,6 +34,9 @@ with middlewares and pluggable routing.
%prep
%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
%py3_build
@ -47,6 +51,9 @@ with middlewares and pluggable routing.
%{python3_sitearch}/%{srcname}/
%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
- Fix rhbz#1622310

View File

@ -1 +1 @@
SHA512 (aiohttp-3.4.0.tar.gz) = 34d5a9c29feca5654c94c4526c26a122c7dfcd3983ccfce746d4cd993f320f19e548f95f88304eb87468d5fbba24b674ae2fcea33170fb6298e9a2c803b54277
SHA512 (aiohttp-3.4.0.tar.gz) = 3c772267f1e7d31ac3b073b91786d388e6d5292ccc70160bf44a2f6e770486bfa1884821aaa135643f53f1a2d73204b293c1ecc150b67dab1108664229485b6c