Accepting request 906620 from security

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/906620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-tools?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2021-07-18 21:44:47 +00:00 committed by Git OBS Bridge
commit 131a800519
2 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 8 09:07:05 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
- prepare running the test suite via %check, but leave it commented out,
because it is broken due to LTO linking.
-------------------------------------------------------------------
Mon Jun 28 09:09:46 UTC 2021 - Fabian Vogt <fvogt@suse.com>

View File

@ -50,6 +50,14 @@ BuildRequires: pandoc
BuildRequires: pkgconfig
BuildRequires: tpm2-0-tss-devel
BuildRequires: tpm2.0-abrmd-devel
# requirements for unit test suite (configure --enable-unit)
BuildRequires: expect
BuildRequires: ibmswtpm2
BuildRequires: libcmocka-devel
BuildRequires: python38-pyaml
BuildRequires: tpm2.0-abrmd
# for xxd, which is also required by the tests
BuildRequires: vim
Recommends: tpm2.0-abrmd
%description
@ -63,7 +71,9 @@ associated interfaces.
%autosetup -p1 -n tpm2-tools-%{version}
%build
%configure --disable-static
# help configure find required executables for testing
export PATH=$PATH:/usr/sbin:/usr/libexec/ibmtss
%configure --disable-static --enable-unit
make %{?_smp_mflags}
%install
@ -82,4 +92,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/*
# the test suite does not currently work, because it conflicts with our LTO
# linking (see bsc#1188085).
#%%check
#make check
%changelog