From 4eb5a09eadecac363f258d6f4d89084f8ca34077 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Fri, 8 Dec 2017 19:02:04 +0100 Subject: [PATCH] Update to 1.3.0 release The tpm2-tss 1.3.0 was released, update the package to the latest version. Signed-off-by: Javier Martinez Canillas --- .gitignore | 2 +- add-license-file.patch | 30 ------------------------------ sources | 2 +- tpm2-tss.spec | 12 ++++++------ 4 files changed, 8 insertions(+), 38 deletions(-) delete mode 100644 add-license-file.patch diff --git a/.gitignore b/.gitignore index 053f52b..1240ff2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/tpm2-tss-1.3.0-rc2.tar.gz +/tpm2-tss-1.3.0.tar.gz diff --git a/add-license-file.patch b/add-license-file.patch deleted file mode 100644 index 673e89e..0000000 --- a/add-license-file.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/LICENSE b/LICENSE -new file mode 100644 -index 000000000000..3ea3e34afad0 ---- /dev/null -+++ b/LICENSE -@@ -0,0 +1,21 @@ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+1. Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ -+2. Redistributions in binary form must reproduce the above copyright notice, -+this list of conditions and the following disclaimer in the documentation -+and/or other materials provided with the distribution. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -+THE POSSIBILITY OF SUCH DAMAGE. --- -2.14.3 - diff --git a/sources b/sources index 9af142f..1c5e4e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tpm2-tss-1.3.0-rc2.tar.gz) = 8e0537e87ecd76944768cd1dc15035d0829bf2d153d0792d603d8af4c6cfe55341dfa10c4072b34624dd46a6d4c3c4ddb73543946806604e6a91b645d9cca39b +SHA512 (tpm2-tss-1.3.0.tar.gz) = 0bfe18dd5eb261a368268957f2dbe4a4937908a8b0b6c4963778296d9856cdb312dfbe8fc241104155d6be8095c54bd5feb315b30243b084de8a309da904340a diff --git a/tpm2-tss.spec b/tpm2-tss.spec index 6cab9e0..a6b50da 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -1,16 +1,13 @@ Name: tpm2-tss Version: 1.3.0 -Release: 0.1.rc2%{?dist} +Release: 1%{?dist} Summary: TPM2.0 Software Stack # The entire source code is under BSD except implementation.h and tpmb.h which # is under TCGL(Trusted Computing Group License). License: BSD and TCGL URL: https://github.com/intel/tpm2-tss -Source0: https://github.com/intel/tpm2-tss/archive/%{version}-rc2/%{name}-%{version}-rc2.tar.gz - -# https://github.com/intel/tpm2-tss/pull/646 -Patch0: add-license-file.patch +Source0: https://github.com/intel/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ @@ -28,7 +25,7 @@ APIs. It sits between TPM driver and applications, providing TPM2.0 specified APIs for applications to access TPM module through kernel TPM drivers. %prep -%autosetup -n %{name}-%{version}-rc2 +%autosetup -n %{name}-%{version} %build %configure --disable-static --disable-silent-rules @@ -70,6 +67,9 @@ use tpm2-tss. %postun -p /sbin/ldconfig %changelog +* Fri Dec 08 2017 Javier Martinez Canillas - 1.3.0-1 +- Update to 1.3.0 release + * Wed Nov 29 2017 Javier Martinez Canillas - 1.3.0-0.1.rc2 - Update to 1.3.0 release candidate 2 (RHBZ#1508870) - Remove global pkg_prefix since now the upstream repo and package names match