Merge "rebase tpm2-tools patch to CentOS 7.6 version" into f/centos76

This commit is contained in:
Zuul 2019-01-15 16:33:46 +00:00 committed by Gerrit Code Review
commit c0945008c3
4 changed files with 9 additions and 19 deletions

View File

@ -1,2 +1,2 @@
#COPY_LIST="tpm2-tools/*"
TIS_PATCH_VER=2
TIS_PATCH_VER=0

View File

@ -3,11 +3,10 @@ From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 17:30:57 -0400
Subject: [PATCH] WRS: 0001-Update-package-versioning-for-TIS-format.patch
Conflicts:
SPECS/tpm2-tools.spec
---
SPECS/tpm2-tools.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
SPECS/tpm2-tools.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/tpm2-tools.spec b/SPECS/tpm2-tools.spec
index 935580d..12aa6a0 100644
@ -15,21 +14,12 @@ index 935580d..12aa6a0 100644
+++ b/SPECS/tpm2-tools.spec
@@ -1,6 +1,6 @@
Name: tpm2-tools
Version: 3.0.1
-Release: 1%{?dist}
+Release: 1.el7%{?_tis_dist}.%{tis_patch_ver}
Version: 3.0.4
-Release: 2%{?dist}
+Release: 2.el7%{?_tis_dist}.%{tis_patch_ver}
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
License: BSD
@@ -33,7 +33,7 @@ BuildRequires: pkgconfig(tcti-tabrmd)
ExclusiveArch: %{ix86} x86_64
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
-Requires: tpm2-tss%{?_isa} >= 1.3.0-1%{?dist}
+Requires: tpm2-tss%{?_isa} = 1.3.0-2.el7
# tpm2-tools project changed the install path for binaries and man page section
Obsoletes: tpm2-tools <= 2.1.0-2
--
2.7.4

View File

@ -11,7 +11,7 @@ diff --git a/SPECS/tpm2-tools.spec b/SPECS/tpm2-tools.spec
index 308ecfa..935580d 100644
--- a/SPECS/tpm2-tools.spec
+++ b/SPECS/tpm2-tools.spec
@@ -46,7 +46,7 @@ tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
@@ -43,7 +43,7 @@ tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
./bootstrap
%build

View File

@ -1 +1 @@
mirror:Source/tpm2-tools-3.0.1-1.el7.src.rpm
mirror:Source/tpm2-tools-3.0.4-2.el7.src.rpm