commit
946dc28223
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
--- askama-0.12.0/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ askama-0.12.0/Cargo.toml 2023-08-06T12:50:32.836608+00:00
|
||||
@@ -44,11 +44,6 @@
|
||||
[dependencies.askama_escape]
|
||||
version = "0.10.3"
|
||||
|
||||
-[dependencies.comrak]
|
||||
-version = "0.16"
|
||||
-optional = true
|
||||
-default-features = false
|
||||
-
|
||||
[dependencies.dep_humansize]
|
||||
version = "2"
|
||||
optional = true
|
||||
@@ -88,10 +83,6 @@
|
||||
"askama_derive/humansize",
|
||||
"dep_humansize",
|
||||
]
|
||||
-markdown = [
|
||||
- "askama_derive/markdown",
|
||||
- "comrak",
|
||||
-]
|
||||
mime = []
|
||||
mime_guess = []
|
||||
num-traits = [
|
@ -0,0 +1,393 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.3.5)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}}
|
||||
## END: Set by rpmautospec
|
||||
|
||||
# Generated by rust2rpm 24
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate askama
|
||||
|
||||
Name: rust-askama
|
||||
Version: 0.12.0
|
||||
Release: %autorelease
|
||||
Summary: Type-safe, compiled Jinja-like templates for Rust
|
||||
|
||||
License: MIT OR Apache-2.0
|
||||
URL: https://crates.io/crates/askama
|
||||
Source: %{crates_source}
|
||||
# Manually created patch for downstream crate metadata changes
|
||||
# * drop unused markdown support with outdated dependencies
|
||||
Patch: askama-fix-metadata.diff
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
Type-safe, compiled Jinja-like templates for Rust.}
|
||||
|
||||
%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-APACHE
|
||||
%license %{crate_instdir}/LICENSE-MIT
|
||||
%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}+config-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+config-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "config" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+config-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+dep_humansize-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+dep_humansize-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "dep_humansize" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dep_humansize-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+dep_num_traits-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+dep_num_traits-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "dep_num_traits" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dep_num_traits-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}+mime-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+mime-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "mime" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+mime-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+mime_guess-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+mime_guess-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "mime_guess" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+mime_guess-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+num-traits-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+num-traits-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "num-traits" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+num-traits-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}+serde-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+serde-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "serde" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+serde-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}+serde-yaml-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+serde-yaml-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "serde-yaml" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+serde-yaml-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}+serde_yaml-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+serde_yaml-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "serde_yaml" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+serde_yaml-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}+with-actix-web-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-actix-web-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-actix-web" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-actix-web-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-axum-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-axum-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-axum" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-axum-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-gotham-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-gotham-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-gotham" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-gotham-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-hyper-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-hyper-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-hyper" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-hyper-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-mendes-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-mendes-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-mendes" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-mendes-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-rocket-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-rocket-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-rocket" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-rocket-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-tide-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-tide-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-tide" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-tide-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+with-warp-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+with-warp-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "with-warp" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+with-warp-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
|
||||
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.12.0-1
|
||||
- Rebuilt for MSVSphere 9.3
|
||||
|
||||
* Tue Aug 08 2023 Fabio Valentini <decathorpe@gmail.com> - 0.12.0-1
|
||||
- Update to version 0.12.0; Fixes RHBZ#2175662
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Apr 20 2023 Fabio Valentini <decathorpe@gmail.com> - 0.11.1-4
|
||||
- Disable unused markdown support with outdated comrak dependency
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sun Mar 06 2022 Fabio Valentini <decathorpe@gmail.com> - 0.11.1-1
|
||||
- Update to version 0.11.1; Fixes RHBZ#2055435
|
||||
|
||||
* Sat Jan 29 2022 Fabio Valentini <decathorpe@gmail.com> - 0.11.0-1
|
||||
- Update to version 0.11.0; Fixes RHBZ#2034752
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Mar 04 2021 Fabio Valentini <decathorpe@gmail.com> - 0.10.5-1
|
||||
- Update to version 0.10.5.
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Aug 25 2020 Josh Stone <jistone@redhat.com> - 0.10.3-1
|
||||
- Update to 0.10.3
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 01 20:08:42 EEST 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.10.0-1
|
||||
- Update to 0.10.0
|
||||
|
||||
* Sun Jun 21 03:36:59 EEST 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.9.0-1
|
||||
- Initial package
|
||||
|
Loading…
Reference in new issue