diff --git a/tpm2-abrmd.spec b/tpm2-abrmd.spec index dc0c7212d3dba60ddcc6be01b1c7013af3e6f8be..5db94244610b12c8a53f9368636df6c5f0babdf9 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