Update to version 2.0.1; Fixes RHBZ#2160078

epel10
Fabio Valentini 2 years ago
parent 9c39a8c5a7
commit 3432c60b5a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -5,3 +5,4 @@
/pem-1.0.2.crate
/pem-1.1.0.crate
/pem-1.1.1.crate
/pem-2.0.1.crate

@ -1,21 +1,23 @@
--- pem-1.1.1/Cargo.toml 2023-01-11T13:28:15+00:00
+++ pem-1.1.1/Cargo.toml 2023-03-27T08:13:55.018205+00:00
@@ -23,9 +23,6 @@
license = "MIT"
--- pem-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ pem-2.0.1/Cargo.toml 2023-06-22T15:34:42.288224+00:00
@@ -29,10 +29,6 @@
repository = "https://github.com/jcreekmore/pem-rs.git"
resolver = "2"
-[[bench]]
-name = "pem_benchmark"
-harness = false
-
[dependencies.base64]
version = "0.13.0"
@@ -33,8 +30,6 @@
version = "0.21.0"
features = ["alloc"]
@@ -42,9 +38,6 @@
version = "1"
features = ["serde_derive"]
optional = true
default-features = false
-
-[dev-dependencies.criterion]
-version = "0.3.0"
[dev-dependencies.serde_json]
[dev-dependencies.proptest]
version = "1"

@ -5,7 +5,7 @@
%global crate pem
Name: rust-pem
Version: 1.1.1
Version: 2.0.1
Release: %autorelease
Summary: Parse and encode PEM-encoded data
@ -16,7 +16,7 @@ Source: %{crates_source}
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: pem-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Parse and encode PEM-encoded data.}
@ -62,6 +62,18 @@ use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-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_no_tilde} -p1
%cargo_prep

@ -1 +1 @@
SHA512 (pem-1.1.1.crate) = a61105cf968db35c0136e2da5575f1f2eefeb1849e15152d6d6bbaeedec8aaa6ed7e6fd86892a4094bfae2495065b090263b760ebf4ccbe131f536963d985bd2
SHA512 (pem-2.0.1.crate) = 245d6b70be6139a3a34ecccedbf050cf5ff686f2ccf0fb27870b768704b68555da5c1cdaf3bbf57d131ccc7182dc6f5040dda292678d0d50af66fc55c28c70ae

Loading…
Cancel
Save