forked from pool/ibmtss
Accepting request 933779 from security
OBS-URL: https://build.opensuse.org/request/show/933779 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibmtss?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 25 11:48:53 UTC 2021 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
- Fix certificate list, run all tests.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 26 09:19:47 UTC 2021 - Petr Vorel <pvorel@suse.cz>
|
Tue Jan 26 09:19:47 UTC 2021 - Petr Vorel <pvorel@suse.cz>
|
||||||
|
|
||||||
|
@@ -80,12 +80,14 @@ Includes IBM's TPM 2.0 TSS C header files
|
|||||||
autoreconf -i
|
autoreconf -i
|
||||||
%configure --enable-hwtpm --enable-debug --disable-static
|
%configure --enable-hwtpm --enable-debug --disable-static
|
||||||
cd utils
|
cd utils
|
||||||
|
sed -i -e "s|/gsa/yktgsa/home/k/g/kgold/tpm2/utils|$PWD|" certificates/rootcerts.txt
|
||||||
%{_libexecdir}/%{name}/tpm_server & tpm_server="$!"
|
%{_libexecdir}/%{name}/tpm_server & tpm_server="$!"
|
||||||
CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libdir}" %{?_smp_mflags}
|
CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libdir}" %{?_smp_mflags}
|
||||||
testfailed=0
|
testfailed=0
|
||||||
TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=.libs ./reg.sh || testfailed=$?
|
TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=.libs ./reg.sh -a || testfailed=$?
|
||||||
kill "$tpm_server" || :
|
kill "$tpm_server" || :
|
||||||
[ "$testfailed" -eq 0 ]
|
[ "$testfailed" -eq 0 ]
|
||||||
|
sed -i -e "s|$PWD|%{_datadir}/%{name}|" certificates/rootcerts.txt
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 644 -D -t %{buildroot}%{_prefix}/lib/udev/rules.d/ %{SOURCE1}
|
install -m 644 -D -t %{buildroot}%{_prefix}/lib/udev/rules.d/ %{SOURCE1}
|
||||||
|
Reference in New Issue
Block a user