diff --git a/jiff-fix-metadata-auto.diff b/jiff-fix-metadata-auto.diff index ef95507..b0fbb68 100644 --- a/jiff-fix-metadata-auto.diff +++ b/jiff-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- jiff-0.1.15/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ jiff-0.1.15/Cargo.toml 2024-12-08T19:53:18.958265+00:00 ++++ jiff-0.1.15/Cargo.toml 2024-12-09T14:41:20.406646+00:00 @@ -131,46 +131,22 @@ "tzdb-zoneinfo", ] diff --git a/jiff-fix-metadata.diff b/jiff-fix-metadata.diff index e2bc734..1434146 100644 --- a/jiff-fix-metadata.diff +++ b/jiff-fix-metadata.diff @@ -1,5 +1,5 @@ --- jiff-0.1.15/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ jiff-0.1.15/Cargo.toml 2024-12-08T19:53:29.866324+00:00 ++++ jiff-0.1.15/Cargo.toml 2024-12-09T14:41:20.408646+00:00 @@ -85,7 +85,7 @@ features = ["serde"] diff --git a/rust-jiff.spec b/rust-jiff.spec index cde1de0..cffa790 100644 --- a/rust-jiff.spec +++ b/rust-jiff.spec @@ -16,7 +16,8 @@ Source: %{crates_source} Patch: jiff-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Drop dev-dependency hifitime: not packaged, and only for doctests -# * Relax chrono-tz dependency to allow building with 0.9 and 0.10 +# * Relax chrono-tz dependency to allow building with 0.9 and 0.10: +# https://github.com/BurntSushi/jiff/pull/167 Patch: jiff-fix-metadata.diff # * Downstream-only: Omit doctests that require hifitime. It is not worth # packaging it solely for a couple of tiny examples. diff --git a/rust2rpm.toml b/rust2rpm.toml index 80541e3..c988273 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -19,7 +19,10 @@ cargo-toml-patch-comments = [ # an unconditional dependency, but given it is # target.'cfg(not(target_family = "wasm"))', manual patching is easier. "Drop dev-dependency hifitime: not packaged, and only for doctests", - "Relax chrono-tz dependency to allow building with 0.9 and 0.10", + """\ + Relax chrono-tz dependency to allow building with 0.9 and 0.10: \ + https://github.com/BurntSushi/jiff/pull/167\ + """, ] [[package.extra-patches]]