From 223c4a2e303c4ed1cdf2ac15367f296eb9e9c198 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 8 Aug 2022 15:39:14 +0200 Subject: [PATCH] Update to version 0.1.9; Fixes RHBZ#2104158 --- .gitignore | 1 + rust-ucd-parse.spec | 31 ++++++++++++++----------------- sources | 2 +- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index f77276e..0042fac 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /ucd-parse-0.1.5.crate /ucd-parse-0.1.6.crate /ucd-parse-0.1.8.crate +/ucd-parse-0.1.9.crate diff --git a/rust-ucd-parse.spec b/rust-ucd-parse.spec index a35bde3..cca614d 100644 --- a/rust-ucd-parse.spec +++ b/rust-ucd-parse.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate ucd-parse -Name: rust-%{crate} -Version: 0.1.8 +Name: rust-ucd-parse +Version: 0.1.9 Release: %autorelease Summary: Library for parsing data files in 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-parse Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for parsing data files in the Unicode character database.} @@ -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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 9b2a6e0..9f11969 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ucd-parse-0.1.8.crate) = 7ced1c71b6d9b8e2319ed6e5220a90bfd3fa438b0bbb0bc9cfedcfdbd4105a14d087bb59c33f2c93b2151ac4e1ec8540878ae2b37c8ec4bfa550944d7a19d07e +SHA512 (ucd-parse-0.1.9.crate) = 2d62ac142e4e311f750b89e5680f8bfd88d99abc393dcc75049d76c5c6010cba6723e16154ab250ef09ba13187ba42ea0f2e08134a2a004115260d2f5333a2f7