From 96da69500545cbaae7c3a99c9e0ea310a884e1b5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 5 Oct 2022 14:22:19 +0200 Subject: [PATCH] Update to version 0.1.4; Fixes RHBZ#2127598 --- .gitignore | 1 + rust-unicode-linebreak.spec | 29 ++++++++++++----------------- sources | 2 +- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index c492593..ba88f3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /unicode-linebreak-0.1.1.crate /unicode-linebreak-0.1.2.crate +/unicode-linebreak-0.1.4.crate diff --git a/rust-unicode-linebreak.spec b/rust-unicode-linebreak.spec index 056f4ad..7d446db 100644 --- a/rust-unicode-linebreak.spec +++ b/rust-unicode-linebreak.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate unicode-linebreak -Name: rust-%{crate} -Version: 0.1.2 +Name: rust-unicode-linebreak +Version: 0.1.4 Release: %autorelease Summary: Implementation of the Unicode Line Breaking Algorithm -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/unicode-linebreak Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Implementation of the Unicode Line Breaking Algorithm.} @@ -32,13 +28,12 @@ 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 -%doc LineBreak.txt -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +41,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 72fc711..3cb2782 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unicode-linebreak-0.1.2.crate) = 170db67d6d74df913dffc921986b92df8a2ba68776ddb17c8ffca51d0d4bee597a5460591e7ba593c1eaec8b6227956f4e0f9b11d217aed4ee85cf46f1be5277 +SHA512 (unicode-linebreak-0.1.4.crate) = 4c4a1cb4d8d9563740a6a5bc8ea5db8bab88b1cfbd751fdf33dbdb3923478a4bb716e3ce7441aca0d84426894834959cbc845f3cc2bc1379c5935019dc3f703d