Compare commits

...

6 Commits

3
.gitignore vendored

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

@ -1,15 +1,14 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate unicode-width
Name: rust-unicode-width
Version: 0.1.11
Version: 0.2.0
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
URL: https://crates.io/crates/unicode-width
Source: %{crates_source}
@ -17,7 +16,7 @@ Source: %{crates_source}
# * exclude scripts that are only useful for upstream development
Patch: unicode-width-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Determine displayed width of `char` and `str` types according to Unicode
@ -53,16 +52,16 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bench-devel
%package -n %{name}+cjk-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bench-devel %{_description}
%description -n %{name}+cjk-devel %{_description}
This package contains library source intended for building other packages which
use the "bench" feature of the "%{crate}" crate.
use the "cjk" feature of the "%{crate}" crate.
%files -n %{name}+bench-devel
%files -n %{name}+cjk-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_std-devel
@ -78,7 +77,7 @@ use the "no_std" 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

@ -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.2.0.crate) = 38149ad512a44fc79b2c991c6b5667da2e8f8b442ab6bb7e4f404e7fbb034f7540c7e0e8b9e72a1ff6117b899d6034862239f43b6423fa89d55dcf489caff37d

@ -1,10 +1,11 @@
--- unicode-width-0.1.11/Cargo.toml 1970-01-01T00:00:01+00:00
+++ unicode-width-0.1.11/Cargo.toml 2023-09-19T19:23:32.582543+00:00
@@ -19,6 +19,7 @@
exclude = [
"target/*",
"Cargo.lock",
+ "/scripts/*",
--- 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>",
]
description = """
Determine displayed width of `char` and `str` types
build = false
-exclude = ["/.github/*"]
+exclude = ["/scripts/*"]
autobins = false
autoexamples = false
autotests = false

Loading…
Cancel
Save