Hello community, here is the log from the commit of package tpm2.0-tools for openSUSE:Factory checked in at 2018-05-03 12:34:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tpm2.0-tools (Old) and /work/SRC/openSUSE:Factory/.tpm2.0-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tpm2.0-tools" Thu May 3 12:34:00 2018 rev:12 rq:603119 version:3.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/tpm2.0-tools/tpm2.0-tools.changes 2018-03-08 10:59:28.133064564 +0100 +++ /work/SRC/openSUSE:Factory/.tpm2.0-tools.new/tpm2.0-tools.changes 2018-05-03 12:34:02.844721649 +0200 @@ -1,0 +2,17 @@ +Wed May 2 12:09:22 UTC 2018 - matthias.gerstner@suse.com + +- install-man.patch: even after update to 3.0.4 the man pages are not + installed correctly. This patch fixes it locally. + +------------------------------------------------------------------- +Wed May 2 11:02:07 UTC 2018 - matthias.gerstner@suse.com + +- update to version 3.0.4: + - Fix save and load for TPM2B_PRIVATE object. + - Use a default buffer size for tpm2_nv{read,write} if the TPM reports a 0 size. + - Fix --verbose and --version options crossover. + - Generate man pages from markdown and include them in the distribution tarball. + - Print usage summary if tools are executed with no options or man page can't be displayed. +- man pages will be shipped for SLE version now, too (pandoc dependency was removed) + +------------------------------------------------------------------- Old: ---- tpm2-tools-3.0.3.tar.gz New: ---- install-man.patch tpm2-tools-3.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tpm2.0-tools.spec ++++++ --- /var/tmp/diff_new_pack.sObrGX/_old 2018-05-03 12:34:03.724690302 +0200 +++ /var/tmp/diff_new_pack.sObrGX/_new 2018-05-03 12:34:03.724690302 +0200 @@ -17,7 +17,7 @@ Name: tpm2.0-tools -Version: 3.0.3 +Version: 3.0.4 Release: 0 Summary: Trusted Platform Module (TPM) 2.0 administration tools License: BSD-3-Clause @@ -25,6 +25,7 @@ Url: https://github.com/tpm2-software/tpm2-tools/releases Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/tpm2-tools-%{version}.tar.gz Patch0: tpm2.0-tools-fix-hardening.patch +Patch1: install-man.patch BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: gcc-c++ @@ -32,6 +33,14 @@ BuildRequires: libopenssl-devel BuildRequires: libtool %if 0%{?is_opensuse} +# releases prior to 3.0.4 required pandoc for building the man pages. On SLE +# we don't have pandoc and it requires a complete haskell stack so adding it +# is out of the question just for man pages. +# +# since 3.0.4 the man pages are shipped with the distribution tarball and we +# don't need to generate them any more. On openSUSE we can still keep this +# dependency for having fresh builds of the man pages (if that helps +# anything?). BuildRequires: pandoc %endif BuildRequires: pkgconfig @@ -51,6 +60,7 @@ %prep %setup -q -n tpm2-tools-%{version} %patch0 -p1 +%patch1 -p1 %build %configure --disable-static @@ -67,8 +77,6 @@ %defattr(-,root,root) %doc README.md LICENSE CHANGELOG.md /usr/bin/tpm2_* -%if 0%{?is_opensuse} %{_mandir}/man1/tpm2_* -%endif %changelog ++++++ install-man.patch ++++++ Index: tpm2-tools-3.0.4/Makefile.am =================================================================== --- tpm2-tools-3.0.4.orig/Makefile.am +++ tpm2-tools-3.0.4/Makefile.am @@ -273,7 +273,6 @@ EXTRA_DIST = $(top_srcdir)/man \ RELEASE.md \ test/system -if HAVE_PANDOC man1_MANS := \ man/man1/tpm2_activatecredential.1 \ man/man1/tpm2_certify.1 \ @@ -315,6 +314,7 @@ if HAVE_PANDOC man/man1/tpm2_unseal.1 \ man/man1/tpm2_verifysignature.1 +if HAVE_PANDOC # If pandoc is enabled, we want to generate the manpages for the dist tarball EXTRA_DIST += $(man1_MANS) else ++++++ tpm2-tools-3.0.3.tar.gz -> tpm2-tools-3.0.4.tar.gz ++++++ ++++ 10253 lines of diff (skipped)