The package rpms/rust-fd-lock.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-fd-lock.git/commit/?id=631c8....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 631c8aec6c00b50294a9063002bff38ce792e650
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Tue Jun 8 09:18:06 2021 -0700
import #1967345
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d00b0b8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fd-lock-2.0.0.crate
diff --git a/fd-lock-fix-metadata.diff b/fd-lock-fix-metadata.diff
new file mode 100644
index 0000000..0f816ae
--- /dev/null
+++ b/fd-lock-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- fd-lock-2.0.0/Cargo.toml 2020-12-21T17:21:13+00:00
++++ fd-lock-2.0.0/Cargo.toml 2021-06-02T23:40:14.423526+00:00
+@@ -26,5 +26,3 @@
+ version = "0.2.58"
+ [dev-dependencies.tempfile]
+ version = "3.0.8"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.7"
diff --git a/rust-fd-lock.spec b/rust-fd-lock.spec
new file mode 100644
index 0000000..3625228
--- /dev/null
+++ b/rust-fd-lock.spec
@@ -0,0 +1,80 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fd-lock
+
+Name: rust-%{crate}
+Version: 2.0.0
+Release: 2%{?dist}
+Summary: Advisory cross-platform lock on a file using a file descriptor to it
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/fd-lock
+Source: %{crates_source}
+# Drop windows dependencies
+Patch0: fd-lock-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Advisory cross-platform lock on a file using a file descriptor to it.}
+
+%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-APACHE LICENSE-MIT
+%doc README.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
+
+%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
+* Sun Jun 06 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 2.0.0-2
+- Install license files
+
+* Wed Jun 02 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 2.0.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..dfe5705
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fd-lock-2.0.0.crate) =
2bf33b4091f9553d54d1e9e2f9d7dcb03e33edf6515641370160396244349f04d144a613d776dc1b94fb223af04b6e3032ef959a45941315fdcd3659bdd80238