## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 20 %bcond_without check %global crate handlebars Name: rust-%{crate} Version: 4.2.1 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 # * drop unused, benchmark-only criterion and pprof dev-dependencies Patch0: handlebars-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Handlebars templating implemented in Rust.} %description %{_description} %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) %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/handlebars-cli %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} 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}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} 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 %package -n %{name}+dir_source-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dir_source-devel %{_description} 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 %package -n %{name}+no_logging-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_logging-devel %{_description} 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 %package -n %{name}+rust-embed-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust-embed-devel %{_description} 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 %package -n %{name}+walkdir-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+walkdir-devel %{_description} 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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Wed Jan 26 2022 Fabio Valentini 4.2.1-1 - Update to version 4.2.1; Fixes RHBZ#2037398 * Fri Jan 21 2022 Fedora Release Engineering 4.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Fabio Valentini 4.1.6-1 - Update to version 4.1.6; Fixes RHBZ#2028884 * Thu Nov 25 2021 Fabio Valentini 4.1.5-1 - Update to version 4.1.5; Fixes RHBZ#1939577 * Tue Jul 27 2021 Fedora Release Engineering - 3.5.3-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Feb 23 2021 Fabio Valentini - 3.5.3-1 - Update to version 3.5.3. - Fixes RHBZ#1931089 * Wed Jan 27 2021 Fedora Release Engineering - 3.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 29 17:04:49 CET 2020 Igor Raits - 3.5.2-1 - Update to 3.5.2 (Fixes: RHBZ#1911452) * Sat Nov 28 2020 Fabio Valentini - 3.5.1-2 - Drop features with missing dependencies (rhai). * Mon Oct 26 2020 Fabio Valentini - 3.5.1-1 - Update to version 3.5.1. * Wed Jul 29 2020 Josh Stone - 3.3.0-1 - Update to 3.3.0 * Fri Jul 10 2020 Josh Stone - 3.2.1-1 - Update to 3.2.1 * Tue Jun 02 16:30:52 CEST 2020 Igor Raits - 3.1.0-1 - Update to 3.1.0 * Thu Feb 13 2020 Josh Stone - 3.0.1-1 - Update to 3.0.1 * Thu Jan 30 2020 Fedora Release Engineering - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 19 09:44:23 CET 2019 Igor Gnatenko - 2.0.2-1 - Update to 2.0.2 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 19 23:39:17 CEST 2019 Igor Gnatenko - 1.1.0-1 - Downgrade to 1.1.0 * Sat Feb 02 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Dec 15 2018 Josh Stone - 1.2.0-1 - Update to 1.2.0 * Sat Nov 10 2018 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Thu Oct 04 2018 Josh Stone - 1.0.5-1 - Update to 1.0.5 * Fri Sep 28 2018 Josh Stone - 1.0.4-1 - Update to 1.0.4 * Sat Sep 08 2018 Josh Stone - 1.0.3-1 - Update to 1.0.3 * Wed Jul 18 2018 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.32.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jun 11 2018 Igor Gnatenko - 0.32.4-1 - Update to 0.32.4 * Mon Mar 12 2018 Igor Gnatenko - 0.32.0-1 - Update to 0.32.0 * Sat Feb 10 2018 Igor Gnatenko - 0.31.0-1 - Update to 0.31.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.30.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Feb 01 2018 Josh Stone - 0.30.1-1 - Update to 0.30.1 * Mon Jan 22 2018 Igor Gnatenko - 0.30.0-1 - Update to 0.30.0 * Mon Jan 08 2018 Igor Gnatenko - 0.29.1-3 - Rebuild for rust-packaging v5 * Thu Nov 30 2017 Igor Gnatenko - 0.29.1-2 - Bump lazy_static to 1 * Tue Nov 14 2017 Igor Gnatenko - 0.29.1-1 - Update to 0.29.1 * Thu Jul 06 2017 Igor Gnatenko - 0.27.0-1 - Initial package