diff --git a/rust-tzfile.spec b/rust-tzfile.spec index 5fdcece..641497f 100644 --- a/rust-tzfile.spec +++ b/rust-tzfile.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} @@ -14,10 +14,9 @@ URL: https://crates.io/crates/tzfile Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds +# * bump chrono-tz dev-dependency from 0.5 to 0.8 Patch: tzfile-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/tzfile-fix-metadata.diff b/tzfile-fix-metadata.diff index 19f4060..9361b4b 100644 --- a/tzfile-fix-metadata.diff +++ b/tzfile-fix-metadata.diff @@ -1,11 +1,14 @@ --- tzfile-0.1.3/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ tzfile-0.1.3/Cargo.toml 2022-09-30T13:33:27.757938+00:00 -@@ -34,8 +34,5 @@ - [dev-dependencies.chrono-tz] - version = "0.5" ++++ tzfile-0.1.3/Cargo.toml 2023-08-31T22:50:06.909898+00:00 +@@ -32,10 +32,7 @@ + version = "0.4" + [dev-dependencies.chrono-tz] +-version = "0.5" +- -[dev-dependencies.criterion] -version = "0.3" -- ++version = "0.8" + [dev-dependencies.lazy_static] version = "1.1"