Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

4
.gitignore vendored

@ -7,7 +7,3 @@
/tinyvec-1.5.0.crate
/tinyvec-1.5.1.crate
/tinyvec-1.6.0.crate
/tinyvec-1.6.1.crate
/tinyvec-1.7.0.crate
/tinyvec-1.8.0.crate
/tinyvec-1.8.1.crate

@ -0,0 +1,3 @@
# rust-tinyvec
The rust-tinyvec package

@ -1,23 +1,25 @@
# Generated by rust2rpm 27
%bcond check 1
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate tinyvec
Name: rust-tinyvec
Version: 1.8.1
Name: rust-%{crate}
Version: 1.6.0
Release: %autorelease
Summary: 100% safe vec-like data structures
License: Zlib OR Apache-2.0 OR MIT
# Upstream license specification: Zlib OR Apache-2.0 OR MIT
License: zlib or ASL 2.0 or MIT
URL: https://crates.io/crates/tinyvec
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused debugger_visualizer support
# * drop unused, benchmark-only criterion dev-dependency
Patch: tinyvec-fix-metadata.diff
# Initial patched metadata
# * drop criterion dev-dependency (only used in benchmarks) to speed up builds
Patch0: tinyvec-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
`tinyvec` provides 100% safe vec-like data structures.}
@ -40,6 +42,7 @@ use the "%{crate}" crate.
%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
Summary: %{summary}
@ -149,18 +152,6 @@ 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}+rustc_1_61-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustc_1_61-devel %{_description}
This package contains library source intended for building other packages which
use the "rustc_1_61" feature of the "%{crate}" crate.
%files -n %{name}+rustc_1_61-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
@ -198,7 +189,7 @@ use the "tinyvec_macros" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires

@ -1,6 +0,0 @@
[package]
cargo-toml-patch-comments = [
"drop unused debugger_visualizer support",
"drop unused, benchmark-only criterion dev-dependency",
]

@ -1 +1 @@
SHA512 (tinyvec-1.8.1.crate) = db32a6beb1c86eb3e9f5ff2732a4acc03d1d684f0e54df5de2ecbfd08399639f47396ae8b17eb5f0122a09ba0c313f39bd73a6f7c44cc38d1891d1bdf3f2d176
SHA512 (tinyvec-1.6.0.crate) = e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c

@ -1,60 +1,16 @@
--- tinyvec-1.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ tinyvec-1.8.1/Cargo.toml 2025-01-03T16:50:32.945307+00:00
@@ -73,32 +73,11 @@
path = "tests/arrayvec.rs"
[[test]]
-name = "debugger_visualizer"
-path = "tests/debugger_visualizer.rs"
-test = false
-required-features = ["debugger_visualizer"]
-
-[[test]]
name = "tinyvec"
path = "tests/tinyvec.rs"
required-features = [
"alloc",
"std",
-]
-
-[[bench]]
-name = "macros"
-path = "benches/macros.rs"
-harness = false
-required-features = ["alloc"]
-
-[[bench]]
-name = "smallvec"
-path = "benches/smallvec.rs"
-harness = false
-required-features = [
- "alloc",
- "real_blackbox",
]
[dependencies.arbitrary]
@@ -114,15 +93,6 @@
--- tinyvec-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ tinyvec-1.6.0/Cargo.toml 2022-05-12T14:34:59.983167+00:00
@@ -91,9 +91,6 @@
version = "0.1"
optional = true
-[dev-dependencies.criterion]
-version = "0.3.0"
-
-[dev-dependencies.debugger_test]
-version = "0.1"
-
-[dev-dependencies.debugger_test_parser]
-version = "0.1"
-
[dev-dependencies.serde_test]
version = "1.0"
@@ -131,12 +101,10 @@
[features]
alloc = ["tinyvec_macros"]
-debugger_visualizer = []
default = []
@@ -106,7 +103,6 @@
experimental_write_impl = []
grab_spare_slice = []
nightly_slice_partition_dedup = []

Loading…
Cancel
Save