## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate minijinja Name: rust-minijinja Version: 1.0.21 Release: %autorelease Summary: Powerful template engine for Rust with minimal dependencies License: Apache-2.0 URL: https://crates.io/crates/minijinja Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused "source" feature with missing dependencies: memo-map ^0.3.1 Patch: minijinja-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A powerful template engine for Rust with minimal dependencies.} %description %{_description} %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 %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ %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 %{crate_instdir}/Cargo.toml %package -n %{name}+adjacent_loop_items-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+adjacent_loop_items-devel %{_description} This package contains library source intended for building other packages which use the "adjacent_loop_items" feature of the "%{crate}" crate. %files -n %{name}+adjacent_loop_items-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+builtins-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+builtins-devel %{_description} This package contains library source intended for building other packages which use the "builtins" feature of the "%{crate}" crate. %files -n %{name}+builtins-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+custom_syntax-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+custom_syntax-devel %{_description} This package contains library source intended for building other packages which use the "custom_syntax" feature of the "%{crate}" crate. %files -n %{name}+custom_syntax-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deserialization-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+deserialization-devel %{_description} This package contains library source intended for building other packages which use the "deserialization" feature of the "%{crate}" crate. %files -n %{name}+deserialization-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fuel-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fuel-devel %{_description} This package contains library source intended for building other packages which use the "fuel" feature of the "%{crate}" crate. %files -n %{name}+fuel-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+indexmap-devel %{_description} This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+internal_debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+internal_debug-devel %{_description} This package contains library source intended for building other packages which use the "internal_debug" feature of the "%{crate}" crate. %files -n %{name}+internal_debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json-devel %{_description} This package contains library source intended for building other packages which use the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+key_interning-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+key_interning-devel %{_description} This package contains library source intended for building other packages which use the "key_interning" feature of the "%{crate}" crate. %files -n %{name}+key_interning-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+multi_template-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+multi_template-devel %{_description} This package contains library source intended for building other packages which use the "multi_template" feature of the "%{crate}" crate. %files -n %{name}+multi_template-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+percent-encoding-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+percent-encoding-devel %{_description} This package contains library source intended for building other packages which use the "percent-encoding" feature of the "%{crate}" crate. %files -n %{name}+percent-encoding-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+preserve_order-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+preserve_order-devel %{_description} This package contains library source intended for building other packages which use the "preserve_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_order-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+speedups-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+speedups-devel %{_description} This package contains library source intended for building other packages which use the "speedups" feature of the "%{crate}" crate. %files -n %{name}+speedups-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+stacker-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+stacker-devel %{_description} This package contains library source intended for building other packages which use the "stacker" feature of the "%{crate}" crate. %files -n %{name}+stacker-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicase-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicase-devel %{_description} This package contains library source intended for building other packages which use the "unicase" feature of the "%{crate}" crate. %files -n %{name}+unicase-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode-devel %{_description} This package contains library source intended for building other packages which use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-ident-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode-ident-devel %{_description} This package contains library source intended for building other packages which use the "unicode-ident" feature of the "%{crate}" crate. %files -n %{name}+unicode-ident-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_machinery-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_machinery-devel %{_description} This package contains library source intended for building other packages which use the "unstable_machinery" feature of the "%{crate}" crate. %files -n %{name}+unstable_machinery-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_machinery_serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_machinery_serde-devel %{_description} This package contains library source intended for building other packages which use the "unstable_machinery_serde" feature of the "%{crate}" crate. %files -n %{name}+unstable_machinery_serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+urlencode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+urlencode-devel %{_description} This package contains library source intended for building other packages which use the "urlencode" feature of the "%{crate}" crate. %files -n %{name}+urlencode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v_htmlescape-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v_htmlescape-devel %{_description} This package contains library source intended for building other packages which use the "v_htmlescape" feature of the "%{crate}" crate. %files -n %{name}+v_htmlescape-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sun Jan 19 2025 Fedora Release Engineering - 1.0.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 1.0.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Apr 24 2024 Fabio Valentini - 1.0.21-1 - Update to version 1.0.21; Fixes RHBZ#2276847 * Fri Apr 12 2024 Fabio Valentini - 1.0.20-1 - Update to version 1.0.20; Fixes RHBZ#2270415 * Mon Mar 18 2024 Fabio Valentini - 1.0.13-1 - Update to version 1.0.13; Fixes RHBZ#2269940 * Tue Jan 30 2024 Fabio Valentini - 1.0.12-1 - Update to version 1.0.12; Fixes RHBZ#2259373 * Fri Jan 26 2024 Fedora Release Engineering - 1.0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 10 2024 Fabio Valentini - 1.0.11-1 - Update to version 1.0.11; Fixes RHBZ#2257280 * Fri Nov 10 2023 Fabio Valentini - 1.0.10-1 - Update to version 1.0.10; Fixes RHBZ#2249050 * Thu Oct 19 2023 Fabio Valentini - 1.0.9-1 - Update to version 1.0.9; Fixes RHBZ#2244870 * Mon Sep 18 2023 Fabio Valentini - 1.0.8-1 - Update to version 1.0.8; Fixes RHBZ#2239317 * Sat Aug 26 2023 Fabio Valentini - 1.0.7-1 - Update to version 1.0.7; Fixes RHBZ#2231014 * Fri Jul 21 2023 Fabio Valentini - 1.0.5-1 - Update to version 1.0.5; Fixes RHBZ#2223562 * Wed Jul 12 2023 Fabio Valentini - 1.0.4-1 - Update to version 1.0.4; Fixes RHBZ#2217174 * Sat Jun 24 2023 Fabio Valentini - 1.0.1-1 - Update to version 1.0.1; Fixes RHBZ#2211772 * Mon May 29 2023 Fabio Valentini - 0.33.0-1 - Initial import (#2209450) ## END: Generated by rpmautospec