Accepting request 1006322 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1006322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nghttp2?expand=0&rev=69
This commit is contained in:
Richard Brown 2022-10-01 15:41:41 +00:00 committed by Git OBS Bridge
commit 9738a5f2aa
4 changed files with 33 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Sep 24 11:21:43 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.50.0:
* https://nghttp2.org/blog/2022/09/21/nghttp2-v1-50-0/
This release adds
nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation which disables
checking leading and trailing white spaces against HTTP field value.
-------------------------------------------------------------------
Fri Sep 23 15:38:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
- disable asio by default as it is deprecated by upstream and
will be removed in the next release
-------------------------------------------------------------------
Mon Aug 22 21:23:42 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package nghttp2
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,8 +28,11 @@
%define psuffix %{nil}
%bcond_with python
%endif
# 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%{psuffix}
Version: 1.49.0
Version: 1.50.0
Release: 0
Summary: Implementation of Hypertext Transfer Protocol version 2 in C
License: MIT
@ -147,7 +150,7 @@ autoreconf -fiv
%configure \
--disable-static \
--disable-silent-rules \
--enable-asio-lib \
%{?with_asio:--enable-asio-lib} %{!?with_asio: --disable-asio-lib} \
--enable-app \
%if %{with python}
--enable-python-bindings \
@ -186,10 +189,12 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
%if !%{with python}
%post -n %{soname}-%{sover} -p /sbin/ldconfig
%post -n %{soname_asio}%{sover_asio} -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
%endif
%if %{with python}
%files -n python3-nghttp2
@ -209,21 +214,23 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
%license COPYING
%{_libdir}/%{soname}.so.%{sover}*
%files -n %{soname_asio}%{sover_asio}
%license COPYING
%{_libdir}/%{soname_asio}.so.%{sover_asio}*
%files -n %{soname}-devel
%dir %{_includedir}/%{name}/
%{_includedir}/%{name}/%{name}*.h
%{_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
%endif
%changelog