From b7423e94c299f9da719712e01686b7a8f3208c17 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Sep 2024 18:03:11 +0800 Subject: [PATCH] add sw64 support --- tpm2-abrmd.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tpm2-abrmd.spec b/tpm2-abrmd.spec index dc0c721..5db9424 100644 --- a/tpm2-abrmd.spec +++ b/tpm2-abrmd.spec @@ -2,7 +2,7 @@ Name: tpm2-abrmd Version: 2.4.1 -Release: 2 +Release: 3 Summary: A system daemon implementing the TPM2 access broker (TAB) & Resource Manager (RM) spec from the TCG License: BSD URL: https://github.com/tpm2-software/tpm2-abrmd @@ -72,7 +72,11 @@ popd chrpath -d $RPM_BUILD_ROOT%{_libdir}/libtss2-tcti-tabrmd.so.0.0.0 chrpath -d $RPM_BUILD_ROOT%{_sbindir}/tpm2-abrmd mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d +%ifarch sw_64 +echo "/usr/lib/" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf +%else echo "/usr/lib64/" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf +%endif %check make check @@ -132,6 +136,9 @@ fi %{_datadir}/selinux/packages/tabrmd.pp.bz2 %changelog +* Tue Sep 24 2024 wuzx - 2.4.1-3 +- add sw64 support + * Tue Jan 10 2023 jinlun - 2.4.1-2 - Type:enhancement - ID:NA -- Gitee