The package rpms/rust-cargo-util.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-cargo-util.git/commit/?id=2e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2e166f5e754356ae0f9fca0f167bffffe53d53db
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Aug 26 21:29:07 2021 +0200
Initial import (#1993082)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a9434b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/cargo-util-0.1.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index cfe26e8..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-cargo-util
-
-The rust-cargo-util package
diff --git a/cargo-util-fix-metadata.diff b/cargo-util-fix-metadata.diff
new file mode 100644
index 0000000..e12f114
--- /dev/null
+++ b/cargo-util-fix-metadata.diff
@@ -0,0 +1,15 @@
+--- cargo-util-0.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ cargo-util-0.1.1/Cargo.toml 2021-08-12T10:34:06.864620+00:00
+@@ -50,12 +50,3 @@
+
+ [dependencies.walkdir]
+ version = "2.3.1"
+-[target."cfg(target_os = \"macos\")".dependencies.core-foundation]
+-version = "0.9.0"
+-features = ["mac_os_10_7_support"]
+-[target."cfg(windows)".dependencies.miow]
+-version = "0.3.6"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.9"
+-features = ["consoleapi", "minwindef"]
diff --git a/rust-cargo-util.spec b/rust-cargo-util.spec
new file mode 100644
index 0000000..a741d60
--- /dev/null
+++ b/rust-cargo-util.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cargo-util
+
+Name: rust-%{crate}
+Version: 0.1.1
+Release: %autorelease
+Summary: Miscellaneous support code used by Cargo
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/cargo-util
+Source: %{crates_source}
+# Initial patched metadata
+# * drop windows/mac OS-specific dependencies
+Patch0: cargo-util-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Miscellaneous support code used by Cargo.}
+
+%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
+%{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
+
+%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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..ce7cb8d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cargo-util-0.1.1.crate) =
590e97897bd0a12151d3a260647bb735251a48a3ee9ff4028a609c6a39b5f696db9d42403c72bc6e6df939eb5012c18129a4ec1cffea617112fc2e66450ec05e