diff --git a/.gitignore b/.gitignore index 435e123..e79483e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /string_cache-0.8.4.crate /string_cache-0.8.5.crate /string_cache-0.8.7.crate +/string_cache-0.8.8.crate diff --git a/rust-string_cache.spec b/rust-string_cache.spec index 340ff3b..067989f 100644 --- a/rust-string_cache.spec +++ b/rust-string_cache.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate string_cache Name: rust-string_cache -Version: 0.8.7 +Version: 0.8.8 Release: %autorelease Summary: String interning library for Rust, developed as part of the Servo project License: MIT OR Apache-2.0 URL: https://crates.io/crates/string_cache Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * bump phf_shared dependency from 0.10 to 0.11 -Patch: string_cache-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A string interning library for Rust, developed as part of the Servo @@ -76,7 +73,7 @@ use the "serde_support" 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 8f90ce5..f304e36 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (string_cache-0.8.7.crate) = 03f9cdd2c01c0f233284851f17eaefebd68a91ae2ed2b231fab2d6d6476bd19e0696d7d3a74fb6ecb2ec36b89e79ad966ab73051255c9e194bcf9c5029fb8479 +SHA512 (string_cache-0.8.8.crate) = d1a3008a7325e0aa48803f3a1f8a12ec1f17acfbd9b904dbe8c6c70cd85df17ed7adf6566919b54c81f3ba5ea23e6aeb5c36c536048796407ac45375b8246677 diff --git a/string_cache-fix-metadata.diff b/string_cache-fix-metadata.diff deleted file mode 100644 index 532f2fc..0000000 --- a/string_cache-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- string_cache-0.8.7/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ string_cache-0.8.7/Cargo.toml 2023-07-28T13:16:52.450530+00:00 -@@ -37,7 +37,7 @@ - version = "0.12" - - [dependencies.phf_shared] --version = "0.10" -+version = "0.11" - - [dependencies.precomputed-hash] - version = "0.1"