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-warp] f44: Drop example-only handlebars dev-dependency
Date: Wed, 10 Jun 2026 15:45:28 GMT [thread overview]
Message-ID: <178110632884.1.7132792724149156801.rpms-rust-warp-9a16b8fc4279@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-warp
Branch : f44
Commit : 9a16b8fc42799835bf04cf169db2b6f7602049f7
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-06-10T17:09:59+02:00
Stats : +25/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-warp/c/9a16b8fc42799835bf04cf169db2b6f7602049f7?branch=f44
Log:
Drop example-only handlebars dev-dependency
---
diff --git a/rust-warp.spec b/rust-warp.spec
index 5a29b57..9277402 100644
--- a/rust-warp.spec
+++ b/rust-warp.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate warp
@@ -16,6 +16,7 @@ Source: %{crates_source}
# * drop unused support for rustls
# * drop unused support for brotli
# * bump tokio-tungstenite dependency from 0.21 to 0.23
+# * drop example-only handlebars dev-dependency
Patch: warp-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -139,6 +140,8 @@ use the "websocket" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
+# drop example that pulls in handlebars
+rm -v examples/handlebars_template.rs
%generate_buildrequires
%cargo_generate_buildrequires -a
diff --git a/rust2rpm.toml b/rust2rpm.toml
index c73de3d..bca597f 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -3,8 +3,15 @@ cargo-toml-patch-comments = [
"drop unused support for rustls",
"drop unused support for brotli",
"bump tokio-tungstenite dependency from 0.21 to 0.23",
+ "drop example-only handlebars dev-dependency",
]
[features]
enable-all = true
+[scripts]
+prep.post = [
+ "# drop example that pulls in handlebars",
+ "rm -v examples/handlebars_template.rs",
+]
+
diff --git a/warp-fix-metadata.diff b/warp-fix-metadata.diff
index 800079c..2aef073 100644
--- a/warp-fix-metadata.diff
+++ b/warp-fix-metadata.diff
@@ -1,5 +1,5 @@
--- warp-0.3.7/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ warp-0.3.7/Cargo.toml 2024-07-03T21:39:37.225862+00:00
++++ warp-0.3.7/Cargo.toml 2026-06-10T15:07:24.475169+00:00
@@ -123,10 +123,6 @@
[dependencies.pin-project]
version = "1.0"
@@ -25,7 +25,17 @@
optional = true
[dependencies.tokio-util]
-@@ -202,10 +194,8 @@
+@@ -170,9 +162,6 @@
+ ]
+ default-features = false
+
+-[dev-dependencies.handlebars]
+-version = "5.0"
+-
+ [dev-dependencies.listenfd]
+ version = "1.0"
+
+@@ -202,10 +191,8 @@
[features]
compression = [
@@ -36,7 +46,7 @@
compression-gzip = [
"async-compression/deflate",
"async-compression/gzip",
-@@ -215,8 +205,4 @@
+@@ -215,8 +202,4 @@
"websocket",
]
multipart = ["multer"]
reply other threads:[~2026-06-10 15:45 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=178110632884.1.7132792724149156801.rpms-rust-warp-9a16b8fc4279@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