public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-notify] f45: Don’t patch out macos_fsevent feature
@ 2026-09-19  6:51 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-19  6:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-notify
Branch : f45
Commit : 0b63bd4a4aae7d78ec27bd64757b8c111998c9aa
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-19T07:46:50+01:00
Stats  : +27/-14 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-notify/c/0b63bd4a4aae7d78ec27bd64757b8c111998c9aa?branch=f45

Log:
Don’t patch out macos_fsevent feature

---
diff --git a/notify-fix-metadata-auto.diff b/notify-fix-metadata-auto.diff
index 2d36b06..4b9563a 100644
--- a/notify-fix-metadata-auto.diff
+++ b/notify-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- notify-8.2.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ notify-8.2.0/Cargo.toml	2025-08-10T14:26:24.569388+00:00
++++ notify-8.2.0/Cargo.toml	2026-09-19T06:46:14.835840+00:00
 @@ -67,20 +67,12 @@
  
  [features]

diff --git a/notify-fix-metadata.diff b/notify-fix-metadata.diff
index ccc8543..7b6d6f8 100644
--- a/notify-fix-metadata.diff
+++ b/notify-fix-metadata.diff
@@ -1,7 +1,6 @@
 --- notify-8.2.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ notify-8.2.0/Cargo.toml	2026-09-07T18:47:05.197508+00:00
-@@ -37,9 +37,9 @@
- version = "0.5.0"
++++ notify-8.2.0/Cargo.toml	2026-09-19T06:46:38.525526+00:00
+@@ -38,7 +38,7 @@
  optional = true
  
  [dependencies.flume]
@@ -10,17 +9,13 @@
  optional = true
  
  [dependencies.libc]
- version = "0.2.4"
-@@ -66,11 +66,7 @@
- version = "3.10.0"
- 
+@@ -68,9 +68,6 @@
  [features]
--default = ["macos_fsevent"]
--macos_fsevent = []
+ default = ["macos_fsevent"]
+ macos_fsevent = []
 -macos_kqueue = [
 -    "mio",
 -]
-+default = []
  serde = ["notify-types/serde"]
  serialization-compat-6 = ["notify-types/serialization-compat-6"]
  

diff --git a/rust-notify.spec b/rust-notify.spec
index 23dbc03..cda3733 100644
--- a/rust-notify.spec
+++ b/rust-notify.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 %bcond check 1
 %global debug_package %{nil}
 
@@ -15,7 +15,9 @@ Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          notify-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
-# * remove macOS-specific features
+# * Remove macOS-specific macos_kqueue feature; leave macos_fsevent since it
+#   does nothing on other platforms, it is in the default features, and some
+#   things depend on it explicitly and unconditionally
 # * relax flume version constraint
 Patch:          notify-fix-metadata.diff
 
@@ -76,6 +78,18 @@ use the "flume" feature of the "%{crate}" crate.
 %files       -n %{name}+flume-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+macos_fsevent-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+macos_fsevent-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "macos_fsevent" feature of the "%{crate}" crate.
+
+%files       -n %{name}+macos_fsevent-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+serde-devel
 Summary:        %{summary}
 BuildArch:      noarch

diff --git a/rust2rpm.toml b/rust2rpm.toml
index b6dc455..5e13a8b 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,10 @@
 [package]
 cargo-toml-patch-comments = [
-    "remove macOS-specific features",
+    """\
+Remove macOS-specific macos_kqueue feature; leave macos_fsevent since it does \
+nothing on other platforms, it is in the default features, and some things \
+depend on it explicitly and unconditionally\
+""",
     "relax flume version constraint",
 ]
 

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-19  6:51 [rpms/rust-notify] f45: Don’t patch out macos_fsevent feature 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