From 22334504da8709c9cb9369b028652e1a42f0d945 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 8 Aug 2022 15:38:53 +0200 Subject: [PATCH] Update to version 0.1.4; Fixes RHBZ#2104157 --- .gitignore | 1 + rust-ucd-trie.spec | 37 +++++++++++++++++-------------------- sources | 2 +- 3 files changed, 19 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 3b9c849..c4d63c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /ucd-trie-0.1.1.crate /ucd-trie-0.1.2.crate /ucd-trie-0.1.3.crate +/ucd-trie-0.1.4.crate diff --git a/rust-ucd-trie.spec b/rust-ucd-trie.spec index f9ad6cd..2ac64da 100644 --- a/rust-ucd-trie.spec +++ b/rust-ucd-trie.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate ucd-trie -Name: rust-%{crate} -Version: 0.1.3 +Name: rust-ucd-trie +Version: 0.1.4 Release: %autorelease Summary: Trie for storing Unicode codepoint sets and maps -# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/ucd-trie Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Trie for storing Unicode codepoint sets and maps.} @@ -32,13 +28,14 @@ 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-MIT LICENSE-APACHE -%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} @@ -46,11 +43,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -58,11 +55,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 48a0384..7e0164f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ucd-trie-0.1.3.crate) = 54d43b3824669aa20b725c7747f4fb65bd24e620670c968c1bb0094a0503773acda921b50a0b200c1ea0f84e1e059883c1704bfa5a856d2e2ccda116fb8c3e2b +SHA512 (ucd-trie-0.1.4.crate) = 89c13e6c3c6d87e1d8f9b49dce98263e7861e441b2d8d29474ade65d2307d97cc92d5adbbc7c3df19fa5a0e68fa87e3f928aabd81a0a03974238336e1cc47fdb