Hello community,
here is the log from the commit of package python-http-parser for
openSUSE:Factory checked in at 2017-09-05 15:16:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-http-parser (Old)
and /work/SRC/openSUSE:Factory/.python-http-parser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-http-parser"
Tue Sep 5 15:16:16 2017 rev:15 rq:520557 version:0.8.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-http-parser/python-http-parser.changes
2013-12-09 16:56:24.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-http-parser.new/python-http-parser.changes
2017-09-05 15:16:17.724169017 +0200
@@ -1,0 +2,10 @@
+Fri Sep 1 18:01:25 UTC 2017 - [email protected]
+
+- Remove duplicated license metadata.
+
+-------------------------------------------------------------------
+Thu Aug 24 13:40:51 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -97,0 +108 @@
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-http-parser.spec ++++++
--- /var/tmp/diff_new_pack.PqvxLH/_old 2017-09-05 15:16:18.272091999 +0200
+++ /var/tmp/diff_new_pack.PqvxLH/_new 2017-09-05 15:16:18.276091437 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-http-parser
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,37 +16,38 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-http-parser
Version: 0.8.3
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-%{version}.tar.gz
+Url: https://github.com/benoitc/http-parser/
+Source:
https://files.pythonhosted.org/packages/source/h/http-parser/http-parser-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%endif
+%python_subpackages
%description
-HTTP request/response parser for Python in C under MIT License, based on
+HTTP request/response parser for Python in C, based on
http-parser from Ryan Dahl.
%prep
%setup -q -n http-parser-%{version}
%build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
# Remove exec bits from example scripts
chmod a-x examples/*
-%files
+%files %{python_files}
%defattr(-,root,root)
%doc LICENSE NOTICE README.rst examples
%{python_sitearch}/*