public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-jiff] epel10: Update to version 0.2.30
Date: Tue, 30 Jun 2026 09:09:04 GMT	[thread overview]
Message-ID: <178281054465.1.11223986959607811508.rpms-rust-jiff-61c3d2a18f93@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-jiff
Branch : epel10
Commit : 61c3d2a18f93af5ce706f711a67722b6c6cffdfa
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-30T06:22:38+01:00
Stats  : +56/-8 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-jiff/c/61c3d2a18f93af5ce706f711a67722b6c6cffdfa?branch=epel10

Log:
Update to version 0.2.30

---
diff --git a/.gitignore b/.gitignore
index 27fb552..d372a49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -72,3 +72,5 @@
 /jiff-0.2.28.tar.gz
 /jiff-0.2.29.crate
 /jiff-0.2.29.tar.gz
+/jiff-0.2.30.crate
+/jiff-0.2.30.tar.gz

diff --git a/594.patch b/594.patch
new file mode 100644
index 0000000..d7fb7ec
--- /dev/null
+++ b/594.patch
@@ -0,0 +1,35 @@
+From cc1da3341c3a4655f0456fe3abf3cd8cd695a9fc Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 29 Jun 2026 22:38:27 +0100
+Subject: [PATCH] =?UTF-8?q?Use=20`crate::=E2=80=A6`=20instead=20of=20`jiff?=
+ =?UTF-8?q?::=E2=80=A6`=20in=20a=20couple=20of=20lib=20tests?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+---
+ src/fmt/buffer.rs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/fmt/buffer.rs b/src/fmt/buffer.rs
+index 0a9d708c..0db45a90 100644
+--- a/src/fmt/buffer.rs
++++ b/src/fmt/buffer.rs
+@@ -1398,7 +1398,7 @@ mod tests {
+     #[cfg(feature = "alloc")]
+     #[test]
+     fn spare_capacity_empty_buffer() {
+-        use jiff::{civil::date, fmt::temporal::DateTimePrinter};
++        use crate::{civil::date, fmt::temporal::DateTimePrinter};
+ 
+         let mut s = alloc::string::String::new();
+         let printer = DateTimePrinter::new();
+@@ -1418,7 +1418,7 @@ mod tests {
+     #[cfg(feature = "alloc")]
+     #[test]
+     fn spare_capacity_non_empty_buffer() {
+-        use jiff::{civil::date, fmt::temporal::DateTimePrinter};
++        use crate::{civil::date, fmt::temporal::DateTimePrinter};
+ 
+         let mut s = alloc::string::String::from("🎉🎉🎉");
+         let printer = DateTimePrinter::new();

diff --git a/jiff-fix-metadata-auto.diff b/jiff-fix-metadata-auto.diff
index 8c46cf8..5818a11 100644
--- a/jiff-fix-metadata-auto.diff
+++ b/jiff-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- jiff-0.2.29/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ jiff-0.2.29/Cargo.toml	2026-06-21T09:35:14.840566+00:00
+--- jiff-0.2.30/Cargo.toml	2006-07-24T01:21:28+00:00
++++ jiff-0.2.30/Cargo.toml	2026-06-29T21:50:43.063458+00:00
 @@ -69,7 +69,6 @@
  [features]
  alloc = [
@@ -45,7 +45,7 @@
 -optional = true
 -
  [target."cfg(any())".dependencies.jiff-static]
- version = "=0.2.29"
+ version = "=0.2.30"
  
 -[target.'cfg(any(windows, target_family = "wasm"))'.dependencies.jiff-tzdb-platform]
 -version = "0.1.3"

diff --git a/jiff-fix-metadata.diff b/jiff-fix-metadata.diff
index 5cc1c6f..c16a783 100644
--- a/jiff-fix-metadata.diff
+++ b/jiff-fix-metadata.diff
@@ -1,5 +1,5 @@
---- jiff-0.2.29/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ jiff-0.2.29/Cargo.toml	2026-06-21T09:35:14.841963+00:00
+--- jiff-0.2.30/Cargo.toml	2006-07-24T01:21:28+00:00
++++ jiff-0.2.30/Cargo.toml	2026-06-29T21:50:43.064763+00:00
 @@ -69,7 +69,6 @@
  [features]
  alloc = [

diff --git a/rust-jiff.spec b/rust-jiff.spec
index 31d6546..6740316 100644
--- a/rust-jiff.spec
+++ b/rust-jiff.spec
@@ -5,7 +5,7 @@
 %global crate jiff
 
 Name:           rust-jiff
-Version:        0.2.29
+Version:        0.2.30
 Release:        %autorelease
 Summary:        Date-time library that encourages you to jump into the pit of success
 
@@ -40,6 +40,9 @@ Patch10:        0001-Downstream-only-Omit-doctests-that-require-hifitime.patch
 Patch11:        0002-Downstream-only-Omit-doctests-that-require-jiff-stat.patch
 # * Downstream-only: Omit doctest that requires time-tz
 Patch12:        0003-Downstream-only-Omit-doctest-that-requires-time-tz.patch
+# * Use `crate::…` instead of `jiff::…` in a couple of lib tests
+# * https://github.com/BurntSushi/jiff/pull/594
+Patch13:        https://github.com/BurntSushi/jiff/pull/594.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  tomcli

diff --git a/rust2rpm.toml b/rust2rpm.toml
index ca412e0..42971c2 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -73,6 +73,14 @@ comments = [
     "Downstream-only: Omit doctest that requires time-tz",
 ]
 
+[[package.extra-patches]]
+number = 13
+file = "https://github.com/BurntSushi/jiff/pull/594.patch"
+comments = [
+    "Use `crate::…` instead of `jiff::…` in a couple of lib tests",
+    "https://github.com/BurntSushi/jiff/pull/594",
+]
+
 [requires]
 build = [
     "tomcli",

diff --git a/sources b/sources
index 29ded5b..8db2fbc 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (jiff-0.2.29.crate) = 832f82b7d7126fb74a57aef033d331b724ee5c8076dcc1eb9a3bbd0af0660d592ead90bb9b2f51146339b1796dffd01ee9d1c29f73626e846b71a2552773911c
-SHA512 (jiff-0.2.29.tar.gz) = 774f5945bfe1cf4ab4ab6135bda120e83949cf30380859f2e0d5098665c17bce6f14739e6e686258733fb0de7df2b29c8d7e068d7aa96448993d093ba69e8724
+SHA512 (jiff-0.2.30.crate) = 365fba92745ad2763b5ac7de1c3864f5011eff456467564235c693bc426ca7e5efb9082fd7be7caba377d8221436aa2686435c94337c850be64156bc35d80620
+SHA512 (jiff-0.2.30.tar.gz) = a93ab0ddc913b3e56a227619f0fbd1bccf9bdfd32273e73a69072e0c21ff32c525902630335dffb20c1e2e98ad7d081b2c594482efe92bd409ba6f2e8ac9d2c2

                 reply	other threads:[~2026-06-30  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178281054465.1.11223986959607811508.rpms-rust-jiff-61c3d2a18f93@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox