From 0a18d247e43f06a11c4e2310ecfcd83af76586d6 Mon Sep 17 00:00:00 2001 From: Chenxi Mao Date: Wed, 27 Sep 2023 16:07:26 +0800 Subject: [PATCH] Add openssl to buildrequires openssl should be added to buildrequires directly to avoid below build error. [ 10s] Run-time dependency GTest found: YES 1.8.1 [ 10s] Program openssl found: NO [ 10s] [ 10s] test/meson.build:6:0: ERROR: Program 'openssl' not found Signed-off-by: Chenxi Mao (cherry picked from commit 9690761e6ffb104e91d5e982eaebffa5df1c001e) --- cpp-httplib.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpp-httplib.spec b/cpp-httplib.spec index efa43de..1f18d97 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -2,13 +2,13 @@ Name: cpp-httplib Version: 0.12.4 -Release: 1 +Release: 2 Summary: A C++ header-only HTTP/HTTPS server and client library License: MIT URL: https://github.com/yhirose/cpp-httplib Source0: https://github.com/yhirose/cpp-httplib/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ meson >= 0.47.0 openssl-devel brotli-devel gtest-devel zlib-devel +BuildRequires: gcc-c++ meson >= 0.47.0 openssl openssl-devel brotli-devel gtest-devel zlib-devel %description A C++11 single-file header-only cross platform HTTP/HTTPS library. @@ -43,6 +43,9 @@ export GTEST_FILTER='_Online$' %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Sep 27 2023 Chenxi Mao - 0.12.4-2 +- Add openssl to build require list to fix build error + * Tue Jun 13 2023 yaoxin - 0.12.4-1 - Update to 0.12.4 for fix CVE-2023-26130 -- Gitee