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-notify] f44: Don’t patch out macos_fsevent feature
Date: Sat, 19 Sep 2026 06:51:20 GMT [thread overview]
Message-ID: <178980068054.1.7270590645790458458.rpms-rust-notify-0b63bd4a4aae@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-notify
Branch : f44
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=f44
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",
]
reply other threads:[~2026-09-19 6:51 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=178980068054.1.7270590645790458458.rpms-rust-notify-0b63bd4a4aae@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