From 0e4de652a3770a8e0f4adc19d9adc958eb3fb42d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 6 Apr 2021 12:59:08 +0100 Subject: [PATCH] v0.3.0 and meta data fix --- clevis-pin-tpm2-fix-metadata.diff | 8 ++++++++ clevis-pin-tpm2.spec | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 clevis-pin-tpm2-fix-metadata.diff diff --git a/clevis-pin-tpm2-fix-metadata.diff b/clevis-pin-tpm2-fix-metadata.diff new file mode 100644 index 0000000..d8e38fb --- /dev/null +++ b/clevis-pin-tpm2-fix-metadata.diff @@ -0,0 +1,8 @@ +--- clevis-pin-tpm2-0.3.0/Cargo.toml.orig 2021-04-06 12:49:05.364022361 +0100 ++++ clevis-pin-tpm2-0.3.0/Cargo.toml 2021-04-06 12:49:24.250312329 +0100 +@@ -16,4 +16,4 @@ + serde_json = "1.0" + base64 = "0.12.1" + atty = "0.2.14" +-tpm2-policy = { version = "0.4.0", path = "../rust-tpm2-policy" } ++tpm2-policy = "0.4.0" diff --git a/clevis-pin-tpm2.spec b/clevis-pin-tpm2.spec index 922e3e7..71961e3 100644 --- a/clevis-pin-tpm2.spec +++ b/clevis-pin-tpm2.spec @@ -4,12 +4,13 @@ Name: clevis-pin-tpm2 Version: 0.3.0 -Release: 0%{?dist} +Release: 1%{?dist} Summary: Clevis PIN for unlocking with TPM2 supporting Authorized Policies License: EUPL 1.2 URL: https://github.com/fedora-iot/clevis-pin-tpm2/ Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: clevis-pin-tpm2-fix-metadata.diff ExclusiveArch: %{rust_arches} # RHBZ 1869980 @@ -47,6 +48,9 @@ ln -s /usr/bin/clevis-pin-tpm2 %{buildroot}/usr/bin/clevis-decrypt-tpm2plus %{_bindir}/clevis-*-tpm2plus %changelog +* Tue Apr 06 2021 Peter Robinson - 0.3.0-1 +- Update to 0.3.0 + * Tue Jan 26 2021 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild