public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-jiff] epel10: Update to version 1.0.0; Fixes RHBZ#2573664
@ 2026-11-18  6:51 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-18  6:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-jiff
Branch : epel10
Commit : efabf2539f91d1fb725da7f5ac2a2ae3634fef55
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-17T14:07:52+00:00
Stats  : +42/-47 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-jiff/c/efabf2539f91d1fb725da7f5ac2a2ae3634fef55?branch=epel10

Log:
Update to version 1.0.0; Fixes RHBZ#2573664

---
diff --git a/0001-Downstream-only-Omit-doctests-that-require-hifitime.patch b/0001-Downstream-only-Omit-doctests-that-require-hifitime.patch
index 8bc34f8..668d66b 100644
--- a/0001-Downstream-only-Omit-doctests-that-require-hifitime.patch
+++ b/0001-Downstream-only-Omit-doctests-that-require-hifitime.patch
@@ -1,4 +1,4 @@
-From 156df136a053e509e78abeb0e503ff3020f12fe0 Mon Sep 17 00:00:00 2001
+From 8c75d78dde71fe7c9b636d63339c8f35a8b7141b Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Thu, 22 Aug 2024 11:48:36 -0400
 Subject: [PATCH 1/3] Downstream-only: Omit doctests that require hifitime
@@ -9,10 +9,10 @@ It is not worth packaging it solely for a couple of tiny examples.
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/COMPARE.md b/COMPARE.md
-index b461ba5..d10072d 100644
+index fcfb4f5..1d49a65 100644
 --- a/COMPARE.md
 +++ b/COMPARE.md
-@@ -1148,7 +1148,7 @@ report the accurate duration. With that said, to get an accurate duration, one
+@@ -1150,7 +1150,7 @@ report the accurate duration. With that said, to get an accurate duration, one
  of the two time scales has to be converted to to TAI (or another time scale
  which does not have leap seconds):
  
@@ -21,7 +21,7 @@ index b461ba5..d10072d 100644
  use hifitime::{Duration, Epoch, TimeScale};
  
  fn main() -> anyhow::Result<()> {
-@@ -1204,7 +1204,7 @@ In contrast, `hifitime` appears to use saturating arithmetic everywhere (I've
+@@ -1206,7 +1206,7 @@ In contrast, `hifitime` appears to use saturating arithmetic everywhere (I've
  not been able to find this behavior documented though, so I'm not clear on what
  the intended semantics are):
  
@@ -31,5 +31,5 @@ index b461ba5..d10072d 100644
  
  fn main() -> anyhow::Result<()> {
 -- 
-2.54.0
+2.56.1
 

diff --git a/0002-Downstream-only-Omit-doctests-that-require-jiff-stat.patch b/0002-Downstream-only-Omit-doctests-that-require-jiff-stat.patch
index d24bb9f..3d930d4 100644
--- a/0002-Downstream-only-Omit-doctests-that-require-jiff-stat.patch
+++ b/0002-Downstream-only-Omit-doctests-that-require-jiff-stat.patch
@@ -1,28 +1,14 @@
-From 52f6fbac34a195a6e42704a41f5d674ad2fedb7a Mon Sep 17 00:00:00 2001
+From 9ee3000a928bb239e92e37efd89be9b6606e6a31 Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Sun, 9 Mar 2025 09:12:34 -0400
 Subject: [PATCH 2/3] Downstream-only: Omit doctests that require jiff-static
 
 ---
- CHANGELOG.md  | 2 +-
- src/tz/mod.rs | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
+ src/tz/mod.rs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/CHANGELOG.md b/CHANGELOG.md
-index fdc863c..b924aec 100644
---- a/CHANGELOG.md
-+++ b/CHANGELOG.md
-@@ -586,7 +586,7 @@ This release of Jiff includes a new opt-in proc macro for embedding a
- `TimeZone` into your binary. Just enable Jiff's `static` feature, and this will
- print the current time in the `America/New_York` time zone:
- 
--```rust
-+```ignore
- use jiff::{
-     tz::{self, TimeZone},
-     Timestamp,
 diff --git a/src/tz/mod.rs b/src/tz/mod.rs
-index e5c1c6f..11d5bb1 100644
+index e40265d..98b3f19 100644
 --- a/src/tz/mod.rs
 +++ b/src/tz/mod.rs
 @@ -100,7 +100,7 @@ a `TimeZone` at compile time. Here, we find the next DST transition from a
@@ -34,6 +20,15 @@ index e5c1c6f..11d5bb1 100644
  use jiff::{tz::{self, TimeZone}, Timestamp};
  
  static TZ: TimeZone = tz::get!("Europe/Zurich");
+@@ -201,7 +201,7 @@ mod zic;
+ /// This example shows how to find the next DST transition from a particular
+ /// timestamp in `Europe/Zurich`, and then print that in local time for Zurich:
+ ///
+-/// ```
++/// ```ignore
+ /// use jiff::{tz::{self, TimeZone}, Timestamp};
+ ///
+ /// static TZ: TimeZone = tz::get!("Europe/Zurich");
 -- 
-2.54.0
+2.56.1
 

diff --git a/0003-Downstream-only-Omit-doctest-that-requires-time-tz.patch b/0003-Downstream-only-Omit-doctest-that-requires-time-tz.patch
index fb8f1bc..f5639b4 100644
--- a/0003-Downstream-only-Omit-doctest-that-requires-time-tz.patch
+++ b/0003-Downstream-only-Omit-doctest-that-requires-time-tz.patch
@@ -1,4 +1,4 @@
-From b47c201f1749493b4139779af7ce1a2b31020948 Mon Sep 17 00:00:00 2001
+From 8b47d316026c154eb206456ee79e6b98918f3e10 Mon Sep 17 00:00:00 2001
 From: "Benjamin A. Beasley" <code@musicinmybrain.net>
 Date: Thu, 12 Feb 2026 12:40:54 +0000
 Subject: [PATCH 3/3] Downstream-only: Omit doctest that requires time-tz
@@ -9,10 +9,10 @@ It is not worth packaging it solely for a single doctest.
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/COMPARE.md b/COMPARE.md
-index d10072d..b642c1c 100644
+index 1d49a65..7f1e7ba 100644
 --- a/COMPARE.md
 +++ b/COMPARE.md
-@@ -801,7 +801,7 @@ fn main() -> anyhow::Result<()> {
+@@ -803,7 +803,7 @@ fn main() -> anyhow::Result<()> {
  
  If you use `time-tz`, then you can make the above example with `time` work:
  
@@ -22,5 +22,5 @@ index d10072d..b642c1c 100644
  use time::{ext::NumericalDuration, macros::datetime, Duration};
  use time_tz::{OffsetDateTimeExt, Tz};
 -- 
-2.54.0
+2.56.1
 

diff --git a/jiff-fix-metadata-auto.diff b/jiff-fix-metadata-auto.diff
index 11d550b..7898076 100644
--- a/jiff-fix-metadata-auto.diff
+++ b/jiff-fix-metadata-auto.diff
@@ -1,6 +1,6 @@
---- jiff-0.2.46/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ jiff-0.2.46/Cargo.toml	2026-11-16T06:00:15.967625+00:00
-@@ -70,7 +70,6 @@
+--- jiff-1.0.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ jiff-1.0.0/Cargo.toml	2026-11-17T13:56:09.524744+00:00
+@@ -71,7 +71,6 @@
  alloc = [
      "jcore/alloc",
      "serde_core?/alloc",
@@ -8,7 +8,7 @@
  ]
  arbitrary = [
      "dep:arbitrary",
-@@ -91,8 +90,6 @@
+@@ -92,8 +91,6 @@
      "jcore/defmt",
  ]
  js = [
@@ -17,7 +17,7 @@
  ]
  logging = [
      "dep:log",
-@@ -117,14 +114,12 @@
+@@ -118,14 +115,12 @@
  ]
  tz-system = [
      "std",
@@ -32,7 +32,7 @@
      "alloc",
  ]
  tzdb-concatenated = ["std"]
-@@ -231,37 +226,14 @@
+@@ -232,37 +227,14 @@
  [dev-dependencies.walkdir]
  version = "2.5.0"
  
@@ -45,10 +45,10 @@
 -optional = true
 -
  [target."cfg(any())".dependencies.jiff-static]
- version = "=0.2.46"
+ version = "=1.0.0"
  
 -[target.'cfg(any(windows, target_family = "wasm"))'.dependencies.jiff-tzdb-platform]
--version = "0.1.3"
+-version = "1.0.0"
 -optional = true
 -
  [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.hifitime]

diff --git a/jiff-fix-metadata.diff b/jiff-fix-metadata.diff
index e288d13..03cc847 100644
--- a/jiff-fix-metadata.diff
+++ b/jiff-fix-metadata.diff
@@ -1,6 +1,6 @@
---- jiff-0.2.46/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ jiff-0.2.46/Cargo.toml	2026-11-16T06:00:51.042391+00:00
-@@ -85,23 +85,12 @@
+--- jiff-1.0.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ jiff-1.0.0/Cargo.toml	2026-11-17T13:57:13.764616+00:00
+@@ -86,23 +86,12 @@
      "tzdb-concatenated",
      "perf-inline",
  ]
@@ -24,7 +24,7 @@
  std = [
      "alloc",
      "jcore/std",
-@@ -110,14 +99,9 @@
+@@ -111,14 +100,9 @@
  ]
  tz-fat = [
      "jcore/tz-fat",
@@ -39,7 +39,7 @@
  ]
  tzdb-bundle-platform = [
      "alloc",
-@@ -138,22 +122,10 @@
+@@ -139,22 +123,10 @@
  features = ["derive"]
  optional = true
  
@@ -48,16 +48,16 @@
 -optional = true
 -
  [dependencies.jcore]
- version = "0.1.8"
+ version = "1.0.0"
  default-features = false
  package = "jiff-core"
 -
 -[dependencies.jiff-static]
--version = "0.2"
+-version = "1.0"
 -optional = true
 -
 -[dependencies.jiff-tzdb]
--version = "0.1.10"
+-version = "1.0.0"
 -optional = true
  
  [dependencies.log]

diff --git a/rust-jiff.spec b/rust-jiff.spec
index aa5d022..bab4aff 100644
--- a/rust-jiff.spec
+++ b/rust-jiff.spec
@@ -5,7 +5,7 @@
 %global crate jiff
 
 Name:           rust-jiff
-Version:        0.2.46
+Version:        1.0.0
 Release:        %autorelease
 Summary:        Date-time library that encourages you to jump into the pit of success
 

diff --git a/sources b/sources
index f65ff9b..e71c5a4 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (jiff-0.2.46.crate) = d11bddcd87a5a2b63355769fce378d39985c34c717d79731143f27b81d79433ef959c65964db34015de86023fb3277a728c06a30ca671ed50fbe6618574d973e
-SHA512 (jiff-0.2.46.tar.gz) = 45996ccbf6e9231a2ea9dd5098a282aed7fed2b09610811ba6b082099cfdb1522198c5e725bd66dd608c31c3c62ed1779946b99ac571974c254f5fa951a78ac2
+SHA512 (jiff-1.0.0.crate) = 7ea7f16ec6764bdcd54d8255bf034dd03abf05092ead3246854808168ec00e79ff2165882c93d990e77c13fade30b78249fe0e27f50bc1a407d7ddce5929482c
+SHA512 (jiff-1.0.0.tar.gz) = e04b2a9b56054765f697f067d78295af3b173548c056e2538cc448bee74f5deeb9d1ca3777dcf51d9dbe032de9db9fff51f1482e30aaa69060f930ca8ee1f164

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18  6:51 [rpms/rust-jiff] epel10: Update to version 1.0.0; Fixes RHBZ#2573664 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox