From 9627ffd9f31a60c6e86ac06630e860790816b41b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 25 Nov 2023 12:02:51 +0100 Subject: [PATCH] Update to version 0.1.7; Fixes RHBZ#2250697 --- .gitignore | 1 + rust-utf8-width.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index e1dc704..311def6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /utf8-width-0.1.4.crate /utf8-width-0.1.5.crate /utf8-width-0.1.6.crate +/utf8-width-0.1.7.crate diff --git a/rust-utf8-width.spec b/rust-utf8-width.spec index 293f26c..070d43d 100644 --- a/rust-utf8-width.spec +++ b/rust-utf8-width.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate utf8-width Name: rust-utf8-width -Version: 0.1.6 +Version: 0.1.7 Release: %autorelease Summary: Determine the width of a UTF-8 character by providing its first byte @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/utf8-width Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: To determine the width of a UTF-8 character by providing its first byte.} @@ -47,7 +47,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index a6ae5ac..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Determine the width of a UTF-8 character by providing its first byte diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..b34fabc --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Determine the width of a UTF-8 character by providing its first byte" + diff --git a/sources b/sources index a746704..609650c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utf8-width-0.1.6.crate) = 2c51e38c7fa2a2c113ff74164067e49e2e615048144f3065c228a965804029447f7a1e65d926facccb8332a2ab2be02fffb7413d8eee6f883d941909b350844c +SHA512 (utf8-width-0.1.7.crate) = ae870bc338bc74f9e214acbb31155ed37e3c686abcda81e7a3f9b8440d2782e4b29efa6d1a52afb22da390f3e64f012380f18ba1e3c1a37bde927812c361909e