Update to version 2.1.2; Fixes RHBZ#2252308

epel10
Fabio Valentini 10 months ago
parent 10514a9ed4
commit 35105c3393
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/rustls-pemfile-1.0.2.crate
/rustls-pemfile-1.0.3.crate
/rustls-pemfile-1.0.4.crate
/rustls-pemfile-2.1.2.crate

@ -1,17 +1,20 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate rustls-pemfile
Name: rust-rustls-pemfile
Version: 1.0.4
Version: 2.1.2
Release: %autorelease
Summary: Basic .pem file parser for keys and certificates
License: Apache-2.0 OR ISC OR MIT
URL: https://crates.io/crates/rustls-pemfile
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only bencher dev-dependency
Patch: rustls-pemfile-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -49,6 +52,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep

@ -0,0 +1,23 @@
--- 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"
package = "rustls-pki-types"
-[dev-dependencies.bencher]
-version = "0.1.5"
-
[features]
default = ["std"]
std = ["base64/std"]

@ -1 +1 @@
SHA512 (rustls-pemfile-1.0.4.crate) = bc748ee06f2c101d8e54e8c4555e88c5ca824ac7bb0182f8e49bfe1fc66d418d2a3da8e454f3741697f491ad0c7bc8e924a752697023a191c1bb6eb98c48aa37
SHA512 (rustls-pemfile-2.1.2.crate) = 35127c68250c31f2fd6924355ec37d5318d8a86ad38da48e68b3ea6e241deeb019eb967c510e95230be6d6c3357b0a85aa022942d21a50423632f8e2496177cb

Loading…
Cancel
Save