From e09f0cecff23550bdd6465617fba7227c8a879332c3461eb9d70b6615d404cdf Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 18 May 2023 04:59:08 +0000 Subject: [PATCH 1/2] - Update to version 1.53.0: * https://nghttp2.org/blog/2023/05/10/nghttp2-v1-53-0/ OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=110 --- baselibs.conf | 1 - nghttp2.changes | 6 ++++++ nghttp2.spec | 54 +++++-------------------------------------------- 3 files changed, 11 insertions(+), 50 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index c3a4f7d..8f82c0d 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1 @@ libnghttp2-14 -libnghttp2_asio1 diff --git a/nghttp2.changes b/nghttp2.changes index 2daaccb..6e342e6 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 18 04:53:42 UTC 2023 - Martin Pluskal + +- Update to version 1.53.0: + * https://nghttp2.org/blog/2023/05/10/nghttp2-v1-53-0/ + ------------------------------------------------------------------- Tue Mar 14 09:33:48 UTC 2023 - Dirk Müller diff --git a/nghttp2.spec b/nghttp2.spec index 906392c..9a787e9 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -1,7 +1,7 @@ # # spec file for package nghttp2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,11 +21,8 @@ %global soname_asio libnghttp2_asio %global sover_asio 1 %global flavor @BUILD_FLAVOR@%{nil} -# libnghttp2_asio has been deprecated in this repository due to maintenance -# issue and will be removed at the end of 2022 -%bcond_with asio Name: nghttp2 -Version: 1.52.0 +Version: 1.53.0 Release: 0 Summary: Implementation of Hypertext Transfer Protocol version 2 in C License: MIT @@ -36,6 +33,8 @@ Source1: baselibs.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: libboost_system-devel +BuildRequires: libboost_thread-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python-rpm-macros @@ -49,16 +48,8 @@ BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) %ifnarch ppc %{arm} -%if 0%{?sle_version} >= 150000 && 0%{?is_opensuse} BuildRequires: pkgconfig(jemalloc) %endif -%endif -%if 0%{?suse_version} > 1325 -BuildRequires: libboost_system-devel -BuildRequires: libboost_thread-devel -%else -BuildRequires: boost-devel -%endif %description This is an implementation of Hypertext Transfer Protocol version 2. @@ -77,14 +68,6 @@ Group: System/Libraries 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. - %package -n python3-nghttp2 Summary: Python3 bindings for nghttp2 Group: Development/Libraries/Python @@ -103,15 +86,6 @@ Provides: %{name}-devel Development files for usage with libnghttp2, which implements Hypertext Transfer Protocol version 2. -%package -n %{soname_asio}-devel -Summary: Development files for nghttp2 -Group: Development/Languages/C and C++ -Requires: %{soname_asio}%{sover_asio} = %{version} - -%description -n %{soname_asio}-devel -Development files for usage with libnghttp2_aio, which implements -asynchronous Hypertext Transfer Protocol version 2. - %package doc Summary: Documentation for nghttp2 Group: Documentation/HTML @@ -130,7 +104,6 @@ autoreconf -fiv %configure \ --disable-static \ --disable-silent-rules \ - %{?with_asio:--enable-asio-lib} %{!?with_asio: --disable-asio-lib} \ --enable-app \ %{nil} %make_build all @@ -150,12 +123,7 @@ rm -rf %{buildroot}%{_mandir}/man1/* \ # One test fails if python-sphinx is not present %make_build check ||: -%post -n %{soname}-%{sover} -p /sbin/ldconfig -%postun -n %{soname}-%{sover} -p /sbin/ldconfig -%if %{with asio} -%post -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig -%postun -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig -%endif +%ldconfig_scriptlets -n %{soname}-%{sover} %files %{_bindir}/deflatehd @@ -176,16 +144,4 @@ rm -rf %{buildroot}%{_mandir}/man1/* \ %{_libdir}/%{soname}.so %{_libdir}/pkgconfig/%{soname}.pc -%if %{with asio} -%files -n %{soname_asio}%{sover_asio} -%license COPYING -%{_libdir}/%{soname_asio}.so.%{sover_asio}* - -%files -n %{soname_asio}-devel -%dir %{_includedir}/%{name}/ -%{_includedir}/%{name}/asio_http2*.h -%{_libdir}/%{soname_asio}.so -%{_libdir}/pkgconfig/%{soname_asio}.pc -%endif - %changelog From 77e5365a4336b8601a5ef42c608a23aa7f1d229758e6588551a15923f306675c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 18 May 2023 04:59:18 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=111 --- nghttp2-1.52.0.tar.xz | 3 --- nghttp2-1.53.0.tar.xz | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 nghttp2-1.52.0.tar.xz create mode 100644 nghttp2-1.53.0.tar.xz diff --git a/nghttp2-1.52.0.tar.xz b/nghttp2-1.52.0.tar.xz deleted file mode 100644 index 99cd6db..0000000 --- a/nghttp2-1.52.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ea9f0439e60469ad4d39cb349938684ffb929dd7e8e06a7bffe9f9d21f8ba7d -size 1491732 diff --git a/nghttp2-1.53.0.tar.xz b/nghttp2-1.53.0.tar.xz new file mode 100644 index 0000000..51c0c9b --- /dev/null +++ b/nghttp2-1.53.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b867184254e5a29b0ba68413aa14f8b0ce1142a371761374598dec092dabb809 +size 1543180