From ab28ec7ca55f5dca8656d964934a619cf05a5c71 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 17 Mar 2022 22:37:36 +0100 Subject: [PATCH] Update to version 0.2.11; Fixes RHBZ#2064994 --- .gitignore | 1 + rust-html-escape.spec | 20 ++++++++++---------- sources | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 0140e79..13c2a24 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /results_*/ /*.src.rpm /html-escape-0.2.9.crate +/html-escape-0.2.11.crate diff --git a/rust-html-escape.spec b/rust-html-escape.spec index 2866e28..24c211e 100644 --- a/rust-html-escape.spec +++ b/rust-html-escape.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate html-escape Name: rust-%{crate} -Version: 0.2.9 +Version: 0.2.11 Release: %autorelease Summary: Library for escaping special characters and unescaping HTML entities in HTML @@ -16,11 +16,11 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -This library is for encoding/escaping special characters in HTML and -decoding/unescaping HTML entities as well.} +For encoding/escaping special characters in HTML and decoding/unescaping HTML +entities as well.} %description %{_description} @@ -34,9 +34,9 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,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}+std-devel Summary: %{summary} @@ -60,7 +60,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 6b75d71..1513ee7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (html-escape-0.2.9.crate) = 9e3a306255bddea265c365ae0c50ebf3635e31a2b74b366be40a34a158c2a3af58859bff2d234fe1322050c3ff78236a62d76a588f5b08480e25a6eb5abf0a3b +SHA512 (html-escape-0.2.11.crate) = cc38a065396c3d67f65f406e1e93ce16045296b135f04667b21d6029116751d365bc9b8f2c2eeed6c7d5fecf764860b8f206d85a0f5f840f6a4fd995bf8758c0