From b2a82ef551449c3d320f49eca6a22476df689818 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Mon, 13 Jun 2022 11:35:30 +0800 Subject: [PATCH] Fix build error --- nghttp2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nghttp2.spec b/nghttp2.spec index 4f0e85c..5bad113 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -1,6 +1,6 @@ Name: nghttp2 Version: 1.46.0 -Release: 1 +Release: 2 Summary: Contains the HTTP/2 client, server and proxy programs. License: MIT URL: https://nghttp2.org/ @@ -59,7 +59,8 @@ install -p -m0444 contrib/nghttpx.service $RPM_BUILD_ROOT%{_unitdir} %check export "LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH" -make %{?_smp_mflags} check +cd %{_builddir}/%{name}-%{version}/tests +make %{?_smp_mflags} %files %defattr(-,root,root) @@ -89,6 +90,9 @@ make %{?_smp_mflags} check %{_mandir}/man1/* %changelog +* Mon Jun 13 2022 baizhonggui - 1.46.0-2 +- Fix check error + * Mon Dec 06 2021 yanglu - 1.46.0-1 - Type:requirements - Id:NA -- Gitee