已开启
增加sw support #52
wuzx065891创建于 2024年9月24日
增加sw support #52
已开启
wuzx065891创建于 2024年9月24日
从refs/pull/52/head合入到openEuler-22.03-LTS-SP1
共 1 个文件变更+8-1
@@ -2,7 +2,7 @@
2 2 
3Name: tpm2-abrmd3Name: tpm2-abrmd
4Version: 2.4.14Version: 2.4.1
5-Release: 25+Release: 3
6Summary: A system daemon implementing the TPM2 access broker (TAB) & Resource Manager (RM) spec from the TCG6Summary: A system daemon implementing the TPM2 access broker (TAB) & Resource Manager (RM) spec from the TCG
7License: BSD7License: BSD
8URL: https://github.com/tpm2-software/tpm2-abrmd8URL: https://github.com/tpm2-software/tpm2-abrmd
@@ -72,7 +72,11 @@ popd
72chrpath -d $RPM_BUILD_ROOT%{_libdir}/libtss2-tcti-tabrmd.so.0.0.072chrpath -d $RPM_BUILD_ROOT%{_libdir}/libtss2-tcti-tabrmd.so.0.0.0
73chrpath -d $RPM_BUILD_ROOT%{_sbindir}/tpm2-abrmd73chrpath -d $RPM_BUILD_ROOT%{_sbindir}/tpm2-abrmd
74mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d74mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
75+%ifarch sw_64
76+echo "/usr/lib/" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
77+%else
75echo "/usr/lib64/" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf78echo "/usr/lib64/" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
79+%endif
76 80 
77%check81%check
78make check82make check
@@ -132,6 +136,9 @@ fi
132%{_datadir}/selinux/packages/tabrmd.pp.bz2136%{_datadir}/selinux/packages/tabrmd.pp.bz2
133 137 
134%changelog138%changelog
139+* Tue Sep 24 2024 wuzx<wuzx1226@qq.com> - 2.4.1-3
140+- add sw64 support
141+ 
135* Tue Jan 10 2023 jinlun <jinlun@huawei.com> - 2.4.1-2142* Tue Jan 10 2023 jinlun <jinlun@huawei.com> - 2.4.1-2
136- Type:enhancement143- Type:enhancement
137- ID:NA144- ID:NA