Allow chrono-tz 0.9

epel10
Benjamin A. Beasley 6 months ago
parent f68fc11532
commit 9bee250acc

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -14,10 +14,10 @@ URL: https://crates.io/crates/tzfile
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # 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 to speed up builds
# * bump chrono-tz dev-dependency from 0.5 to 0.8 # * adjust chrono-tz dev-dependency to allow up to 0.9
Patch: tzfile-fix-metadata.diff Patch: tzfile-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Chrono::TimeZone implementation using system tz database.} Chrono::TimeZone implementation using system tz database.}
@ -51,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,5 +1,5 @@
--- tzfile-0.1.3/Cargo.toml 1970-01-01T00:00:00+00:00 --- tzfile-0.1.3/Cargo.toml 1970-01-01T00:00:00+00:00
+++ tzfile-0.1.3/Cargo.toml 2023-08-31T22:50:06.909898+00:00 +++ tzfile-0.1.3/Cargo.toml 2024-08-23T01:06:28.808395+00:00
@@ -32,10 +32,7 @@ @@ -32,10 +32,7 @@
version = "0.4" version = "0.4"
@ -8,7 +8,7 @@
- -
-[dev-dependencies.criterion] -[dev-dependencies.criterion]
-version = "0.3" -version = "0.3"
+version = "0.8" +version = ">= 0.5, < 0.10"
[dev-dependencies.lazy_static] [dev-dependencies.lazy_static]
version = "1.1" version = "1.1"

Loading…
Cancel
Save