Update to version 0.1.12; Fixes RHBZ#2277433

epel10
Fabio Valentini 10 months ago
parent ac766a1c91
commit 9009369711
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -6,3 +6,4 @@
/unicode-width-0.1.9.crate /unicode-width-0.1.9.crate
/unicode-width-0.1.10.crate /unicode-width-0.1.10.crate
/unicode-width-0.1.11.crate /unicode-width-0.1.11.crate
/unicode-width-0.1.12.crate

@ -1,15 +1,14 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate unicode-width %global crate unicode-width
Name: rust-unicode-width Name: rust-unicode-width
Version: 0.1.11 Version: 0.1.12
Release: %autorelease Release: %autorelease
Summary: Determine displayed width of `char` and `str` types Summary: Determine displayed width of 'char' and 'str' types
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/unicode-width URL: https://crates.io/crates/unicode-width
Source: %{crates_source} Source: %{crates_source}
@ -17,7 +16,7 @@ Source: %{crates_source}
# * exclude scripts that are only useful for upstream development # * exclude scripts that are only useful for upstream development
Patch: unicode-width-fix-metadata.diff Patch: unicode-width-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Determine displayed width of `char` and `str` types according to Unicode Determine displayed width of `char` and `str` types according to Unicode
@ -53,18 +52,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bench-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bench-devel %{_description}
This package contains library source intended for building other packages which
use the "bench" feature of the "%{crate}" crate.
%files -n %{name}+bench-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_std-devel %package -n %{name}+no_std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -78,7 +65,7 @@ use the "no_std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,7 +0,0 @@
[DEFAULT]
summary = Determine displayed width of `char` and `str` types
unwanted-features =
compiler_builtins
core
std
rustc-dep-of-std

@ -0,0 +1,14 @@
[package]
summary = "Determine displayed width of 'char' and 'str' types"
cargo-toml-patch-comments = [
"exclude scripts that are only useful for upstream development",
]
[features]
hide = [
"compiler_builtins",
"core",
"std",
"rustc-dep-of-std",
]

@ -1 +1 @@
SHA512 (unicode-width-0.1.11.crate) = ee06f4144525424327a17578642565f396802f0eea539b3bebc8d9627376a8bc6c5376d83a6ee577068e99fe75815bd765e6d49fb9ab9b253d00594bb15a5ffe SHA512 (unicode-width-0.1.12.crate) = 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4

@ -1,6 +1,6 @@
--- unicode-width-0.1.11/Cargo.toml 1970-01-01T00:00:01+00:00 --- unicode-width-0.1.12/Cargo.toml 1970-01-01T00:00:01+00:00
+++ unicode-width-0.1.11/Cargo.toml 2023-09-19T19:23:32.582543+00:00 +++ unicode-width-0.1.12/Cargo.toml 2024-05-08T18:18:48.311229+00:00
@@ -19,6 +19,7 @@ @@ -20,6 +20,7 @@
exclude = [ exclude = [
"target/*", "target/*",
"Cargo.lock", "Cargo.lock",

Loading…
Cancel
Save