From 8e43a63f8fc0c764c7c2d6cb37ad94f0b32f4afb60674e810621465d189e6ed7 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 23 Sep 2011 12:01:57 +0000 Subject: [PATCH] - Update to version 0.7.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-http-parser?expand=0&rev=3 --- http-parser-0.6.0.tar.bz2 | 3 --- http-parser-0.7.0.tar.gz | 3 +++ python-http-parser.changes | 5 +++++ python-http-parser.spec | 20 +++++++------------- 4 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 http-parser-0.6.0.tar.bz2 create mode 100644 http-parser-0.7.0.tar.gz diff --git a/http-parser-0.6.0.tar.bz2 b/http-parser-0.6.0.tar.bz2 deleted file mode 100644 index a979689..0000000 --- a/http-parser-0.6.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a27f57d239cb0214d7ad8f77548d2a1a49613559d76b83aed08e464d85566d52 -size 112376 diff --git a/http-parser-0.7.0.tar.gz b/http-parser-0.7.0.tar.gz new file mode 100644 index 0000000..82d8866 --- /dev/null +++ b/http-parser-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f45c06019045afd5267930431284690e42ffb039ac2a433ff346a3bf92e9471f +size 135346 diff --git a/python-http-parser.changes b/python-http-parser.changes index 229da34..5a46f2f 100644 --- a/python-http-parser.changes +++ b/python-http-parser.changes @@ -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 diff --git a/python-http-parser.spec b/python-http-parser.spec index 2473afa..b5f4c13 100644 --- a/python-http-parser.spec +++ b/python-http-parser.spec @@ -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)