diff --git a/.gitignore b/.gitignore index 114d269..a548779 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /generic-array-0.14.3.crate /generic-array-0.14.4.crate /generic-array-0.14.5.crate +/generic-array-0.14.6.crate diff --git a/rust-generic-array.spec b/rust-generic-array.spec index 2e8385d..fe80de9 100644 --- a/rust-generic-array.spec +++ b/rust-generic-array.spec @@ -1,22 +1,21 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate generic-array -Name: rust-%{crate} -Version: 0.14.5 +Name: rust-generic-array +Version: 0.14.6 Release: %autorelease Summary: Generic types implementing functionality of arrays -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/generic-array Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Generic types implementing functionality of arrays.} @@ -33,9 +32,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md DESIGN.md README.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} @@ -47,7 +47,7 @@ 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}+more_lengths-devel Summary: %{summary} @@ -59,7 +59,7 @@ This package contains library source intended for building other packages which use the "more_lengths" feature of the "%{crate}" crate. %files -n %{name}+more_lengths-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -71,7 +71,19 @@ 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}+zeroize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zeroize-devel %{_description} + +This package contains library source intended for building other packages which +use the "zeroize" feature of the "%{crate}" crate. + +%files -n %{name}+zeroize-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index a0343d3..fd38e3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (generic-array-0.14.5.crate) = 30c86b24222503245b494c5f88cdf8115ba08c73df55930bb01bafcea22560f4d20e38c348c3896d6e1ef03209cc1571745881b4a77fd28f66b0cc435f5249a2 +SHA512 (generic-array-0.14.6.crate) = 254e6fb6658f083f26e022916795c9ebfac241b9df2d811aac8316b17e1375e1c5aa54d72f1bf6c2627a88484a7df4b14eca231c90578e9aa3d9997047fa0f20