Relax chrono-tz dependency to allow building with 0.10

epel10 imports/epel10/rust-tzfile-0.1.3-13.el10
Fabio Valentini 2 months ago
parent 9bee250acc
commit 07142e7e47
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
# Generated by rust2rpm 26
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate tzfile
@ -13,8 +13,8 @@ License: MIT
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
# * adjust chrono-tz dev-dependency to allow up to 0.9
# * drop unused, benchmark-only criterion dev-dependency
# * adjust chrono-tz dev-dependency to allow up to 0.10
Patch: tzfile-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

@ -1,5 +1,5 @@
--- tzfile-0.1.3/Cargo.toml 1970-01-01T00:00:00+00:00
+++ tzfile-0.1.3/Cargo.toml 2024-08-23T01:06:28.808395+00:00
+++ tzfile-0.1.3/Cargo.toml 2024-12-08T20:09:11.758285+00:00
@@ -32,10 +32,7 @@
version = "0.4"
@ -8,7 +8,7 @@
-
-[dev-dependencies.criterion]
-version = "0.3"
+version = ">= 0.5, < 0.10"
+version = ">= 0.5, < 0.11"
[dev-dependencies.lazy_static]
version = "1.1"

Loading…
Cancel
Save