Drop unused, benchmark-only criterion dev-dependency

epel9
Fabio Valentini 2 years ago
parent a5ba536dad
commit 895e7fa9e1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
--- palette-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00 --- palette-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ palette-0.6.0/Cargo.toml 2021-12-10T07:39:46.344758+00:00 +++ palette-0.6.0/Cargo.toml 2022-11-04T20:04:01.009987+00:00
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
version = "0.6.0" version = "0.6.0"
@ -9,15 +9,26 @@
features = ["macros"] features = ["macros"]
optional = true optional = true
default-features = false default-features = false
@@ -91,11 +91,6 @@ @@ -76,10 +76,6 @@
[dev-dependencies.lazy_static] version = "2"
default-features = false
-[dev-dependencies.criterion]
-version = "0.3"
-default-features = false
-
[dev-dependencies.csv]
version = "1" version = "1"
@@ -90,11 +86,6 @@
[dev-dependencies.lazy_static]
version = "1"
-
-[dev-dependencies.rand_mt] -[dev-dependencies.rand_mt]
-version = "4" -version = "4"
-features = ["rand-traits"] -features = ["rand-traits"]
-default-features = false -default-features = false
-
[dev-dependencies.serde] [dev-dependencies.serde]
version = "1" version = "1"

@ -1,26 +1,24 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate palette %global crate palette
Name: rust-%{crate} Name: rust-palette
Version: 0.6.0 Version: 0.6.0
Release: %autorelease Release: %autorelease
Summary: Convert and manage colors with a focus on correctness, flexibility and ease of use Summary: Convert and manage colors with a focus on correctness, flexibility and ease of use
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/palette URL: https://crates.io/crates/palette
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# Downgrade phf to version 0.8 # * temporarily downgrade phf from 0.9 to 0.8
# Remove rand_mt dev-dependencies # * drop unused rand_mt dev-dependency
Patch0: palette-fix-metadata.diff # * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: palette-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Convert and manage colors with a focus on correctness, flexibility and ease of Convert and manage colors with a focus on correctness, flexibility and ease of
@ -34,13 +32,14 @@ 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-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,11 +47,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}+bytemuck-devel %package -n %{name}+bytemuck-devel
Summary: %{summary} Summary: %{summary}
@ -60,11 +59,11 @@ BuildArch: noarch
%description -n %{name}+bytemuck-devel %{_description} %description -n %{name}+bytemuck-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 "bytemuck" feature of "%{crate}" crate. use the "bytemuck" feature of the "%{crate}" crate.
%files -n %{name}+bytemuck-devel %files -n %{name}+bytemuck-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libm-devel %package -n %{name}+libm-devel
Summary: %{summary} Summary: %{summary}
@ -72,11 +71,11 @@ BuildArch: noarch
%description -n %{name}+libm-devel %{_description} %description -n %{name}+libm-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 "libm" feature of "%{crate}" crate. use the "libm" feature of the "%{crate}" crate.
%files -n %{name}+libm-devel %files -n %{name}+libm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+named-devel %package -n %{name}+named-devel
Summary: %{summary} Summary: %{summary}
@ -84,11 +83,11 @@ BuildArch: noarch
%description -n %{name}+named-devel %{_description} %description -n %{name}+named-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 "named" feature of "%{crate}" crate. use the "named" feature of the "%{crate}" crate.
%files -n %{name}+named-devel %files -n %{name}+named-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+named_from_str-devel %package -n %{name}+named_from_str-devel
Summary: %{summary} Summary: %{summary}
@ -96,11 +95,11 @@ BuildArch: noarch
%description -n %{name}+named_from_str-devel %{_description} %description -n %{name}+named_from_str-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 "named_from_str" feature of "%{crate}" crate. use the "named_from_str" feature of the "%{crate}" crate.
%files -n %{name}+named_from_str-devel %files -n %{name}+named_from_str-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+named_gradients-devel %package -n %{name}+named_gradients-devel
Summary: %{summary} Summary: %{summary}
@ -108,11 +107,11 @@ BuildArch: noarch
%description -n %{name}+named_gradients-devel %{_description} %description -n %{name}+named_gradients-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 "named_gradients" feature of "%{crate}" crate. use the "named_gradients" feature of the "%{crate}" crate.
%files -n %{name}+named_gradients-devel %files -n %{name}+named_gradients-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+phf-devel %package -n %{name}+phf-devel
Summary: %{summary} Summary: %{summary}
@ -120,11 +119,11 @@ BuildArch: noarch
%description -n %{name}+phf-devel %{_description} %description -n %{name}+phf-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 "phf" feature of "%{crate}" crate. use the "phf" feature of the "%{crate}" crate.
%files -n %{name}+phf-devel %files -n %{name}+phf-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand-devel %package -n %{name}+rand-devel
Summary: %{summary} Summary: %{summary}
@ -132,11 +131,11 @@ BuildArch: noarch
%description -n %{name}+rand-devel %{_description} %description -n %{name}+rand-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 "rand" feature of "%{crate}" crate. use the "rand" feature of the "%{crate}" crate.
%files -n %{name}+rand-devel %files -n %{name}+rand-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+random-devel %package -n %{name}+random-devel
Summary: %{summary} Summary: %{summary}
@ -144,11 +143,11 @@ BuildArch: noarch
%description -n %{name}+random-devel %{_description} %description -n %{name}+random-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 "random" feature of "%{crate}" crate. use the "random" feature of the "%{crate}" crate.
%files -n %{name}+random-devel %files -n %{name}+random-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -156,11 +155,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}+serializing-devel %package -n %{name}+serializing-devel
Summary: %{summary} Summary: %{summary}
@ -168,11 +167,11 @@ BuildArch: noarch
%description -n %{name}+serializing-devel %{_description} %description -n %{name}+serializing-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 "serializing" feature of "%{crate}" crate. use the "serializing" feature of the "%{crate}" crate.
%files -n %{name}+serializing-devel %files -n %{name}+serializing-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}
@ -180,11 +179,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
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save