This commit is contained in:
Sergey Zhemoytel 2024-10-05 20:28:05 +00:00
parent e0ce4ea99c
commit 3b43478c32
2 changed files with 7 additions and 3 deletions

View file

@ -1,2 +1,2 @@
sources:
ngtcp2-1.7.0.tar.gz: 7884292070f9f199cea48f9237f3231b1e5f5e2c
ngtcp2-1.8.0.tar.gz: 9b33b7fa7ebb8de10a2678677e15fd7f96799bfa

View file

@ -10,10 +10,10 @@
%define debug %nil
%define debug_package %nil
%define secscan 1
%define secscan 0
Name: ngtcp2
Version: 1.7.0
Version: 1.8.0
Release: 1
Summary: ngtcp2 project is an effort to implement IETF QUIC protocol
License: MIT
@ -31,6 +31,7 @@ BuildRequires: pkgconfig(libev)
BuildRequires: pkgconfig(gnutls) >= 3.7.5
BuildRequires: pkgconfig(libnghttp3)
BuildRequires: pkgconfig(openssl3.3)
BuildRequires: pkgconfig(wolfssl)
%if %{secscan}
BuildRequires: clamav
@ -127,10 +128,13 @@ export CFLAGS="-I/usr/include/libstdc++-gcc10 -I/usr/include/libstdc++-gcc10/%{_
export CXXFLAGS="-I/usr/include/libstdc++-gcc10 -I/usr/include/libstdc++-gcc10/%{_host}"
export PKG_CONFIG_PATH="/opt/openssl3.3/lib/pkgconfig:${PKG_CONFIG_PATH}"
export LD_LIBRARY_PATH=/opt/openssl3.3/lib/:${LD_LIBRARY_PATH}
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_GNUTLS:BOOL=ON \
-DENABLE_OPENSSL:BOOL=ON \
-DENABLE_WOLFSSL:BOOL=ON \
-DOPENSSL_ROOT_DIR="/opt/openssl3.3" \
-DLIBS="${LIBS}:/opt/openssl3.3/lib" \
-DBUILD_TESTING:BOOL=OFF