diff --git a/jiff-fix-metadata-auto.diff b/jiff-fix-metadata-auto.diff index 411878d..0994637 100644 --- a/jiff-fix-metadata-auto.diff +++ b/jiff-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- jiff-0.1.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ jiff-0.1.8/Cargo.toml 2024-08-22T16:15:10.136703+00:00 ++++ jiff-0.1.8/Cargo.toml 2024-08-24T12:26:28.493906+00:00 @@ -123,46 +123,22 @@ "tzdb-zoneinfo", ] diff --git a/jiff-fix-metadata.diff b/jiff-fix-metadata.diff index 28668c8..8c8061b 100644 --- a/jiff-fix-metadata.diff +++ b/jiff-fix-metadata.diff @@ -1,14 +1,5 @@ --- jiff-0.1.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ jiff-0.1.8/Cargo.toml 2024-08-22T16:15:18.035828+00:00 -@@ -81,7 +81,7 @@ - features = ["serde"] - - [dev-dependencies.chrono-tz] --version = "0.9.0" -+version = ">=0.8.0, <0.10.0" - - [dev-dependencies.insta] - version = "1.39.0" ++++ jiff-0.1.8/Cargo.toml 2024-08-24T12:26:31.202942+00:00 @@ -139,6 +139,3 @@ ] tzdb-zoneinfo = ["std"] diff --git a/rust-jiff.spec b/rust-jiff.spec index d3cd004..bcbe239 100644 --- a/rust-jiff.spec +++ b/rust-jiff.spec @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: jiff-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * Allow chrono-tz 0.8.x; this is just for doctests anyway. -# https://bugzilla.redhat.com/show_bug.cgi?id=2273630 # * Drop dev-dependency hifitime: not packaged, and only for doctests Patch: jiff-fix-metadata.diff # * Downstream-only: Omit doctests that require hifitime. It is not worth diff --git a/rust2rpm.toml b/rust2rpm.toml index 35df68d..e17c5d6 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -15,10 +15,6 @@ enable = [ [package] cargo-toml-patch-comments = [ - """\ - Allow chrono-tz 0.8.x; this is just for doctests anyway. \ - https://bugzilla.redhat.com/show_bug.cgi?id=2273630\ - """, # This would be a candidate for automated patching with tomcli if it were # an unconditional dependency, but given it is # target.'cfg(not(target_family = "wasm"))', manual patching is easier.