Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tpm2.0-tools for openSUSE:Factory checked in at 2021-12-08 22:08:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tpm2.0-tools (Old) and /work/SRC/openSUSE:Factory/.tpm2.0-tools.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm2.0-tools" Wed Dec 8 22:08:49 2021 rev:33 rq:936758 version:5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/tpm2.0-tools/tpm2.0-tools.changes 2021-10-23 00:50:43.825126259 +0200 +++ /work/SRC/openSUSE:Factory/.tpm2.0-tools.new.31177/tpm2.0-tools.changes 2021-12-08 22:09:22.062874176 +0100 @@ -1,0 +2,11 @@ +Wed Dec 8 16:37:28 UTC 2021 - Alberto Planas Dominguez <[email protected]> + +- The update to 5.2 fill also jsc#SLE-9515 (4.1) and jsc#SLE-17366 (4.3.0) + +------------------------------------------------------------------- +Mon Nov 29 10:27:08 UTC 2021 - Alberto Planas Dominguez <[email protected]> + +- Fix python3-PyYAML requirement +- Move the tests inside a bcond. Disabled by default. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tpm2.0-tools.spec ++++++ --- /var/tmp/diff_new_pack.Ns5nS8/_old 2021-12-08 22:09:22.586874422 +0100 +++ /var/tmp/diff_new_pack.Ns5nS8/_new 2021-12-08 22:09:22.590874424 +0100 @@ -16,6 +16,7 @@ # +%bcond_with test Name: tpm2.0-tools Version: 5.2 Release: 0 @@ -33,7 +34,11 @@ BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: libuuid-devel +BuildRequires: pkgconfig +BuildRequires: tpm2-0-tss-devel +BuildRequires: tpm2.0-abrmd-devel BuildRequires: pkgconfig(efivar) +Recommends: tpm2.0-abrmd # Pandoc is used for generating the man pages, but since 3.0.4 prebuilt man # pages are shipped with the distribution tarball and we don't need to generate # them any more. Pandoc is only available on openSUSE (not 32-bit x86) and not @@ -45,18 +50,16 @@ %endif %endif %endif -BuildRequires: pkgconfig -BuildRequires: tpm2-0-tss-devel -BuildRequires: tpm2.0-abrmd-devel +%if %{with test} # requirements for unit test suite (configure --enable-unit) BuildRequires: expect BuildRequires: ibmswtpm2 BuildRequires: libcmocka-devel -BuildRequires: python38-pyaml +BuildRequires: python3-PyYAML BuildRequires: tpm2.0-abrmd # for xxd, which is also required by the tests BuildRequires: vim -Recommends: tpm2.0-abrmd +%endif %description Trusted Computing is a set of specifications published by the Trusted @@ -71,28 +74,30 @@ %build # help configure find required executables for testing export PATH=$PATH:/usr/sbin:/usr/libexec/ibmtss -%configure --disable-static --enable-unit -make %{?_smp_mflags} +%configure --disable-static \ + %{?with_test: --enable-unit} +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print %files -%defattr(-,root,root) %doc doc/README.md doc/CHANGELOG.md %license doc/LICENSE -/usr/bin/tpm2* -/usr/bin/tss2* +%{_bindir}/tpm2* +%{_bindir}/tss2* %{_mandir}/man1/tpm2* %{_mandir}/man1/tss2* %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/* +%if %{with test} # the test suite does not currently work, because it conflicts with our LTO # linking (see bsc#1188085). -#%%check -#make check +%check +%make_build check +%endif %changelog
