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 <chenxi.mao@suse.com>
This commit is contained in:
parent
171c871c19
commit
9690761e6f
@ -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 <chenxi.mao@suse.com> - 0.12.4-2
|
||||
- Add openssl to build require list to fix build error
|
||||
|
||||
* Tue Jun 13 2023 yaoxin <yao_xin001@hoperun.com> - 0.12.4-1
|
||||
- Update to 0.12.4 for fix CVE-2023-26130
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user