diff --git a/tpm2-tss.spec b/tpm2-tss.spec index b57c08bb90952f03d7020a105b35162c8429f626..460c150d66a6c4b2135d57d96e8ac5f98703c92b 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -1,6 +1,6 @@ Name: tpm2-tss Version: 4.0.1 -Release: 2 +Release: 3 Summary: TPM2.0 Software Stack License: BSD URL: https://github.com/tpm2-software/tpm2-tss @@ -31,10 +31,15 @@ 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} \ + --enable-unit +%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 +79,9 @@ make check %{_mandir}/man*/* %changelog +* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 4.0.1-3 +- Fix Remove redundant parameters + * Wed May 8 2024 jinlun - 4.0.1-2 - fix CVE-2024-29040 and fix test check error