public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-handlebars] epel10: initial import
@ 2026-07-07 12:41 Igor Gnatenko
0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-07-07 12:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-handlebars
Branch : epel10
Commit : aa348241f26febf821619b9afe96090b332aa28f
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2017-11-14T18:53:34+01:00
Stats : +88/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-handlebars/c/aa348241f26febf821619b9afe96090b332aa28f?branch=epel10
Log:
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ccb2ed9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/handlebars-0.29.1.crate
diff --git a/handlebars-0.29.1-fix-metadata.diff b/handlebars-0.29.1-fix-metadata.diff
new file mode 100644
index 0000000..daf10b1
--- /dev/null
+++ b/handlebars-0.29.1-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- handlebars-0.29.1/Cargo.toml 1970-01-01T01:00:00+01:00
++++ handlebars-0.29.1/Cargo.toml 2017-11-14T16:30:03.130788+01:00
+@@ -55,7 +55,7 @@
+ [dependencies.serde_json]
+ version = "^1.0.0"
+ [dev-dependencies.maplit]
+-version = "^0.1.3"
++version = "^1.0.0"
+
+ [dev-dependencies.env_logger]
+ version = "^0.4.0"
diff --git a/rust-handlebars.spec b/rust-handlebars.spec
new file mode 100644
index 0000000..273d282
--- /dev/null
+++ b/rust-handlebars.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate handlebars
+
+Name: rust-%{crate}
+Version: 0.29.1
+Release: 1%{?dist}
+Summary: Handlebars templating implemented in Rust
+
+License: MIT
+URL: https://crates.io/crates/handlebars
+Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+# Initial patched metadata
+# * Bump maplit to 1.0.0, https://github.com/sunng87/handlebars-rust/pull/192
+Patch0: handlebars-0.29.1-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(lazy_static) >= 0.2.2 with crate(lazy_static) < 0.3.0)
+BuildRequires: (crate(log) >= 0.3.1 with crate(log) < 0.4.0)
+BuildRequires: (crate(pest) >= 0.3.0 with crate(pest) < 0.4.0)
+BuildRequires: (crate(quick-error) >= 1.0.0 with crate(quick-error) < 2.0.0)
+BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0)
+BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
+BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
+%if %{with check}
+# [dev-dependencies]
+BuildRequires: (crate(env_logger) >= 0.4.0 with crate(env_logger) < 0.5.0)
+BuildRequires: (crate(maplit) >= 1.0.0 with crate(maplit) < 2.0.0)
+BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
+%endif
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Handlebars templating implemented in Rust.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files devel
+%license LICENSE
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.29.1-1
+- Update to 0.29.1
+
+* Thu Jul 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..681ef1c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (handlebars-0.29.1.crate) = dbf6bb474dbccdc60d00ebf73e2c5c04994155ddb5d3aa2f3c9fbec85c5b1b85eadc73a080e212b277ccc17dc07035b67044db62b92ab27d3c95cfad90390ed3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-07 12:41 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:41 [rpms/rust-handlebars] epel10: initial import Igor Gnatenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox