diff --git a/.gitignore b/.gitignore index b1b5cd0..c92fb87 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /pem-1.1.0.crate /pem-1.1.1.crate /pem-2.0.1.crate +/pem-3.0.3.crate diff --git a/pem-fix-metadata.diff b/pem-fix-metadata.diff index f746737..9c5731a 100644 --- a/pem-fix-metadata.diff +++ b/pem-fix-metadata.diff @@ -1,5 +1,5 @@ ---- 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 +--- pem-3.0.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ pem-3.0.3/Cargo.toml 2024-01-25T14:43:26.243763+00:00 @@ -29,10 +29,6 @@ repository = "https://github.com/jcreekmore/pem-rs.git" resolver = "2" diff --git a/rust-pem.spec b/rust-pem.spec index 914ca13..6b20dc4 100644 --- a/rust-pem.spec +++ b/rust-pem.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate pem Name: rust-pem -Version: 2.0.1 +Version: 3.0.3 Release: %autorelease Summary: Parse and encode PEM-encoded data @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/pem Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop unused, benchmark-only criterion dev-dependency to speed up builds +# * drop unused, benchmark-only criterion dev-dependency Patch: pem-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -75,7 +75,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 52e0bd6..9eef84b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pem-2.0.1.crate) = 245d6b70be6139a3a34ecccedbf050cf5ff686f2ccf0fb27870b768704b68555da5c1cdaf3bbf57d131ccc7182dc6f5040dda292678d0d50af66fc55c28c70ae +SHA512 (pem-3.0.3.crate) = 7bc100eb0494ef2a86fcc4ba67c328d0cd791718f0c4eb67e66ac998d13e5624dfb6a1919862f684052bf61c7169c5065bde23b30640fe56651cf377fa573b30