diff --git a/mandoc.spec b/mandoc.spec index baacc1e8da0c7c35cf6fb768470a0f66d954951c..a17f344331ad208bfb43338b8d2ed9abd2757abc 100644 --- a/mandoc.spec +++ b/mandoc.spec @@ -1,6 +1,6 @@ Name: mandoc Version: 1.14.6 -Release: 5 +Release: 6 Summary: A suite of tools for compiling mdoc and man License: ISC @@ -10,7 +10,6 @@ Patch0: 0001-add-compile-option.patch BuildRequires: gcc BuildRequires: make -BuildRequires: clang BuildRequires: zlib-devel # requirements for %%check @@ -75,7 +74,7 @@ echo 'CFLAGS="%{optflags} -fPIC -Werror=implicit-function-declaration"' >> confi %else echo 'CFLAGS="%{optflags} -fPIC"' >> configure.local %endif -export CC=clang +%set_build_cc ./configure %make_build @@ -178,6 +177,9 @@ fi %{_mandir}/man3/tbl.3* %changelog +* Sun Nov 17 2024 Funda Wang - 1.14.6-6 +- do not force clang as cc, it is using different optflags than gcc now + * Mon Apr 22 2024 lilong - 1.14.6-5 - Fix low-level dependency compilation failure