From c4cbfcd64b926ba3eb1995610d03ab4de5b048ac Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 5 Feb 2022 00:07:20 +0100 Subject: [PATCH] Update to version 0.1.5; Fixes RHBZ#2050709 --- .gitignore | 1 + rust-futf.spec | 24 ++++++++++-------------- sources | 2 +- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 456da2e..e017f48 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /futf-0.1.4.crate +/futf-0.1.5.crate diff --git a/rust-futf.spec b/rust-futf.spec index 66b0ad5..878a09d 100644 --- a/rust-futf.spec +++ b/rust-futf.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 10 -# * Tests require nightly compiler -%bcond_with check +# Generated by rust2rpm 20 +%bcond_without check %global debug_package %{nil} %global crate futf Name: rust-%{crate} -Version: 0.1.4 +Version: 0.1.5 Release: %autorelease Summary: Handling fragments of UTF-8 @@ -16,9 +15,6 @@ URL: https://crates.io/crates/futf Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,13 +29,13 @@ 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 LICENSE-APACHE LICENSE-MIT %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index df3d381..7a6d73c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futf-0.1.4.crate) = 4cd5ecbb8c180c9b390a6884edf65bfc3aff53ffe7b930cf2b432ff9c46a8c5a06001f3f412f99c41a60def52207e709ffa07a4b432ada488e77067fb5e1b3bf +SHA512 (futf-0.1.5.crate) = 4cee071c067c879742839d3d32192ca94ee2f9241468656357c3aed116cb7c656bf81722f32b67d60214b7db66858dca6443f0d52f0ff2114fc70971bdddd2d3