public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-socketpair] epel10.3: Add dependency on rustix/time to work around weird issue in rustix v1.1
@ 2026-10-17 13:44 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-10-17 13:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-socketpair
Branch : epel10.3
Commit : 57173efaf06307a6dc7eaa2296d735b9e5bcc4b1
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-17T15:04:19+02:00
Stats  : +13/-2 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-socketpair/c/57173efaf06307a6dc7eaa2296d735b9e5bcc4b1?branch=epel10.3

Log:
Add dependency on rustix/time to work around weird issue in rustix v1.1

---
diff --git a/rust-socketpair.spec b/rust-socketpair.spec
index fda312d..34f7ab7 100644
--- a/rust-socketpair.spec
+++ b/rust-socketpair.spec
@@ -17,6 +17,7 @@ Patch:          socketpair-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * Update io-extras to 0.19, io-lifetimes to 3.0:
 #   https://github.com/sunfishcode/socketpair/pull/20
+# * add dependency on rustix/time to work around weird issue in rustix v1.1
 Patch:          socketpair-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 16f76ae..fd99603 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -4,4 +4,5 @@ cargo-toml-patch-comments = [
 Update io-extras to 0.19, io-lifetimes to 3.0: \
 https://github.com/sunfishcode/socketpair/pull/20\
 """,
+    "add dependency on rustix/time to work around weird issue in rustix v1.1",
 ]

diff --git a/socketpair-fix-metadata-auto.diff b/socketpair-fix-metadata-auto.diff
index 600eca0..9cbd11b 100644
--- a/socketpair-fix-metadata-auto.diff
+++ b/socketpair-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- socketpair-0.19.8/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ socketpair-0.19.8/Cargo.toml	2026-08-14T07:41:50.095286+00:00
++++ socketpair-0.19.8/Cargo.toml	2026-10-17T13:02:21.969440+00:00
 @@ -74,20 +74,6 @@
  version = "1.0.0"
  features = ["net"]

diff --git a/socketpair-fix-metadata.diff b/socketpair-fix-metadata.diff
index ab62779..9c360af 100644
--- a/socketpair-fix-metadata.diff
+++ b/socketpair-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- socketpair-0.19.8/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ socketpair-0.19.8/Cargo.toml	2026-08-14T07:42:16.266323+00:00
++++ socketpair-0.19.8/Cargo.toml	2026-10-17T13:02:49.208013+00:00
 @@ -57,10 +57,10 @@
  optional = true
  
@@ -13,3 +13,12 @@
  default-features = false
  
  [dependencies.tokio]
+@@ -72,7 +72,7 @@
+ 
+ [target."cfg(not(windows))".dependencies.rustix]
+ version = "1.0.0"
+-features = ["net"]
++features = ["net", "time"]
+ 
+ [lints.rust.unexpected_cfgs]
+ level = "warn"

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

only message in thread, other threads:[~2026-10-17 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 13:44 [rpms/rust-socketpair] epel10.3: Add dependency on rustix/time to work around weird issue in rustix v1.1 Fabio Valentini

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