#6 Update to 3.0.1 release
Merged 2 years ago by yunyings. Opened 2 years ago by javierm.

file modified
+1 -1

@@ -1,1 +1,1 @@

- /tpm2-tools-3.0.tar.gz

+ /tpm2-tools-3.0.1.tar.gz

file modified
+1 -1

@@ -1,1 +1,1 @@

- SHA512 (tpm2-tools-3.0.tar.gz) = 9a8c908db297352cb1142f4cd04b5403bfd3150ea862539eee50c202dfba199a3fe9ddd17d345f7d49d4cba8b46d88edc5cf7d362470436dff0f7dd4a792179a

+ SHA512 (tpm2-tools-3.0.1.tar.gz) = 2be41289ee1cb37368218da5a55d0d2b507bdc2c95eb2da3286e2d4776285e5c8e15d22b528d3b084fcd90ba60bb1defa3624939ec58c8f36d3bcb8937e2c078

file modified
+6 -3

@@ -1,11 +1,11 @@

  Name: tpm2-tools

- Version: 3.0

+ Version: 3.0.1

  Release: 1%{?dist}

  Summary: A TPM2.0 testing tool build upon TPM2.0-TSS

  

  License: BSD

  URL:     https://github.com/intel/tpm2-tools

- Source0: https://github.com/intel/tpm2-tools/archive/%{version}/%{name}-%{version}.tar.gz

+ Source0: https://github.com/intel/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz

  

  BuildRequires: gcc-c++

  BuildRequires: libtool

@@ -35,7 +35,6 @@

  

  %prep

  %autosetup -p1 -n %{name}-%{version}

- ./bootstrap

  

  %build

  %configure --prefix=/usr --disable-static --disable-silent-rules

@@ -51,6 +50,10 @@

  %{_mandir}/man1/tpm2_*.1.gz

  

  %changelog

+ * Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1

+ - Update to 3.0.1 release (RHBZ#1512743)

+ - Download the generated tarball provided instead of the source code tarball

+ 

  * Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1

  - Update to 3.0 release

  

The tpm2-tools 3.0.1 version was released, this is just a minor release
that fixes an issue that the LICENSE file and other docs were not added
to the generated tarball.

Update the package to this version and also use the generated tarball
instead of the source code tarball, now that includes a license file.

resolves: rhbz#1512743

Signed-off-by: Javier Martinez Canillas javierm@redhat.com

Hi Javier, noticed you removed "./bootstrap" from spec in this update. Could you elaborate why?

Looking at the tarballs, it seems the bootstrap is available in source tarball, but not in release tarball.

Pull-Request has been merged by yunyings

2 years ago

@yunyings yes, sorry for not mentioning that. The generated tarball is the output of the make dist target and already contains a generated configure script so doing a bootstrap isn't needed.

The advantage of using the generated tarball instead of the source tarball is that the former is signed.