The package rpms/rust-criterion.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-criterion.git/commit/?id=046....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 04664a021f1a95ad9bdcf9642360b0f23a4610f7
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Mar 28 18:24:35 2023 +0200
Update to version 0.4.0
diff --git a/.gitignore b/.gitignore
index da4d9c3..8de4ec9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/criterion-0.3.3.crate
/criterion-0.3.4.crate
/criterion-0.3.5.crate
+/criterion-0.4.0.crate
diff --git a/criterion-fix-metadata.diff b/criterion-fix-metadata.diff
index af30e24..96debc9 100644
--- a/criterion-fix-metadata.diff
+++ b/criterion-fix-metadata.diff
@@ -1,15 +1,6 @@
---- criterion-0.3.5/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ criterion-0.3.5/Cargo.toml 2022-09-29T11:14:05.218936+00:00
-@@ -40,7 +40,7 @@
- version = "0.2"
-
- [dependencies.cast]
--version = "0.2"
-+version = "0.3"
-
- [dependencies.clap]
- version = "2.33"
-@@ -95,11 +95,6 @@
+--- criterion-0.4.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ criterion-0.4.0/Cargo.toml 2023-03-21T12:31:49.027358+00:00
+@@ -119,11 +119,6 @@
[dependencies.serde_json]
version = "1.0"
@@ -21,19 +12,22 @@
[dependencies.tinytemplate]
version = "1.1"
-@@ -132,7 +127,6 @@
- [features]
- async = ["futures"]
- async_futures = ["futures/executor", "async"]
--async_smol = ["smol", "async"]
- async_std = ["async-std", "async"]
- async_tokio = ["tokio", "async"]
- cargo_bench_support = []
-@@ -140,6 +134,6 @@
- default = ["cargo_bench_support"]
- html_reports = []
- real_blackbox = []
--stable = ["async_futures", "async_smol", "async_tokio",
"async_std"]
-+stable = ["async_futures", "async_tokio", "async_std"]
- [badges.maintenance]
- status = "passively-maintained"
+@@ -160,10 +155,6 @@
+ "futures/executor",
+ "async",
+ ]
+-async_smol = [
+- "smol",
+- "async",
+-]
+ async_std = [
+ "async-std",
+ "async",
+@@ -185,7 +176,6 @@
+ "csv_output",
+ "html_reports",
+ "async_futures",
+- "async_smol",
+ "async_tokio",
+ "async_std",
+ ]
diff --git a/rust-criterion.spec b/rust-criterion.spec
index 1c243ce..fca0bd6 100644
--- a/rust-criterion.spec
+++ b/rust-criterion.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate criterion
Name: rust-criterion
-Version: 0.3.5
+Version: 0.4.0
Release: %autorelease
Summary: Statistics-driven micro-benchmarking library
@@ -15,12 +15,8 @@ URL:
https://crates.io/crates/criterion
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop optional smol dependency and features
-# * bump cast from 0.2 to 0.3:
-#
https://github.com/bheisler/criterion.rs/commit/38fee32
Patch: criterion-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
@@ -131,6 +127,18 @@ use the "cargo_bench_support" feature of the
"%{crate}" crate.
%files -n %{name}+cargo_bench_support-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+csv-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+csv-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "csv" feature of the "%{crate}" crate.
+
+%files -n %{name}+csv-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+csv_output-devel
Summary: %{summary}
BuildArch: noarch
@@ -167,6 +175,30 @@ use the "html_reports" feature of the "%{crate}"
crate.
%files -n %{name}+html_reports-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+plotters-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+plotters-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "plotters" feature of the "%{crate}" crate.
+
+%files -n %{name}+plotters-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+rayon-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+rayon-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "rayon" feature of the "%{crate}" crate.
+
+%files -n %{name}+rayon-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+real_blackbox-devel
Summary: %{summary}
BuildArch: noarch
diff --git a/sources b/sources
index 06c3246..3ce3a45 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (criterion-0.3.5.crate) =
ad5d0cf9270c3be5d76c87ada41198d0fbdcdd9831f092ae7179b57e16df153d2aebc0bb70ad7b6fc98966240a902ed5f6fc7adf044be0420bbaa95b951e5be1
+SHA512 (criterion-0.4.0.crate) =
e6e078ae5be2c8fc018986eb8fc1432ef78fd94b93aed1f05d7b0bb195a440d0a068cc8c26066a970cdd105102131e706bfc3e05f3a44174b5df4184aa3ffdcb