diff --git a/.gitignore b/.gitignore index e8e5b2b..a593c96 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /base64-0.12.3.crate /base64-0.13.0.crate /base64-0.13.1.crate +/base64-0.21.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index ec81a02..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-base64 - -The rust-base64 package \ No newline at end of file diff --git a/base64-fix-metadata.diff b/base64-fix-metadata.diff index 4bad64a..0f4cccd 100644 --- a/base64-fix-metadata.diff +++ b/base64-fix-metadata.diff @@ -1,12 +1,12 @@ ---- base64-0.13.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ base64-0.13.1/Cargo.toml 2022-10-27T09:23:03.138999+00:00 -@@ -38,9 +38,6 @@ +--- base64-0.21.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ base64-0.21.0/Cargo.toml 2023-02-23T15:42:03.877114+00:00 +@@ -42,9 +42,6 @@ name = "benchmarks" harness = false -[dev-dependencies.criterion] --version = "=0.3.2" +-version = "0.4.0" - [dev-dependencies.rand] - version = "0.6.1" - + version = "0.8.5" + features = ["small_rng"] diff --git a/rust-base64.spec b/rust-base64.spec index fe8fb12..3cdf61b 100644 --- a/rust-base64.spec +++ b/rust-base64.spec @@ -1,23 +1,18 @@ -# Generated by rust2rpm 22 -%bcond_without check +# Generated by rust2rpm 24 +# * missing dev-dependencies: rstest, rstest_reuse +%bcond_with check %global debug_package %{nil} %global crate base64 Name: rust-base64 -Version: 0.13.1 +Version: 0.21.0 Release: %autorelease Summary: Encodes and decodes base64 as bytes or utf8 -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/base64 Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * drop unused, benchmark-only criterion dev-dependency to speed up builds -Patch: base64-fix-metadata.diff - -ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index dfd767b..d3fd26a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (base64-0.13.1.crate) = 1eb76aff9a84057f2ccb7082e9c57b015c2d71a28173089b02e7aacd09a7d311bedf0a943529611ada29f8d7b536d7ae4de256d98eee8450003a3a9a652bda4b +SHA512 (base64-0.21.0.crate) = 60bcc157c6449a2160e083611e6d53e07bbff7db8cd550d9056cb804e99e990d4a20092ba4347306a3c6b6c42474a06d92cb3895125c50cef9b74cd3cbd83a2f