diff --git a/.gitignore b/.gitignore index b0a75d9..8cf4095 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /textwrap-0.13.1.crate /textwrap-0.13.2.crate /textwrap-0.14.2.crate +/textwrap-0.15.0.crate diff --git a/rust-textwrap.spec b/rust-textwrap.spec index d377b16..dee5fca 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -1,14 +1,12 @@ -# Generated by rust2rpm 18 -# * Missing deps: -# lipsum ^0.8 -# unic-emoji-char ^0.9 +# Generated by rust2rpm 21 +# * missing dev-dependencies: lipsum ^0.8, unic-emoji-char ^0.9 %bcond_with check %global debug_package %{nil} %global crate textwrap Name: rust-%{crate} -Version: 0.14.2 +Version: 0.15.0 Release: %autorelease Summary: Powerful library for word wrapping, indenting, and dedenting strings @@ -18,11 +16,8 @@ URL: https://crates.io/crates/textwrap Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Powerful library for word wrapping, indenting, and dedenting strings.} @@ -35,13 +30,14 @@ 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 -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,11 +45,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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smawk-devel Summary: %{summary} @@ -61,11 +57,11 @@ BuildArch: noarch %description -n %{name}+smawk-devel %{_description} -This package contains library source intended for building other packages -which use "smawk" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "smawk" feature of the "%{crate}" crate. %files -n %{name}+smawk-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+terminal_size-devel Summary: %{summary} @@ -73,11 +69,11 @@ BuildArch: noarch %description -n %{name}+terminal_size-devel %{_description} -This package contains library source intended for building other packages -which use "terminal_size" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "terminal_size" feature of the "%{crate}" crate. %files -n %{name}+terminal_size-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-linebreak-devel Summary: %{summary} @@ -85,11 +81,11 @@ BuildArch: noarch %description -n %{name}+unicode-linebreak-devel %{_description} -This package contains library source intended for building other packages -which use "unicode-linebreak" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicode-linebreak" feature of the "%{crate}" crate. %files -n %{name}+unicode-linebreak-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-width-devel Summary: %{summary} @@ -97,11 +93,11 @@ BuildArch: noarch %description -n %{name}+unicode-width-devel %{_description} -This package contains library source intended for building other packages -which use "unicode-width" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicode-width" feature of the "%{crate}" crate. %files -n %{name}+unicode-width-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index a1e5edf..db6c9d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (textwrap-0.14.2.crate) = 521ab37e03aae8fcce5b909541399fc90a23020e353f95102c658fa94ffc56b9bdff43f47fb3da6e30f5c9cc9447fab72fe21d7276dfa21fe5a1a5a1c874e371 +SHA512 (textwrap-0.15.0.crate) = f44271c542c22f17a4e3a459255f95e6c02d999f7d6bc8414d3973fd4ac9353aa4ef436932a45340738126905463d776902715feaa9329371f8a14f14b5a7bfd