public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-handlebars] epel10: Update to version 4.3.7; Fixes RHBZ#2062363
@ 2026-07-07 12:42 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-07 12:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-handlebars
Branch : epel10
Commit : 4bec3f742d929829a600f59c0e7bf42105918850
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-08-02T14:29:33+02:00
Stats : +56/-53 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/rust-handlebars/c/4bec3f742d929829a600f59c0e7bf42105918850?branch=epel10
Log:
Update to version 4.3.7; Fixes RHBZ#2062363
---
diff --git a/.gitignore b/.gitignore
index 5ca2b2a..359eb3c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/handlebars-4.1.5.crate
/handlebars-4.1.6.crate
/handlebars-4.2.1.crate
+/handlebars-4.3.7.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
deleted file mode 100644
index 90b26da..0000000
--- a/.rust2rpm.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-[DEFAULT]
-unwanted-features =
- rhai
- script_helper
diff --git a/README.md b/README.md
deleted file mode 100644
index 4416060..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-handlebars
-
-The rust-handlebars package
\ No newline at end of file
diff --git a/handlebars-fix-metadata.diff b/handlebars-fix-metadata.diff
index c70c36a..d377485 100644
--- a/handlebars-fix-metadata.diff
+++ b/handlebars-fix-metadata.diff
@@ -1,8 +1,8 @@
---- handlebars-4.2.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ handlebars-4.2.1/Cargo.toml 2022-01-26T22:04:02.766540+00:00
-@@ -71,9 +71,6 @@
- version = "0.4.19"
- features = ["serde"]
+--- handlebars-4.3.7/Cargo.toml 1970-01-01T00:00:01+00:00
++++ handlebars-4.3.7/Cargo.toml 2023-08-02T12:24:49.113056+00:00
+@@ -92,9 +92,6 @@
+ version = "2.2.3"
+ optional = true
-[dev-dependencies.criterion]
-version = "0.3"
@@ -10,12 +10,25 @@
[dev-dependencies.env_logger]
version = "0.9"
-@@ -98,8 +95,5 @@
+@@ -112,21 +109,11 @@
+ "parsing",
+ ]
+
+-[dev-dependencies.tiny_http]
+-version = "0.11"
+-
+ [features]
+ default = []
dir_source = ["walkdir"]
no_logging = []
script_helper = ["rhai"]
+
-[target."cfg(unix)".dev-dependencies.pprof]
--version = "0.6"
--features = ["flamegraph", "protobuf"]
+-version = "0.10"
+-features = [
+- "flamegraph",
+- "prost-codec",
+-]
+-
[badges.maintenance]
status = "actively-developed"
diff --git a/rust-handlebars.spec b/rust-handlebars.spec
index 25138c8..6463e3e 100644
--- a/rust-handlebars.spec
+++ b/rust-handlebars.spec
@@ -1,24 +1,22 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global crate handlebars
-Name: rust-%{crate}
-Version: 4.2.1
+Name: rust-handlebars
+Version: 4.3.7
Release: %autorelease
Summary: Handlebars templating implemented in Rust
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/handlebars
Source: %{crates_source}
-# Initial patched metadata
+# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion and pprof dev-dependencies
-Patch0: handlebars-fix-metadata.diff
+# * drop tiny_http dev-dependency that is only used in example code
+Patch: handlebars-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 23
%global _description %{expand:
Handlebars templating implemented in Rust.}
@@ -27,31 +25,19 @@ Handlebars templating implemented in Rust.}
%package -n %{crate}
Summary: %{summary}
-# ASL 2.0 or Boost: rust-ryu 1.0.9
-# MIT: rust-handlebars 4.2.1
-# MIT or ASL 2.0: rust-cfg-if 1.0.0
-# MIT or ASL 2.0: rust-itoa 1.0.1
-# MIT or ASL 2.0: rust-log 0.4.14
-# MIT or ASL 2.0: rust-maplit 1.0.2
-# MIT or ASL 2.0: rust-pest 2.1.3
-# MIT or ASL 2.0: rust-pest_derive 2.1.0
-# MIT or ASL 2.0: rust-pest_generator 2.1.3
-# MIT or ASL 2.0: rust-pest_meta 2.1.3
-# MIT or ASL 2.0: rust-proc-macro2 1.0.36
-# MIT or ASL 2.0: rust-quick-error 2.0.1
-# MIT or ASL 2.0: rust-quote 1.0.14
-# MIT or ASL 2.0: rust-serde 1.0.134
-# MIT or ASL 2.0: rust-serde_json 1.0.78
-# MIT or ASL 2.0: rust-syn 1.0.86
-# MIT or ASL 2.0: rust-ucd-trie 0.1.3
-# MIT or ASL 2.0: rust-unicode-xid 0.2.2
-License: MIT and (ASL 2.0 or Boost)
+# Apache-2.0 OR BSL-1.0
+# MIT
+# MIT OR Apache-2.0
+License: MIT AND (Apache-2.0 OR BSL-1.0) AND (MIT OR Apache-2.0)
+# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
-%doc CHANGELOG.md README.md
+%license LICENSE.dependencies
+%doc CHANGELOG.md
+%doc README.md
%{_bindir}/handlebars-cli
%package devel
@@ -64,9 +50,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc CHANGELOG.md README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%license %{crate_instdir}/wasm/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -78,7 +66,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dir_source-devel
Summary: %{summary}
@@ -90,7 +78,7 @@ This package contains library source intended for building other packages which
use the "dir_source" feature of the "%{crate}" crate.
%files -n %{name}+dir_source-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_logging-devel
Summary: %{summary}
@@ -102,7 +90,7 @@ This package contains library source intended for building other packages which
use the "no_logging" feature of the "%{crate}" crate.
%files -n %{name}+no_logging-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rust-embed-devel
Summary: %{summary}
@@ -114,7 +102,7 @@ This package contains library source intended for building other packages which
use the "rust-embed" feature of the "%{crate}" crate.
%files -n %{name}+rust-embed-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+walkdir-devel
Summary: %{summary}
@@ -126,17 +114,21 @@ This package contains library source intended for building other packages which
use the "walkdir" feature of the "%{crate}" crate.
%files -n %{name}+walkdir-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+# * drop example binary that depends on tiny_http
+rm examples/dev_mode.rs
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..90b26da
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+unwanted-features =
+ rhai
+ script_helper
diff --git a/sources b/sources
index 3ae3fc2..ae8d451 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (handlebars-4.2.1.crate) = fe6054c8b6c5448f25480769797565cc37dce8e70316f830960986ebe9d6c1856197e7097039d6571f428e5cbff1175ad29524f8b6b3cf7ceda717f46f4b8dc6
+SHA512 (handlebars-4.3.7.crate) = c0c4d679760cd90c3eb40508cd6f3de5f1624740a2b3539462e68442270e575242aaf55c4141c473a520523de6c32d7372cba409efd219cc7b8b4f68d1def5f9
^ 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 4.3.7; Fixes RHBZ#2062363 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox