Update to version 1.6.0; Fixes RHBZ#2078583

epel9
Fabio Valentini 3 years ago
parent 1a366c8bfd
commit c4ce16ae0c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -6,3 +6,4 @@
/tinyvec-1.3.1.crate /tinyvec-1.3.1.crate
/tinyvec-1.5.0.crate /tinyvec-1.5.0.crate
/tinyvec-1.5.1.crate /tinyvec-1.5.1.crate
/tinyvec-1.6.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate tinyvec %global crate tinyvec
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.5.1 Version: 1.6.0
Release: %autorelease Release: %autorelease
Summary: 100% safe vec-like data structures Summary: 100% safe vec-like data structures
@ -18,11 +18,8 @@ Source: %{crates_source}
Patch0: tinyvec-fix-metadata.diff Patch0: tinyvec-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
`tinyvec` provides 100% safe vec-like data structures.} `tinyvec` provides 100% safe vec-like data structures.}
@ -35,14 +32,17 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-ZLIB.md LICENSE-APACHE.md LICENSE-MIT.md %license %{crate_instdir}/LICENSE-APACHE.md
%doc README.md CHANGELOG.md %license %{crate_instdir}/LICENSE-MIT.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE-ZLIB.md
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/{src-backup/,gen-array-impls.sh,rustfmt.toml} %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%exclude %{crate_instdir}/{src-backup/,*.sh,*.py,rustfmt.toml}
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,11 +50,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -62,11 +62,11 @@ BuildArch: noarch
%description -n %{name}+alloc-devel %{_description} %description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "alloc" feature of "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+arbitrary-devel %package -n %{name}+arbitrary-devel
Summary: %{summary} Summary: %{summary}
@ -74,11 +74,11 @@ BuildArch: noarch
%description -n %{name}+arbitrary-devel %{_description} %description -n %{name}+arbitrary-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "arbitrary" feature of "%{crate}" crate. use the "arbitrary" feature of the "%{crate}" crate.
%files -n %{name}+arbitrary-devel %files -n %{name}+arbitrary-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+experimental_write_impl-devel %package -n %{name}+experimental_write_impl-devel
Summary: %{summary} Summary: %{summary}
@ -86,11 +86,11 @@ BuildArch: noarch
%description -n %{name}+experimental_write_impl-devel %{_description} %description -n %{name}+experimental_write_impl-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "experimental_write_impl" feature of "%{crate}" crate. use the "experimental_write_impl" feature of the "%{crate}" crate.
%files -n %{name}+experimental_write_impl-devel %files -n %{name}+experimental_write_impl-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+grab_spare_slice-devel %package -n %{name}+grab_spare_slice-devel
Summary: %{summary} Summary: %{summary}
@ -98,11 +98,11 @@ BuildArch: noarch
%description -n %{name}+grab_spare_slice-devel %{_description} %description -n %{name}+grab_spare_slice-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "grab_spare_slice" feature of "%{crate}" crate. use the "grab_spare_slice" feature of the "%{crate}" crate.
%files -n %{name}+grab_spare_slice-devel %files -n %{name}+grab_spare_slice-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nightly_slice_partition_dedup-devel %package -n %{name}+nightly_slice_partition_dedup-devel
Summary: %{summary} Summary: %{summary}
@ -110,11 +110,11 @@ BuildArch: noarch
%description -n %{name}+nightly_slice_partition_dedup-devel %{_description} %description -n %{name}+nightly_slice_partition_dedup-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "nightly_slice_partition_dedup" feature of "%{crate}" crate. use the "nightly_slice_partition_dedup" feature of the "%{crate}" crate.
%files -n %{name}+nightly_slice_partition_dedup-devel %files -n %{name}+nightly_slice_partition_dedup-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustc_1_40-devel %package -n %{name}+rustc_1_40-devel
Summary: %{summary} Summary: %{summary}
@ -122,11 +122,11 @@ BuildArch: noarch
%description -n %{name}+rustc_1_40-devel %{_description} %description -n %{name}+rustc_1_40-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "rustc_1_40" feature of "%{crate}" crate. use the "rustc_1_40" feature of the "%{crate}" crate.
%files -n %{name}+rustc_1_40-devel %files -n %{name}+rustc_1_40-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustc_1_55-devel %package -n %{name}+rustc_1_55-devel
Summary: %{summary} Summary: %{summary}
@ -134,11 +134,23 @@ BuildArch: noarch
%description -n %{name}+rustc_1_55-devel %{_description} %description -n %{name}+rustc_1_55-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "rustc_1_55" feature of "%{crate}" crate. use the "rustc_1_55" feature of the "%{crate}" crate.
%files -n %{name}+rustc_1_55-devel %files -n %{name}+rustc_1_55-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustc_1_57-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustc_1_57-devel %{_description}
This package contains library source intended for building other packages which
use the "rustc_1_57" feature of the "%{crate}" crate.
%files -n %{name}+rustc_1_57-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -146,11 +158,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -158,11 +170,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tinyvec_macros-devel %package -n %{name}+tinyvec_macros-devel
Summary: %{summary} Summary: %{summary}
@ -170,11 +182,11 @@ BuildArch: noarch
%description -n %{name}+tinyvec_macros-devel %{_description} %description -n %{name}+tinyvec_macros-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "tinyvec_macros" feature of "%{crate}" crate. use the "tinyvec_macros" feature of the "%{crate}" crate.
%files -n %{name}+tinyvec_macros-devel %files -n %{name}+tinyvec_macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (tinyvec-1.5.1.crate) = 80b68058e3264b3fbc537debf01b6b60d438bf5cba6ad366083cb440ed6b45587f367d3a134ec6fab769495b94413d0eca47544b26959a2c35b1a997423eb849 SHA512 (tinyvec-1.6.0.crate) = e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c

@ -1,19 +1,20 @@
--- tinyvec-1.5.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- tinyvec-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ tinyvec-1.5.1/Cargo.toml 2021-11-09T21:43:49.643537+00:00 +++ tinyvec-1.6.0/Cargo.toml 2022-05-12T14:34:59.983167+00:00
@@ -56,8 +56,6 @@ @@ -91,9 +91,6 @@
[dependencies.tinyvec_macros]
version = "0.1" version = "0.1"
optional = true optional = true
-[dev-dependencies.criterion] -[dev-dependencies.criterion]
-version = "0.3.0" -version = "0.3.0"
-
[dev-dependencies.serde_test] [dev-dependencies.serde_test]
version = "1.0" version = "1.0"
@@ -71,7 +69,6 @@
@@ -106,7 +103,6 @@
experimental_write_impl = [] experimental_write_impl = []
grab_spare_slice = [] grab_spare_slice = []
nightly_slice_partition_dedup = [] nightly_slice_partition_dedup = []
-real_blackbox = ["criterion/real_blackbox"] -real_blackbox = ["criterion/real_blackbox"]
rustc_1_40 = [] rustc_1_40 = []
rustc_1_55 = ["rustc_1_40"] rustc_1_55 = ["rustc_1_40"]
std = [] rustc_1_57 = ["rustc_1_55"]

Loading…
Cancel
Save