From a6e3ce5e598660929d5818d223f40b13d6f3f355 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 --- cpp-httplib.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpp-httplib.spec b/cpp-httplib.spec index c0364b6..5981436 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -1,12 +1,12 @@ Name: cpp-httplib Version: 0.14.0 -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}/cpp-httplib-%{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 Requires: openssl-devel, glibc-devel, zlib-devel %description @@ -42,6 +42,9 @@ export GTEST_FILTER='_Online$' %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Sep 27 2023 Chenxi Mao - 0.14.0-2 +- Add openssl to build require list to fix build error + * Thu Sep 14 2023 liyanan - 0.14.0-1 - update to 0.14.0 -- Gitee