From 80dda55880b5e7a007d1b90285a0ff7e9d901ab2 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Mon, 28 Aug 2023 15:23:34 +0800 Subject: [PATCH] fix build failure, add include directory (cherry picked from commit 2c8d2758dba4e9a592a315af2fe30e5130638676) --- webbench.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webbench.spec b/webbench.spec index 0adf1c4..7a30a9f 100644 --- a/webbench.spec +++ b/webbench.spec @@ -2,7 +2,7 @@ Name: webbench Version: 1.5 -Release: 3 +Release: 4 Summary: simple tool for benchmarking WWW or proxy servers License: GPL-1.0-or-later URL: http://home.tiscali.cz/~cz210552/webbench.html @@ -23,6 +23,8 @@ Web Bench is very simple tool for benchmarking WWW or proxy servers. Uses fork() %patch1 -p1 %build +ADDITIONAL=' -ggdb -W -I/usr/include/tirpc' +CFLAGS+=$ADDITIONAL %make_build %install @@ -42,6 +44,9 @@ Web Bench is very simple tool for benchmarking WWW or proxy servers. Uses fork() %{_mandir}/* %changelog +* Mon Aug 28 2023 Ge Wang - 1.5-4 +- Fix build error, add include directory + * Mon Jul 18 2022 wangkai - 1.5-3 - License compliance rectification -- Gitee