public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-warp] epel9: Drop example-only handlebars dev-dependency
@ 2026-06-10 16:10 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-10 16:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-warp
Branch : epel9
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=epel9
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"]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 16:10 [rpms/rust-warp] epel9: Drop example-only handlebars dev-dependency Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox