diff --git a/.gitignore b/.gitignore index 3bcdae7..f9f42dc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /askama-0.10.3.crate /askama-0.10.5.crate /askama-0.11.0.crate +/askama-0.11.1.crate diff --git a/rust-askama.spec b/rust-askama.spec index 90d55a8..b04b227 100644 --- a/rust-askama.spec +++ b/rust-askama.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate askama Name: rust-%{crate} -Version: 0.11.0 +Version: 0.11.1 Release: %autorelease Summary: Type-safe, compiled Jinja-like templates for Rust @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Type-safe, compiled Jinja-like templates for Rust.} @@ -33,8 +33,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +47,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+config-devel Summary: %{summary} @@ -58,7 +59,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+humansize-devel Summary: %{summary} @@ -70,7 +71,19 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+markdown-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+markdown-devel %{_description} + +This package contains library source intended for building other packages which +use the "markdown" feature of the "%{crate}" crate. + +%files -n %{name}+markdown-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mime-devel Summary: %{summary} @@ -82,7 +95,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mime_guess-devel Summary: %{summary} @@ -94,7 +107,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+num-traits-devel Summary: %{summary} @@ -106,7 +119,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-json-devel Summary: %{summary} @@ -118,7 +131,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-yaml-devel Summary: %{summary} @@ -130,7 +143,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+urlencode-devel Summary: %{summary} @@ -142,7 +155,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-actix-web-devel Summary: %{summary} @@ -154,7 +167,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-axum-devel Summary: %{summary} @@ -166,7 +179,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-gotham-devel Summary: %{summary} @@ -178,19 +191,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+with-iron-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+with-iron-devel %{_description} - -This package contains library source intended for building other packages which -use the "with-iron" feature of the "%{crate}" crate. - -%files -n %{name}+with-iron-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-mendes-devel Summary: %{summary} @@ -202,7 +203,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-rocket-devel Summary: %{summary} @@ -214,7 +215,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-tide-devel Summary: %{summary} @@ -226,7 +227,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-warp-devel Summary: %{summary} @@ -238,7 +239,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index e310d22..d633816 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (askama-0.11.0.crate) = 3650fbc9a0bc7cf1deb6f6f7e8a0ce1595bf67c1cba8c7c20c0dcb963ea74258b675f5a75f2ffa1e1c0a790a985dfe8e04498de1cf7803f9e4b98cbd295b4f47 +SHA512 (askama-0.11.1.crate) = d75507a43d2ab12b046854e33308eeabbac6825282588554a678742a71f2521a33637b89d3b24088643d18e84cefa538031264c587896e6e1eb16cc15c93afb7