The package rpms/rust-iai.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-iai.git/commit/?id=7e1642b68....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a5e4dbf2e6a0b35faa0e112326e0b1e74c3ffe81
Author: Link Dupont <link(a)sub-pop.net>
Date: Tue Nov 23 22:30:29 2021 -0500
remove feature subpackages
Resolves: RHBZ#2025540
diff --git a/rust-iai.spec b/rust-iai.spec
index 3408ff6..4814813 100644
--- a/rust-iai.spec
+++ b/rust-iai.spec
@@ -8,7 +8,7 @@
Name: rust-%{crate}
Version: 0.1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: One-shot benchmarking library
# Upstream license specification: Apache-2.0/MIT
@@ -54,30 +54,6 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-%package -n %{name}+iai_macro-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+iai_macro-devel %{_description}
-
-This package contains library source intended for building other packages
-which use "iai_macro" feature of "%{crate}" crate.
-
-%files -n %{name}+iai_macro-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-
-%package -n %{name}+macro-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+macro-devel %{_description}
-
-This package contains library source intended for building other packages
-which use "macro" feature of "%{crate}" crate.
-
-%files -n %{name}+macro-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-
%package -n %{name}+real_blackbox-devel
Summary: %{summary}
BuildArch: noarch
@@ -109,5 +85,8 @@ which use "real_blackbox" feature of "%{crate}"
crate.
%endif
%changelog
+* Tue Nov 23 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.1.1-2
+- Remove feature subpackage (RHBZ#2025540)
+
* Sat Oct 02 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.1.1-1
- Initial package
commit 7e1642b68121a5458b6e89b0ac3d0569768ea2d3
Author: Link Dupont <link(a)sub-pop.net>
Date: Thu Nov 18 11:58:40 2021 -0500
initial package
Relates: RHBZ#2022215
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4e4b422
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/iai-0.1.1.crate
diff --git a/rust-iai.spec b/rust-iai.spec
new file mode 100644
index 0000000..3408ff6
--- /dev/null
+++ b/rust-iai.spec
@@ -0,0 +1,113 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global __brp_mangle_shebangs_exclude_from src/lib.rs
+
+%global crate iai
+
+Name: rust-%{crate}
+Version: 0.1.1
+Release: 1%{?dist}
+Summary: One-shot benchmarking library
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/iai
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+One-shot benchmarking library.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md CONTRIBUTING.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+iai_macro-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+iai_macro-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "iai_macro" feature of "%{crate}" crate.
+
+%files -n %{name}+iai_macro-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+macro-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+macro-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "macro" feature of "%{crate}" crate.
+
+%files -n %{name}+macro-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+real_blackbox-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+real_blackbox-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "real_blackbox" feature of "%{crate}" crate.
+
+%files -n %{name}+real_blackbox-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sat Oct 02 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.1.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..680e778
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (iai-0.1.1.crate) =
f057bc7da7141541faeab7dab5410cf7b621a622f84ee5da38cc0559bc551baec0694dba01b7280f6744f91f8ed0aa6838b5e7a3d65def2f20768c4f4f15f56d