From 8566a367e808d3f20d68df6710bb45f1e16ae8b6d75a0cd4ef6fcd3709e7f5f0 Mon Sep 17 00:00:00 2001 From: Matthias Gerstner Date: Wed, 11 Dec 2019 11:27:31 +0000 Subject: [PATCH] adjust spec file to account for newly added libraries OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=86 --- tpm2-0-tss.spec | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tpm2-0-tss.spec b/tpm2-0-tss.spec index 94167fd..a2c4d2f 100644 --- a/tpm2-0-tss.spec +++ b/tpm2-0-tss.spec @@ -46,9 +46,11 @@ Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libtss2-esys0 = %{version} Requires: libtss2-mu0 = %{version} +Requires: libtss2-rc0 = %{version} Requires: libtss2-sys0 = %{version} Requires: libtss2-tcti-device0 = %{version} Requires: libtss2-tcti-mssim0 = %{version} +Requires: libtss2-tctildr0 = %{version} Requires: tpm2-0-tss = %{version} %description devel @@ -89,6 +91,21 @@ Marshaling/Unmarshaling API Specification. This API provides a set of marshaling and unmarshaling functions for all data types defined by the TPM library specification. +%package -n libtss2-rc0 +Summary: TPM2 error code translation library +Group: System/Libraries + +%description -n libtss2-rc0 +This library can translate TPM error codes into human readable strings. + +%package -n libtss2-tctildr0 +Summary: TCTI interface loading library +Group: System/Libraries + +%description -n libtss2-tctildr0 +This is a helper library that simplifies loading other tcti libraries. It is +recommended over custom tcti loading code in applications. + %package -n libtss2-tcti-device0 Summary: TCTI interface library for using a native TPM device node Group: System/Libraries @@ -150,12 +167,16 @@ mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{ud %postun -n libtss2-esys0 -p /sbin/ldconfig %post -n libtss2-sys0 -p /sbin/ldconfig %postun -n libtss2-sys0 -p /sbin/ldconfig +%post -n libtss2-tctildr0 -p /sbin/ldconfig +%postun -n libtss2-tctildr0 -p /sbin/ldconfig %post -n libtss2-tcti-device0 -p /sbin/ldconfig %postun -n libtss2-tcti-device0 -p /sbin/ldconfig %post -n libtss2-tcti-mssim0 -p /sbin/ldconfig %postun -n libtss2-tcti-mssim0 -p /sbin/ldconfig %post -n libtss2-mu0 -p /sbin/ldconfig %postun -n libtss2-mu0 -p /sbin/ldconfig +%post -n libtss2-rc0 -p /sbin/ldconfig +%postun -n libtss2-rc0 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -182,6 +203,14 @@ mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{ud %defattr(-,root,root) %{_libdir}/libtss2-mu.so.* +%files -n libtss2-rc0 +%defattr(-,root,root) +%{_libdir}/libtss2-rc.so.* + +%files -n libtss2-tctildr0 +%defattr(-,root,root) +%{_libdir}/libtss2-tctildr.so.* + %files -n libtss2-tcti-device0 %defattr(-,root,root) %{_libdir}/libtss2-tcti-device.so.*