From 675a167b6ad6c97a373981c5bf5c3c8318e86b3e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 5 Aug 2024 22:26:28 +0200 Subject: [PATCH] Update to version 2.1.3; Fixes RHBZ#2302632 --- .gitignore | 1 + rust-rustls-pemfile.spec | 2 +- rust2rpm.toml | 5 +++++ rustls-pemfile-fix-metadata.diff | 19 ++++--------------- sources | 2 +- 5 files changed, 12 insertions(+), 17 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index a663539..7b82893 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /rustls-pemfile-1.0.3.crate /rustls-pemfile-1.0.4.crate /rustls-pemfile-2.1.2.crate +/rustls-pemfile-2.1.3.crate diff --git a/rust-rustls-pemfile.spec b/rust-rustls-pemfile.spec index e421aa7..7a5200f 100644 --- a/rust-rustls-pemfile.spec +++ b/rust-rustls-pemfile.spec @@ -5,7 +5,7 @@ %global crate rustls-pemfile Name: rust-rustls-pemfile -Version: 2.1.2 +Version: 2.1.3 Release: %autorelease Summary: Basic .pem file parser for keys and certificates diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2d5f8fb --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "drop unused, benchmark-only bencher dev-dependency", +] + diff --git a/rustls-pemfile-fix-metadata.diff b/rustls-pemfile-fix-metadata.diff index aee4aa1..81313b9 100644 --- a/rustls-pemfile-fix-metadata.diff +++ b/rustls-pemfile-fix-metadata.diff @@ -1,18 +1,7 @@ ---- rustls-pemfile-2.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rustls-pemfile-2.1.2/Cargo.toml 2024-04-15T14:39:45.698163+00:00 -@@ -27,10 +27,6 @@ - name = "integration" - required-features = ["std"] - --[[bench]] --name = "benchmark" --harness = false -- - [dependencies.base64] - version = "0.22" - features = ["alloc"] -@@ -40,9 +36,6 @@ - version = "1.3" +--- rustls-pemfile-2.1.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rustls-pemfile-2.1.3/Cargo.toml 2024-08-05T20:20:25.478822+00:00 +@@ -51,9 +51,6 @@ + version = "1.7" package = "rustls-pki-types" -[dev-dependencies.bencher] diff --git a/sources b/sources index 298fe25..09e7bf6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustls-pemfile-2.1.2.crate) = 35127c68250c31f2fd6924355ec37d5318d8a86ad38da48e68b3ea6e241deeb019eb967c510e95230be6d6c3357b0a85aa022942d21a50423632f8e2496177cb +SHA512 (rustls-pemfile-2.1.3.crate) = 94b98d05783ed0920c9ef89259e740ca77f8fecb4ce4ee894b7ba30acb0fe82f41cb2681b5eddedf8e3ba7c68d1dd740132a39028a99ce2e1070d7d88d99d641