Update to version 0.2.0; Fixes RHBZ#2313640

epel10 imports/epel10/rust-unicode-width-0.2.0-1.el10
Fabio Valentini 5 months ago
parent 1ab6727ca3
commit 7cc85d2439
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/unicode-width-0.1.11.crate
/unicode-width-0.1.12.crate
/unicode-width-0.1.13.crate
/unicode-width-0.2.0.crate

@ -3,11 +3,9 @@
%global debug_package %{nil}
%global crate unicode-width
%global crate_version 0.1.12
%global version_no_tilde 0.1.12
Name: rust-unicode-width
Version: 0.1.13+really0.1.12
Version: 0.2.0
Release: %autorelease
Summary: Determine displayed width of 'char' and 'str' types
@ -54,6 +52,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+cjk-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cjk-devel %{_description}
This package contains library source intended for building other packages which
use the "cjk" feature of the "%{crate}" crate.
%files -n %{name}+cjk-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_std-devel
Summary: %{summary}
BuildArch: noarch
@ -67,7 +77,7 @@ use the "no_std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{crate_version} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1 +1 @@
SHA512 (unicode-width-0.1.12.crate) = 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4
SHA512 (unicode-width-0.2.0.crate) = 38149ad512a44fc79b2c991c6b5667da2e8f8b442ab6bb7e4f404e7fbb034f7540c7e0e8b9e72a1ff6117b899d6034862239f43b6423fa89d55dcf489caff37d

@ -1,14 +1,11 @@
--- unicode-width-0.1.12/Cargo.toml 1970-01-01T00:00:01+00:00
+++ unicode-width-0.1.12/Cargo.toml 2024-06-10T14:43:09.392221+00:00
@@ -17,10 +17,7 @@
"kwantam <kwantam@gmail.com>",
--- unicode-width-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ unicode-width-0.2.0/Cargo.toml 2024-10-03T14:16:08.633652+00:00
@@ -18,7 +18,7 @@
"Manish Goregaokar <manishsmail@gmail.com>",
]
-exclude = [
- "target/*",
- "Cargo.lock",
-]
build = false
-exclude = ["/.github/*"]
+exclude = ["/scripts/*"]
description = """
Determine displayed width of `char` and `str` types
according to Unicode Standard Annex #11 rules.
autobins = false
autoexamples = false
autotests = false

Loading…
Cancel
Save