diff --git a/ipvsadm.spec b/ipvsadm.spec index 586a275..362867a 100644 --- a/ipvsadm.spec +++ b/ipvsadm.spec @@ -1,6 +1,6 @@ Name: ipvsadm Version: 1.31 -Release: 5 +Release: 6 Summary: A utility to administer the IP virtual server services License: GPLv2+ URL: https://kernel.org/pub/linux/utils/kernel/ipvsadm/ @@ -26,7 +26,11 @@ offered by the Linux kernel with IP virtual server support. %build %set_build_flags -make +%if "%{?toolchain}" == "clang" + %global make_opts CC=clang CXX=clang++ +%endif + +make %{?make_opts} %install rm -rf %{buildroot} @@ -56,6 +60,12 @@ install -p -D -m 0600 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}-co %{_mandir}/man8/*8* %changelog +* Fri Apr 14 2023 jammyjellyfish - 1.31-6 +- Type: requirement +- ID: NA +- SUG: NA +- DESC: Support specify CC + * Fri Apr 22 2022 kwb0523 - 1.31-5 - Type: requirement - ID: NA