## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 24 # * files that are required by tests are not included in published crates %bcond_with check %global debug_package %{nil} %global crate tera Name: rust-tera Version: 1.19.1 Release: %autorelease Summary: Template engine based on Jinja2/Django templates License: MIT URL: https://crates.io/crates/tera Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Template engine based on Jinja2/Django templates.} %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}/CHANGELOG.md %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}+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}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-tz-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-tz-devel %{_description} This package contains library source intended for building other packages which use the "chrono-tz" feature of the "%{crate}" crate. %files -n %{name}+chrono-tz-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+date-locale-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+date-locale-devel %{_description} This package contains library source intended for building other packages which use the "date-locale" feature of the "%{crate}" crate. %files -n %{name}+date-locale-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+humansize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+humansize-devel %{_description} This package contains library source intended for building other packages which use the "humansize" feature of the "%{crate}" crate. %files -n %{name}+humansize-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}+rand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-devel %{_description} This package contains library source intended for building other packages which use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+slug-devel %{_description} This package contains library source intended for building other packages which use the "slug" feature of the "%{crate}" crate. %files -n %{name}+slug-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 %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 ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 1.19.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Sep 13 2023 Fabio Valentini - 1.19.1-1 - Update to version 1.19.1 * Thu Aug 31 2023 Fabio Valentini - 1.19.0-1 - Update to version 1.19.0; Fixes RHBZ#2019713 * Fri Jul 21 2023 Fedora Release Engineering - 1.12.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 23 2023 Fabio Valentini - 1.12.1-5 - Regenerate with rust2rpm v24 * Sat Jan 21 2023 Fedora Release Engineering - 1.12.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.12.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Aug 08 2021 Fabio Valentini - 1.12.1-1 - Update to version 1.12.1; Fixes RHBZ#1981943 * Fri Jul 23 2021 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 13 2021 Fabio Valentini - 1.12.0-1 - Update to version 1.12.0; Fixes RHBZ#1977477 * Fri Jun 18 2021 Fabio Valentini - 1.11.0-1 - Update to version 1.11.0. - Fixes RHBZ#1971839 * Thu May 27 2021 Fabio Valentini - 1.10.0-1 - Update to version 1.10.0. - Fixes RHBZ#1963241 * Mon May 17 2021 Fabio Valentini - 1.9.0-1 - Update to version 1.9.0. - Fixes RHBZ#1960949 * Tue May 04 2021 Fabio Valentini - 1.8.0-1 - Update to version 1.8.0. - Fixes RHBZ#1948743 * Fri Mar 26 2021 Fabio Valentini - 1.7.0-1 - Update to version 1.7.0. - Fixes RHBZ#1936245 * Wed Jan 27 2021 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 03 12:56:52 CET 2021 Igor Raits - 1.6.1-1 - Update to 1.6.1 (Fixes: RHBZ#1909388) * Wed Aug 26 2020 Josh Stone - 1.5.0-1 - Update to 1.5.0 * Wed Jul 29 2020 Josh Stone - 1.4.0-1 - Update to 1.4.0 * Wed Jul 29 2020 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 11 2020 Josh Stone - 1.3.1-1 - Update to 1.3.1 * Sat May 16 19:42:21 CEST 2020 Igor Raits - 1.3.0-1 - Update to 1.3.0 * Sun Mar 29 16:29:46 CEST 2020 Igor Raits - 1.2.0-1 - Update to 1.2.0 * Tue Mar 10 2020 Josh Stone - 1.1.0-1 - Update to 1.1.0 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 15 2020 Josh Stone - 1.0.2-1 - Update to 1.0.2 * Fri Dec 27 08:31:23 CET 2019 Igor Gnatenko - 1.0.1-1 - Update to 1.0.1 * Thu Dec 12 11:28:39 CET 2019 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 * Sun Jul 28 21:19:11 CEST 2019 Igor Gnatenko - 1.0.0~beta.13-1 - Update to 1.0.0~beta.13 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0~beta.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jun 22 13:55:12 CEST 2019 Igor Gnatenko - 1.0.0~beta.10-1 - Update to 1.0.0~beta.10 * Fri May 31 11:23:23 CEST 2019 Igor Gnatenko - 1.0.0~beta.7-1 - Initial package ## END: Generated by rpmautospec