From 8e3da31d66cd3b4b21fb7f21fbaa297c8c33106c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Mar 2022 18:08:39 +0100 Subject: [PATCH] Update to version 0.11.2; Fixes RHBZ#2055419 --- .gitignore | 1 + rust-askama_derive.spec | 53 +++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 35 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 9e96669..6fa300d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /askama_derive-0.10.3.crate /askama_derive-0.10.5.crate /askama_derive-0.11.0.crate +/askama_derive-0.11.2.crate diff --git a/rust-askama_derive.spec b/rust-askama_derive.spec index 3c271ec..04e238e 100644 --- a/rust-askama_derive.spec +++ b/rust-askama_derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate askama_derive Name: rust-%{crate} -Version: 0.11.0 +Version: 0.11.2 Release: %autorelease Summary: Procedural macro package for Askama @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Procedural macro package for Askama.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,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}+actix-web-devel Summary: %{summary} @@ -59,7 +60,7 @@ This package contains library source intended for building other packages which use the "actix-web" feature of the "%{crate}" crate. %files -n %{name}+actix-web-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+axum-devel Summary: %{summary} @@ -71,7 +72,7 @@ This package contains library source intended for building other packages which use the "axum" feature of the "%{crate}" crate. %files -n %{name}+axum-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+config-devel Summary: %{summary} @@ -83,7 +84,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}+gotham-devel Summary: %{summary} @@ -95,19 +96,19 @@ This package contains library source intended for building other packages which use the "gotham" feature of the "%{crate}" crate. %files -n %{name}+gotham-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+iron-devel +%package -n %{name}+json-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+iron-devel %{_description} +%description -n %{name}+json-devel %{_description} This package contains library source intended for building other packages which -use the "iron" feature of the "%{crate}" crate. +use the "json" feature of the "%{crate}" crate. -%files -n %{name}+iron-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%files -n %{name}+json-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mendes-devel Summary: %{summary} @@ -119,7 +120,7 @@ This package contains library source intended for building other packages which use the "mendes" feature of the "%{crate}" crate. %files -n %{name}+mendes-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rocket-devel Summary: %{summary} @@ -131,7 +132,7 @@ This package contains library source intended for building other packages which use the "rocket" feature of the "%{crate}" crate. %files -n %{name}+rocket-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tide-devel Summary: %{summary} @@ -143,7 +144,7 @@ This package contains library source intended for building other packages which use the "tide" feature of the "%{crate}" crate. %files -n %{name}+tide-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+warp-devel Summary: %{summary} @@ -155,7 +156,19 @@ This package contains library source intended for building other packages which use the "warp" feature of the "%{crate}" crate. %files -n %{name}+warp-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+yaml-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+yaml-devel %{_description} + +This package contains library source intended for building other packages which +use the "yaml" feature of the "%{crate}" crate. + +%files -n %{name}+yaml-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 8c5b72c..98d33f6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (askama_derive-0.11.0.crate) = d0b947817847c70d3ee2cf59afbc3b249147a056e2a59fd93f16788b9e8d75720ec918f75f19d1007026e6d543651974984930c760391a6873df7bc808d3c409 +SHA512 (askama_derive-0.11.2.crate) = c9b4c2b444c9c9f9054403b25a62e0415d87f0c8a0cd1ac9fc1cdd341c94c15eb91249006e59504a34a18703dd3b9bc5a4012804a4ce3d9401126b66c3632e65