8650555
Name:           python-http-parser
358799b
Version:        0.8.3
94891f6
Release:        3%{?dist}
8650555
Summary:        HTTP request/response parser for Python
8650555
8650555
License:        MIT
8650555
URL:            https://github.com/benoitc/http-parser/
27f5bf4
Source0:        http://pypi.python.org/packages/source/h/http-parser/http-parser-%{version}.tar.gz
8650555
8650555
BuildRequires:  python-devel
8650555
BuildRequires:  python-setuptools
8650555
8650555
%filter_provides_in %{python_sitearch}/http_parser/parser.so
8650555
%filter_setup
8650555
8650555
%description
8650555
HTTP request/response parser for Python compatible with Python 2.x
8650555
(>=2.5.4), Python 3 and Pypy. If possible a C parser based on
8650555
http-parser_ from Ryan Dahl will be used.
8650555
8650555
%prep
8650555
%setup -q -n http-parser-%{version}
8650555
8650555
8650555
%build
8650555
CFLAGS="%{optflags}" %{__python} setup.py build
8650555
8650555
8650555
%install
8650555
%{__python} setup.py install -O1 --skip-build --root %{buildroot} --install-data %{python_sitearch}
8650555
8650555
8650555
%files
8650555
%doc LICENSE README.rst
8650555
%{python_sitearch}/http_parser*
8650555
8650555
8650555
%changelog
94891f6
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-3
94891f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
94891f6
4b5f1df
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
4b5f1df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4b5f1df
358799b
* Thu Sep 26 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.3-1
358799b
- Update to 0.8.3.
358799b
e88e9ed
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.12-3
e88e9ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e88e9ed
8a2ddf3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.12-2
8a2ddf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8a2ddf3
27f5bf4
* Mon Nov 05 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.12-1
27f5bf4
- Update to 0.7.12.
27f5bf4
058bde3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
058bde3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
058bde3
8650555
* Thu Mar 15 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.5-2
8650555
- Removed unneeded rm -rf %%{buildroot}.
8650555
- Placed all files under the %%{python_sitearch}.
8650555
- Filtered provide of the .so file.
8650555
8650555
* Thu Mar 15 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.7.5-1
8650555
- Initial package.
8650555