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:
Chenxi Mao 2023-09-27 16:07:26 +08:00
parent 0d64ed947d
commit a6e3ce5e59

View File

@ -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 <chenxi.mao@suse.com> - 0.14.0-2
- Add openssl to build require list to fix build error
* Thu Sep 14 2023 liyanan <thistleslyn@163.com> - 0.14.0-1
- update to 0.14.0