From 20b9ad21d04f906d6c729fe8e05440b6cd158c47 Mon Sep 17 00:00:00 2001
From: Andra Paraschiv <andraprs@amazon.com>
Date: Wed, 26 Oct 2022 06:50:10 +0000
Subject: [PATCH] aws-nitro-enclaves-cli.spec: Update minimum required Rust
 version

The Rust version has been updated to 1.58 in the Cargo.toml files for
nitro-cli.

Modify the minimum required Rust version in the spec file to be 1.58.

Signed-off-by: Andra Paraschiv <andraprs@amazon.com>
---
 SPECS/aws-nitro-enclaves-cli.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SPECS/aws-nitro-enclaves-cli.spec b/SPECS/aws-nitro-enclaves-cli.spec
index 83026bd1..0fe278b6 100644
--- a/SPECS/aws-nitro-enclaves-cli.spec
+++ b/SPECS/aws-nitro-enclaves-cli.spec
@@ -28,8 +28,8 @@ Source0: aws-nitro-enclaves-cli.tar.gz
 Source1: nitro-cli-dependencies.tar.gz
 
 BuildRequires: openssl-devel
-BuildRequires: rust >= 1.47
-BuildRequires: cargo >= 1.47
+BuildRequires: rust >= 1.58
+BuildRequires: cargo >= 1.58
 BuildRequires: make
 BuildRequires: llvm
 BuildRequires: clang