public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-handlebars] epel10: Update to version 5.1.2; Fixes RHBZ#2236679
@ 2026-07-07 12:42 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-07 12:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-handlebars
Branch : epel10
Commit : 9934505269c32a5758f5c8f2cf31c9d66b92c1e2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2024-04-30T14:54:23+02:00
Stats  : +25/-10 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-handlebars/c/9934505269c32a5758f5c8f2cf31c9d66b92c1e2?branch=epel10

Log:
Update to version 5.1.2; Fixes RHBZ#2236679

---
diff --git a/.gitignore b/.gitignore
index 6a061af..9acf039 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@
 /handlebars-4.2.1.crate
 /handlebars-4.3.7.crate
 /handlebars-4.5.0.crate
+/handlebars-5.1.2.crate

diff --git a/handlebars-fix-metadata.diff b/handlebars-fix-metadata.diff
index f74c3f4..2a26671 100644
--- a/handlebars-fix-metadata.diff
+++ b/handlebars-fix-metadata.diff
@@ -1,21 +1,21 @@
---- handlebars-4.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ handlebars-4.5.0/Cargo.toml	2024-02-01T14:24:28.171267+00:00
+--- handlebars-5.1.2/Cargo.toml	1970-01-01T00:00:01+00:00
++++ handlebars-5.1.2/Cargo.toml	2024-04-28T20:46:28.101792+00:00
 @@ -97,9 +97,6 @@
  version = "2.2.3"
  optional = true
  
 -[dev-dependencies.criterion]
--version = "0.3"
+-version = "0.5"
 -
  [dev-dependencies.env_logger]
- version = "0.9"
+ version = "0.10"
  
 @@ -117,9 +114,6 @@
      "parsing",
  ]
  
 -[dev-dependencies.tiny_http]
--version = "0.11"
+-version = "0.12"
 -
  [features]
  default = []
@@ -25,7 +25,7 @@
  string_helpers = ["heck"]
  
 -[target."cfg(unix)".dev-dependencies.pprof]
--version = "0.10"
+-version = "0.13"
 -features = [
 -    "flamegraph",
 -    "prost-codec",

diff --git a/rust-handlebars.spec b/rust-handlebars.spec
index b779685..89063c3 100644
--- a/rust-handlebars.spec
+++ b/rust-handlebars.spec
@@ -1,10 +1,10 @@
-# Generated by rust2rpm 25
+# Generated by rust2rpm 26
 %bcond_without check
 
 %global crate handlebars
 
 Name:           rust-handlebars
-Version:        4.5.0
+Version:        5.1.2
 Release:        %autorelease
 Summary:        Handlebars templating implemented in Rust
 
@@ -52,7 +52,6 @@ use the "%{crate}" crate.
 
 %files          devel
 %license %{crate_instdir}/LICENSE
-%license %{crate_instdir}/wasm/LICENSE
 %doc %{crate_instdir}/CHANGELOG.md
 %doc %{crate_instdir}/README.md
 %{crate_instdir}/
@@ -134,6 +133,8 @@ use the "walkdir" feature of the "%{crate}" crate.
 %cargo_prep
 # * drop example binary that depends on tiny_http
 rm examples/dev_mode.rs
+# * we are not doing anything with wasm
+rm -rv wasm
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 3eac02c..d59959a 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,18 @@
 [package]
 summary = "Handlebars templating implemented in Rust"
+cargo-toml-patch-comments = [
+    "drop unused, benchmark-only criterion and pprof dev-dependencies",
+    "drop tiny_http dev-dependency that is only used in example code",
+]
 
 [features]
 hide = ["rhai", "rust-embed", "script_helper"]
+
+[scripts.prep]
+post = [
+    "# * drop example binary that depends on tiny_http",
+    "rm examples/dev_mode.rs",
+    "# * we are not doing anything with wasm",
+    "rm -rv wasm",
+]
+

diff --git a/sources b/sources
index d57fffb..441df29 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (handlebars-4.5.0.crate) = 639c33111ce7a1ed6084dcd40f466cdd6b45fd06dfe1d6e8c37b0e09da003cca96f1afd1d42e806cbdd08d3a397e7a1d515330f74843903ee9f853f59442ab80
+SHA512 (handlebars-5.1.2.crate) = e007f51a2fca93b0b7af9d38a696e905ff3fd20286f94b512a1ecea2d204987fa332d477576bad797de967532a9c96fe84e08bcdae49062fcf74b59b12e9b1a1

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

only message in thread, other threads:[~2026-07-07 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 12:42 [rpms/rust-handlebars] epel10: Update to version 5.1.2; Fixes RHBZ#2236679 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