diff --git a/README.md b/README.md deleted file mode 100644 index 4bcb435..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-arrayvec0.5 - -The rust-arrayvec0.5 package diff --git a/rust-arrayvec0.5.spec b/rust-arrayvec0.5.spec index 172f8be..0c0de0c 100644 --- a/rust-arrayvec0.5.spec +++ b/rust-arrayvec0.5.spec @@ -1,29 +1,24 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate arrayvec -Name: rust-%{crate}0.5 +Name: rust-arrayvec0.5 Version: 0.5.2 Release: %autorelease -Summary: Vector with fixed capacity, backed by an array (it can be stored on the stack too) +Summary: Vector with fixed capacity, backed by an array # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/arrayvec Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Vector with fixed capacity, backed by an array (it can be stored on the stack -too). Implements fixed capacity ArrayVec and ArrayString.} +A vector with fixed capacity, backed by an array (it can be stored on +the stack too). Implements fixed capacity ArrayVec and ArrayString.} %description %{_description} @@ -33,13 +28,15 @@ 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-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +44,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}+array-sizes-129-255-devel Summary: %{summary} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+array-sizes-129-255-devel %{_description} -This package contains library source intended for building other packages -which use "array-sizes-129-255" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "array-sizes-129-255" feature of the "%{crate}" crate. %files -n %{name}+array-sizes-129-255-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+array-sizes-33-128-devel Summary: %{summary} @@ -71,11 +68,11 @@ BuildArch: noarch %description -n %{name}+array-sizes-33-128-devel %{_description} -This package contains library source intended for building other packages -which use "array-sizes-33-128" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "array-sizes-33-128" feature of the "%{crate}" crate. %files -n %{name}+array-sizes-33-128-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -83,11 +80,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -95,11 +92,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-const-fn-devel Summary: %{summary} @@ -107,11 +104,11 @@ BuildArch: noarch %description -n %{name}+unstable-const-fn-devel %{_description} -This package contains library source intended for building other packages -which use "unstable-const-fn" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unstable-const-fn" feature of the "%{crate}" crate. %files -n %{name}+unstable-const-fn-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -132,5 +129,4 @@ which use "unstable-const-fn" feature of "%{crate}" crate. %endif %changelog -* dim. nov. 14 2021 Robert-André Mauchin 0.5.2-1 -- Uncommitted changes +%autochangelog