public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-zvariant4] f44: deny(warnings) considered harmful
Date: Tue, 27 Oct 2026 15:13:30 GMT [thread overview]
Message-ID: <179311401085.1.18367040241274456314.rpms-rust-zvariant4-772d28347cc9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-zvariant4
Branch : f44
Commit : 772d28347cc92460971f16bd1b68372a7bac14ef
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-10-27T15:52:15+01:00
Stats : +25/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-zvariant4/c/772d28347cc92460971f16bd1b68372a7bac14ef?branch=f44
Log:
deny(warnings) considered harmful
---
diff --git a/0001-deny-warnings-considered-harmful.patch b/0001-deny-warnings-considered-harmful.patch
new file mode 100644
index 0000000..94339c4
--- /dev/null
+++ b/0001-deny-warnings-considered-harmful.patch
@@ -0,0 +1,24 @@
+From c69c0aba07b81a54f53eb2f38f6760c685560a98 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Tue, 27 Oct 2026 15:49:40 +0100
+Subject: [PATCH] deny(warnings) considered harmful
+
+---
+ src/lib.rs | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/lib.rs b/src/lib.rs
+index 017513d..4b5c45e 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -6,7 +6,6 @@
+ #![doc = include_str!("../README.md")]
+ #![doc(test(attr(
+ warn(unused),
+- deny(warnings),
+ allow(dead_code),
+ // W/o this, we seem to get some bogus warning about `extern crate zbus`.
+ allow(unused_extern_crates),
+--
+2.56.0
+
diff --git a/rust-zvariant4.spec b/rust-zvariant4.spec
index fe7a55c..5c0b047 100644
--- a/rust-zvariant4.spec
+++ b/rust-zvariant4.spec
@@ -15,6 +15,7 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
Patch: zvariant-fix-metadata.diff
+Patch: 0001-deny-warnings-considered-harmful.patch
BuildRequires: cargo-rpm-macros >= 24
reply other threads:[~2026-10-27 15:13 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=179311401085.1.18367040241274456314.rpms-rust-zvariant4-772d28347cc9@fedoraproject.org \
--to=decathorpe@gmail.com \
--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