diff --git a/.gitignore b/.gitignore index eb41003..66317cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /askama_escape-0.10.1.crate +/askama_escape-0.10.2.crate diff --git a/askama_escape-fix-metadata.diff b/askama_escape-fix-metadata.diff new file mode 100644 index 0000000..1ce889e --- /dev/null +++ b/askama_escape-fix-metadata.diff @@ -0,0 +1,13 @@ +--- askama_escape-0.10.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ askama_escape-0.10.2/Cargo.toml 2022-01-29T19:28:03.718366+00:00 +@@ -21,10 +21,5 @@ + license = "MIT OR Apache-2.0" + repository = "https://github.com/djc/askama" + +-[[bench]] +-name = "all" +-harness = false +-[dev-dependencies.criterion] +-version = "0.3" + [badges.maintenance] + status = "actively-developed" diff --git a/rust-askama_escape.spec b/rust-askama_escape.spec index b20a959..9b5b894 100644 --- a/rust-askama_escape.spec +++ b/rust-askama_escape.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate askama_escape Name: rust-%{crate} -Version: 0.10.1 +Version: 0.10.2 Release: %autorelease Summary: Optimized HTML escaping code, extracted from Askama @@ -13,11 +13,11 @@ Summary: Optimized HTML escaping code, extracted from Askama License: MIT or ASL 2.0 URL: https://crates.io/crates/askama_escape Source: %{crates_source} +# Initial patched metadata +# * drop unused, benchmark-only criterion dev-dependency to speed up builds +Patch0: askama_escape-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +32,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT @@ -46,8 +46,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 diff --git a/sources b/sources index 086c9a5..7b88028 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (askama_escape-0.10.1.crate) = f5c95051bfac2b3c78c9487bc62b90f171babc41df1c57993c6618e5b254933dce710ae1932a08be6a53c2f7f704137d592e9f0c5b6c555e7e436fc65a2b2a7e +SHA512 (askama_escape-0.10.2.crate) = 59c7f19210966461550ab6ca43e6f45d0724d89cd8a007bf81da3f83798642ed89107a7565b8bb85a09fae08dbc40c10dbb0ad5a433d7807af4ed5a2bc2022ff