diff --git a/tpm2-tss.spec b/tpm2-tss.spec index cab55c6..654be39 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -1,6 +1,6 @@ Name: tpm2-tss Version: 4.0.1 -Release: 3 +Release: 4 Summary: TPM2.0 Software Stack License: BSD URL: https://github.com/tpm2-software/tpm2-tss @@ -31,10 +31,14 @@ Obsoletes: %{name}-static %autosetup -n %{name}-%{version} -p1 %build +%if "%toolchain" == "clang" +%configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80- \ + --with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir} +%else %configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80- \ --with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir} \ --enable-unit --enable-integration - +%endif %make_build %install @@ -74,6 +78,9 @@ make check %{_mandir}/man*/* %changelog +* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 4.0.1-4 +- Fix incorrect function definition + * Fri May 10 2024 gengqihu - 4.0.1-3 - Type:CVE - ID:NA