public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-handlebars] epel10: Downgrade to 1.1.0
Date: Tue, 07 Jul 2026 12:41:54 GMT [thread overview]
Message-ID: <178342811441.1.3132916368343923455.rpms-rust-handlebars-dcf073e972a4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-handlebars
Branch : epel10
Commit : dcf073e972a4b0d0a283a382d5f59e41099093fb
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2019-06-19T23:41:25+02:00
Stats : +33/-25 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-handlebars/c/dcf073e972a4b0d0a283a382d5f59e41099093fb?branch=epel10
Log:
Downgrade to 1.1.0
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/handlebars-fix-metadata.diff b/handlebars-fix-metadata.diff
new file mode 100644
index 0000000..3abd653
--- /dev/null
+++ b/handlebars-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- handlebars-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ handlebars-1.1.0/Cargo.toml 2019-06-19T21:41:04.532079+00:00
+@@ -55,7 +55,7 @@
+ version = "2.2.3"
+ optional = true
+ [dev-dependencies.env_logger]
+-version = "0.5.13"
++version = "0.6.0"
+
+ [dev-dependencies.maplit]
+ version = "1.0.0"
diff --git a/rust-handlebars.spec b/rust-handlebars.spec
index d8624f6..47a39c0 100644
--- a/rust-handlebars.spec
+++ b/rust-handlebars.spec
@@ -1,40 +1,31 @@
-# Generated by rust2rpm
-# * Tests are run in infrastructure
-%bcond_with check
+# Generated by rust2rpm 10
+%bcond_without check
%global debug_package %{nil}
%global crate handlebars
Name: rust-%{crate}
-Version: 1.2.0
-Release: 2%{?dist}
+Version: 1.1.0
+Release: 1%{?dist}
Summary: Handlebars templating implemented in Rust
+# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/handlebars
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+Source: %{crates_source}
+# Initial patched metadata
+# * Update env_logger to 0.6.0, https://github.com/sunng87/handlebars-rust/commit/0a405328a00edecebd1a0b761989b646a9a087c0
+Patch0: handlebars-fix-metadata.diff
ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
BuildRequires: rust-packaging
-BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
-BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
-BuildRequires: (crate(pest/default) >= 2.0.2 with crate(pest/default) < 3.0.0)
-BuildRequires: (crate(pest_derive/default) >= 2.0.1 with crate(pest_derive/default) < 3.0.0)
-BuildRequires: (crate(quick-error/default) >= 1.0.0 with crate(quick-error/default) < 2.0.0)
-BuildRequires: (crate(regex/default) >= 1.0.3 with crate(regex/default) < 2.0.0)
-BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
-BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
-BuildRequires: (crate(walkdir/default) >= 2.2.3 with crate(walkdir/default) < 3.0.0)
-%if %{with check}
-BuildRequires: (crate(env_logger/default) >= 0.5.13 with crate(env_logger/default) < 0.6.0)
-BuildRequires: (crate(maplit/default) >= 1.0.0 with crate(maplit/default) < 2.0.0)
-BuildRequires: (crate(serde_derive/default) >= 1.0.75 with crate(serde_derive/default) < 2.0.0)
-BuildRequires: (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) < 4.0.0)
-%endif
-%global _description \
-Handlebars templating implemented in Rust.
+%global _description %{expand:
+Handlebars templating implemented in Rust.}
%description %{_description}
@@ -137,9 +128,12 @@ which use "walkdir" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+%generate_buildrequires
+%cargo_generate_buildrequires
+
%build
%cargo_build
@@ -152,6 +146,9 @@ which use "walkdir" feature of "%{crate}" crate.
%endif
%changelog
+* Wed Jun 19 23:39:17 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-1
+- Downgrade to 1.1.0
+
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index dc2c654..47e6cce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (handlebars-1.2.0.crate) = 86dfc56dc6a07cb30b70d04153d493716bc85398c5f7346a8da0566bda1de320754729ff11fc260629e960adea3a9bd6d2591ebc3f3c1a137ace5fef49c0918e
+SHA512 (handlebars-1.1.0.crate) = 945559381261f468151fbadcdcd1bd6af9ee68ffc8cf2d6df94c01875b5388de901ad7bc9ebcded1c51bfdda25bee564e3885bde701a2d9667238ac436c6b61a
reply other threads:[~2026-07-07 12:41 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=178342811441.1.3132916368343923455.rpms-rust-handlebars-dcf073e972a4@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--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