From d9361fed491854c4078d67d35bc11a49f903382e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Aug 08 2022 13:39:31 +0000 Subject: Update to version 0.1.9; Fixes RHBZ#2104159 --- diff --git a/.gitignore b/.gitignore index e3a148b..5b0c448 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /ucd-util-0.1.6.crate /ucd-util-0.1.7.crate /ucd-util-0.1.8.crate +/ucd-util-0.1.9.crate diff --git a/rust-ucd-util.spec b/rust-ucd-util.spec index 925cc73..bfb1d77 100644 --- a/rust-ucd-util.spec +++ b/rust-ucd-util.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate ucd-util -Name: rust-%{crate} -Version: 0.1.8 +Name: rust-ucd-util +Version: 0.1.9 Release: %autorelease Summary: Small utility library for working with the Unicode character database -# 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-util Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Small utility library for working with the Unicode character database.} @@ -32,13 +28,15 @@ 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 LICENSE-UNICODE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/LICENSE-UNICODE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f93aabd..8681cd8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ucd-util-0.1.8.crate) = b1ea29d005c9ddc55b72769da61f1855e3838222e20b4a3423d344acd61463a4bdcb233c437f0fa2c1ef975dc72ccd679570354b9ad615a3bafaf18616884e7d +SHA512 (ucd-util-0.1.9.crate) = 4478f4704d508e472d24814e35dc5d0dacd1b8bb022dbf2d3499a4a274ca8c8f4ebecc84cf1a7c937370cae02b87232e3a89189fe33640efdf5b14f907b05d90