Accepting request 536838 from devel:libraries:c_c++

- Update to version 1.27.0:
  * h2load: Print out h2 header fields with --verbose option
  * nghttpx: Send non-final response to HTTP/1.1 or HTTP/2 client
    only
- Changes for version 1.26.0:
  * docs: Fix some typos in the nghttpx how-to
  * h2load: Fix bug that timing script stalls with -m1
  * h2load: Reservoir sampling (GH-984)
  * h2load: Add timing-based load-testing in h2load
- Switch to python3 support

OBS-URL: https://build.opensuse.org/request/show/536838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nghttp2?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2017-10-28 12:20:49 +00:00 committed by Git OBS Bridge
commit 30240c47a1
4 changed files with 38 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9553f144e60aa0d7bc5245df1c0f6a867a9fd9dc35ed6f358c6122a844d52f62
size 1542924

3
nghttp2-1.27.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e83819560952a3dc3c8d96c46f60745408f46f5f384168c90b9e3dfa53b2c2c8
size 1546064

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Oct 26 10:28:19 UTC 2017 - mpluskal@suse.com
- Update to version 1.27.0:
* h2load: Print out h2 header fields with --verbose option
* nghttpx: Send non-final response to HTTP/1.1 or HTTP/2 client
only
- Changes for version 1.26.0:
* docs: Fix some typos in the nghttpx how-to
* h2load: Fix bug that timing script stalls with -m1
* h2load: Reservoir sampling (GH-984)
* h2load: Add timing-based load-testing in h2load
- Switch to python3 support
-------------------------------------------------------------------
Mon Oct 9 10:14:26 UTC 2017 - schwab@suse.de

View File

@ -21,7 +21,7 @@
%define soname_asio libnghttp2_asio
%define sover_asio 1
Name: nghttp2
Version: 1.25.0
Version: 1.27.0
Release: 0
Summary: Implementation of Hypertext Transfer Protocol version 2 in C
License: MIT
@ -36,8 +36,9 @@ BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-Cython
BuildRequires: python-setuptools
BuildRequires: python3-devel
BuildRequires: python3-Cython
BuildRequires: python3-setuptools
BuildRequires: pkgconfig(cunit)
BuildRequires: pkgconfig(jansson)
%ifnarch ppc %arm
@ -61,10 +62,9 @@ BuildRequires: boost-devel
%description
This is an implementation of Hypertext Transfer Protocol version 2.
The framing layer of HTTP/2 is implemented as a form of reusable C
library. On top of that, we have implemented HTTP/2 client, server
and proxy. We have also developed load test and benchmarking tool
for HTTP/2.
The framing layer of HTTP/2 is implemented as a form of reusable C library.
On top of that, we have implemented HTTP/2 client, server and proxy. We
have also developed load test and benchmarking tool for HTTP/2.
HPACK encoder and decoder are available as public API.
@ -73,26 +73,24 @@ Summary: Shared library for nghttp2
Group: System/Libraries
%description -n %{soname}-%{sover}
Shared C libraries for implementation of
Hypertext Transfer Protocol version 2.
Shared C libraries for implementation of Hypertext Transfer Protocol
version 2.
%package -n %{soname_asio}%{sover_asio}
Summary: Shared library for nghttp2
Group: System/Libraries
%description -n %{soname_asio}%{sover_asio}
Shared libraries for asynchronous implementation of
Hypertext Transfer Protocol version 2.
Shared libraries for asynchronous implementation of Hypertext Transfer
Protocol version 2.
%package -n python2-%{name}
Summary: Python bindings for nghttp2
%package -n python3-%{name}
Summary: Python3 bindings for nghttp2
Group: Development/Libraries/Python
Provides: python-%{name} = %{version}
Obsoletes: python-%{name} < %{version}
%description -n python2-%{name}
Python bindings for implementation of
Hypertext Transfer Protocol version 2.
%description -n python3-%{name}
Python bindings for implementation of Hypertext Transfer Protocol version
2.
%package -n %{soname}-devel
Summary: Development files for nghttp2
@ -136,13 +134,13 @@ autoreconf -fiv
make %{?_smp_mflags} all
pushd python
make %{?_smp_mflags} nghttp2.c
python setup.py build
python3 setup.py build
popd
%install
%make_install
pushd python
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
popd
find %{buildroot} -type f -name "*.la" -delete -print
@ -180,9 +178,9 @@ make %{?_smp_mflags} check ||:
%doc COPYING
%{_libdir}/%{soname_asio}.so.%{sover_asio}*
%files -n python2-%{name}
%{python_sitearch}/nghttp2.so
%{python_sitearch}/python_nghttp2-*
%files -n python3-%{name}
%{python3_sitearch}/nghttp2.*.so
%{python3_sitearch}/python_nghttp2-*
%files -n %{soname}-devel
%dir %{_includedir}/%{name}/