From 648a46e6be3faad38f64ff69d5c898e895c8e68f0009ff87407ed3d9afd6350a Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 6 Dec 2017 16:40:03 +0000 Subject: [PATCH 1/2] - Upodate to version 1.28.0: * lib: Add nghttp2_error_callback2 * build: Add deprecation warning when spdylay support is enabled * Switch to clang-format-5.0 * examples: Make client and server work with libevent-2.1.8 * third-party: Update neverbleed * integration: Fix issues reported by the go vet tool. * nghttpx: Fix affinity retry * nghttpx: Fix stalled backend connection on retry * nghttpx: Cookie based session affinity * nghttpx: Expose additional TLS related variables to mruby and accesslog OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=78 --- nghttp2-1.27.0.tar.xz | 3 --- nghttp2-1.28.0.tar.xz | 3 +++ nghttp2.changes | 16 ++++++++++++++++ nghttp2.spec | 12 ++++++------ 4 files changed, 25 insertions(+), 9 deletions(-) delete mode 100644 nghttp2-1.27.0.tar.xz create mode 100644 nghttp2-1.28.0.tar.xz diff --git a/nghttp2-1.27.0.tar.xz b/nghttp2-1.27.0.tar.xz deleted file mode 100644 index 043fedd..0000000 --- a/nghttp2-1.27.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e83819560952a3dc3c8d96c46f60745408f46f5f384168c90b9e3dfa53b2c2c8 -size 1546064 diff --git a/nghttp2-1.28.0.tar.xz b/nghttp2-1.28.0.tar.xz new file mode 100644 index 0000000..5908808 --- /dev/null +++ b/nghttp2-1.28.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d6c3f00614deca3935e42a27f6ad0ea87c31d8c1baa3a9c52755955c599fd8d +size 1553032 diff --git a/nghttp2.changes b/nghttp2.changes index 5023215..72c464a 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Dec 6 16:35:46 UTC 2017 - mpluskal@suse.com + +- Upodate to version 1.28.0: + * lib: Add nghttp2_error_callback2 + * build: Add deprecation warning when spdylay support is enabled + * Switch to clang-format-5.0 + * examples: Make client and server work with libevent-2.1.8 + * third-party: Update neverbleed + * integration: Fix issues reported by the go vet tool. + * nghttpx: Fix affinity retry + * nghttpx: Fix stalled backend connection on retry + * nghttpx: Cookie based session affinity + * nghttpx: Expose additional TLS related variables to mruby and + accesslog + ------------------------------------------------------------------- Wed Nov 8 16:54:59 UTC 2017 - mpluskal@suse.com diff --git a/nghttp2.spec b/nghttp2.spec index 7f802e6..3cb19b2 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -21,12 +21,12 @@ %define soname_asio libnghttp2_asio %define sover_asio 1 Name: nghttp2 -Version: 1.27.0 +Version: 1.28.0 Release: 0 Summary: Implementation of Hypertext Transfer Protocol version 2 in C License: MIT Group: Development/Libraries/C and C++ -Url: https://nghttp2.org/ +URL: https://nghttp2.org/ Source: https://github.com/tatsuhiro-t/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE nghttp2-remove-python-build.patch @@ -36,14 +36,11 @@ BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: python3-devel BuildRequires: python3-Cython +BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: pkgconfig(cunit) BuildRequires: pkgconfig(jansson) -%ifnarch ppc %arm -BuildRequires: pkgconfig(jemalloc) -%endif BuildRequires: pkgconfig(libcares) BuildRequires: pkgconfig(libev) BuildRequires: pkgconfig(libspdylay) @@ -51,6 +48,9 @@ BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) +%ifnarch ppc %{arm} +BuildRequires: pkgconfig(jemalloc) +%endif %if 0%{?suse_version} > 1325 BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel From e7984034ac0e128be7d05676e640944d4c4778a2e1c8d72c53ca595dbc223951 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 11 Dec 2017 19:05:51 +0000 Subject: [PATCH 2/2] Accepting request 556025 from home:dimstar:Factory - Export PYTHON=/usr/bin/python3 before running configure: allow to build without (comnplete) python2 in the buildroot. In any case we only ship python3-bindings already. Happens to also fix build in Staging_A, where rpm is being reworked (also python bindings) OBS-URL: https://build.opensuse.org/request/show/556025 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=79 --- nghttp2.changes | 7 +++++++ nghttp2.spec | 1 + 2 files changed, 8 insertions(+) diff --git a/nghttp2.changes b/nghttp2.changes index 72c464a..438883d 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 11 16:53:16 UTC 2017 - dimstar@opensuse.org + +- Export PYTHON=/usr/bin/python3 before running configure: allow to + build without (comnplete) python2 in the buildroot. In any case + we only ship python3-bindings already. + ------------------------------------------------------------------- Wed Dec 6 16:35:46 UTC 2017 - mpluskal@suse.com diff --git a/nghttp2.spec b/nghttp2.spec index 3cb19b2..c689bf4 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -124,6 +124,7 @@ HTTP/2 client, server and proxy. %build autoreconf -fiv +export PYTHON=%{_bindir}/python3 %configure \ --disable-static \ --disable-silent-rules \