From 6507fa1fef696b03ed0f33f860dba434434442f5 Mon Sep 17 00:00:00 2001 From: Liu Gang <“liuganga@uniontech.com”> Date: Wed, 3 Mar 2021 13:53:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E6=89=80=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E4=BE=9D=E8=B5=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Liu Gang <“liuganga@uniontech.com”> --- cpp-httplib.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cpp-httplib.spec b/cpp-httplib.spec index 72e2d95..4d6f259 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -2,13 +2,14 @@ Name: cpp-httplib Version: 0.5.12 -Release: 2 +Release: 3 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}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch +Requires: openssl-devel, glibc-devel, zlib-devel %description A C++11 single-file header-only cross platform HTTP/HTTPS library. @@ -24,6 +25,7 @@ install -d %{buildroot}/%{_includedir} install -m0644 httplib.h %{buildroot}/%{_includedir} install -d %{buildroot}/%{_docdir}/%{name} cp -r example %{buildroot}/%{_docdir}/%{name} +cp %{buildroot}/%{_includedir}/httplib.h %{buildroot}/%{_docdir}/%{name} %pre @@ -37,9 +39,13 @@ cp -r example %{buildroot}/%{_docdir}/%{name} %license LICENSE %doc README.md appveyor.yml split.py %{_includedir}/* +%{_docdir}/%{name}/httplib.h %{_docdir}/%{name}/example/* %changelog +* Wed Mar 03 2021 Liu Gang +- cp httplib.h to doc dir for make example + * Mon Oct 12 2020 liqingqing_1229 - update source0's url -- Gitee From 34d2b86c0757e559d7f608354e68304258920543 Mon Sep 17 00:00:00 2001 From: Liu Gang <“liuganga@uniontech.com”> Date: Wed, 3 Mar 2021 15:34:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=8D=B8=E8=BD=BD?= =?UTF-8?q?=E5=8C=85=E5=90=8E=E4=B8=8D=E5=88=A0=E9=99=A4example=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Liu Gang <“liuganga@uniontech.com”> --- cpp-httplib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp-httplib.spec b/cpp-httplib.spec index 4d6f259..79db5fa 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -40,7 +40,7 @@ cp %{buildroot}/%{_includedir}/httplib.h %{buildroot}/%{_docdir}/%{name} %doc README.md appveyor.yml split.py %{_includedir}/* %{_docdir}/%{name}/httplib.h -%{_docdir}/%{name}/example/* +%{_docdir}/%{name}/example %changelog * Wed Mar 03 2021 Liu Gang -- Gitee