Compare commits

..

5 Commits

3
.gitignore vendored

@ -3,3 +3,6 @@
/rustls-pemfile-1.0.2.crate
/rustls-pemfile-1.0.3.crate
/rustls-pemfile-1.0.4.crate
/rustls-pemfile-2.1.2.crate
/rustls-pemfile-2.1.3.crate
/rustls-pemfile-2.2.0.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.2.0
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,5 @@
[package]
cargo-toml-patch-comments = [
"drop unused, benchmark-only bencher dev-dependency",
]

@ -0,0 +1,21 @@
--- rustls-pemfile-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rustls-pemfile-2.2.0/Cargo.toml 2024-10-19T09:46:11.174359+00:00
@@ -37,18 +37,10 @@
path = "tests/integration.rs"
required-features = ["std"]
-[[bench]]
-name = "benchmark"
-path = "benches/benchmark.rs"
-harness = false
-
[dependencies.pki-types]
version = "1.9"
package = "rustls-pki-types"
-[dev-dependencies.bencher]
-version = "0.1.5"
-
[features]
default = ["std"]
std = ["pki-types/std"]

@ -1 +1 @@
SHA512 (rustls-pemfile-1.0.4.crate) = bc748ee06f2c101d8e54e8c4555e88c5ca824ac7bb0182f8e49bfe1fc66d418d2a3da8e454f3741697f491ad0c7bc8e924a752697023a191c1bb6eb98c48aa37
SHA512 (rustls-pemfile-2.2.0.crate) = 1e69f0b72c6060eb0a54ec8a1cb51809525b053771a1d417892205f8f5dbcf4ba45250fc0d6a836e0cc8fede06d934f0a90c47d475cd8e066dcb3f7504ddaf17

Loading…
Cancel
Save