forked from pool/python-http-parser
- Update to version 0.7.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-http-parser?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
c813b83f33
commit
8e43a63f8f
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a27f57d239cb0214d7ad8f77548d2a1a49613559d76b83aed08e464d85566d52
|
||||
size 112376
|
||||
3
http-parser-0.7.0.tar.gz
Normal file
3
http-parser-0.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f45c06019045afd5267930431284690e42ffb039ac2a433ff346a3bf92e9471f
|
||||
size 135346
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 23 12:00:22 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to version 0.7.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 18:30:34 UTC 2011 - jfunk@funktronics.ca
|
||||
|
||||
|
||||
@@ -16,18 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define mod_name http-parser
|
||||
|
||||
Name: python-http-parser
|
||||
Version: 0.6.0
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
Url: https://github.com/benoitc/http-parser/
|
||||
Summary: HTTP Request/Response Parser for Python in C
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/h/http-parser/http-parser-0.6.0.tar.bz2
|
||||
Source: http://pypi.python.org/packages/source/h/http-parser/http-parser-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel python-setuptools
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%endif
|
||||
@@ -38,21 +38,15 @@ BuildRequires: python-devel python-setuptools
|
||||
HTTP request/response parser for Python in C under MIT License, based on
|
||||
http-parser from Ryan Dahl.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%setup -q -n http-parser-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
python setup.py build
|
||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# Yikes
|
||||
rm -rf %{buildroot}/usr/http_parser
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
rm -rf %{buildroot}%{python_sitelib}/http_parser/{LICENSE,MANIFEST.in,NOTICE,README.rst,THANKS} # Remove junk
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
||||
Reference in New Issue
Block a user