From 830939676cf2c0458805283c200086a89fe317e3 Mon Sep 17 00:00:00 2001 From: shen-chenbang <1944340417@qq.com> Date: Tue, 24 Sep 2024 15:15:43 +0800 Subject: [PATCH 1/3] support clang --- tpm2-tss.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tpm2-tss.spec b/tpm2-tss.spec index b57c08b..48e9835 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 @@ -33,7 +33,6 @@ Obsoletes: %{name}-static %build %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 %make_build @@ -74,6 +73,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 -- Gitee From c910c0cc9ff63fb88a565a3fc14252be2bfb0d9c Mon Sep 17 00:00:00 2001 From: shen-chenbang <1944340417@qq.com> Date: Tue, 24 Sep 2024 15:52:52 +0800 Subject: [PATCH 2/3] support clang --- tpm2-tss.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tpm2-tss.spec b/tpm2-tss.spec index 48e9835..ba94688 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -31,9 +31,7 @@ Obsoletes: %{name}-static %autosetup -n %{name}-%{version} -p1 %build -%configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80- \ - --with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir} \ - +%configure %make_build %install -- Gitee From 9f52e36da63f84a270c837616802ec4bcec534d0 Mon Sep 17 00:00:00 2001 From: shen-chenbang <1944340417@qq.com> Date: Tue, 24 Sep 2024 16:07:48 +0800 Subject: [PATCH 3/3] support clang --- tpm2-tss.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tpm2-tss.spec b/tpm2-tss.spec index ba94688..ff0f58f 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -31,7 +31,8 @@ Obsoletes: %{name}-static %autosetup -n %{name}-%{version} -p1 %build -%configure +%configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80- \ +--with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir} %make_build %install -- Gitee