The package rpms/rust-fs-set-times.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-fs-set-times.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 369f2209295678fa52c51c302d5b4bae7346d688
Author: Olivier Lemasle <o.lemasle(a)gmail.com>
Date: Mon Jun 7 22:18:03 2021 +0200
Initial import (#1966284)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..03e74d3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fs-set-times-0.3.1.crate
diff --git a/fs-set-times-fix-metadata.diff b/fs-set-times-fix-metadata.diff
new file mode 100644
index 0000000..1298536
--- /dev/null
+++ b/fs-set-times-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- fs-set-times-0.3.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ fs-set-times-0.3.1/Cargo.toml 2021-05-29T19:36:17.987792+00:00
+@@ -26,8 +26,5 @@
+ version = "0.6.0"
+ [target."cfg(not(windows))".dependencies.posish]
+ version = "0.6.1"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.9"
+-features = ["winerror"]
+ [badges.maintenance]
+ status = "actively-developed"
diff --git a/rust-fs-set-times.spec b/rust-fs-set-times.spec
new file mode 100644
index 0000000..aeca1e2
--- /dev/null
+++ b/rust-fs-set-times.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fs-set-times
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: Set filesystem timestamps
+
+# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+License: ASL 2.0 with exceptions or ASL 2.0 or MIT
+URL:
https://crates.io/crates/fs-set-times
+Source: %{crates_source}
+# Initial patched metadata
+# Remove windows-only dependency winapi
+Patch0: fs-set-times-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Set filesystem timestamps.
+
+Rust crate fs-set-times provides functions to set timestamps on files,
+directories, and other filesystem objects.}
+
+%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
+%doc README.md SECURITY.md
+%doc CODE_OF_CONDUCT.md ORG_CODE_OF_CONDUCT.md
+%license LICENSE-APACHE LICENSE-MIT COPYRIGHT
+%license LICENSE-Apache-2.0_WITH_LLVM-exception
+%{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
+* Mon May 31 20:37:18 CEST 2021 Olivier Lemasle <o.lemasle(a)gmail.com> - 0.3.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..d770559
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fs-set-times-0.3.1.crate) =
2dc4c72e4d2caac9f3d6fc7399a903f80e797c7880e043c31f83ebbaed555c2a05eb9531944975b3a23880bfc90c2ca07763522f92ebbb3ae82204b24bc5dfa7