The package rpms/rust-is_executable.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-is_executable.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 7afdc0d8c73f59ff37c4dc2914f95215afd2af07
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Sun Jul 3 15:52:34 2022 -0700
Initial import; Fixes: RHBZ#2035563
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..03bdbe2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/is_executable-1.0.1.crate
diff --git a/is_executable-fix-metadata.diff b/is_executable-fix-metadata.diff
new file mode 100644
index 0000000..f67ea93
--- /dev/null
+++ b/is_executable-fix-metadata.diff
@@ -0,0 +1,14 @@
+--- is_executable-1.0.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ is_executable-1.0.1/Cargo.toml 2022-07-03T22:53:22.317222+00:00
+@@ -21,10 +21,8 @@
+ categories = ["filesystem"]
+ license = "Apache-2.0/MIT"
+ repository = "https://github.com/fitzgen/is_executable"
++exclude = ["/appveyor.yml"]
+ [dev-dependencies.diff]
+ version = "0.1.10"
+-[target."cfg(target_os = \"windows\")".dependencies.winapi]
+-version = "0.3"
+-features = ["winbase"]
+ [badges.travis-ci]
+ repository = "fitzgen/is_executable"
diff --git a/rust-is_executable.spec b/rust-is_executable.spec
new file mode 100644
index 0000000..df28803
--- /dev/null
+++ b/rust-is_executable.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate is_executable
+
+Name: rust-%{crate}
+Version: 1.0.1
+Release: %autorelease
+Summary: Is there an executable file at the given path?
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/is_executable
+Source: %{crates_source}
+# Initial patched metadata
+# * Drop Windows dependencies
+# * Exclude unnecessary files
+#
https://github.com/fitzgen/is_executable/pull/11
+Patch0: is_executable-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+This package provides a small Rust helper function which determines whether or
+not the given path points to an executable file.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/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
+# Disable useless test
+%cargo_test -- -- --skip readme_up_to_date
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ee78b7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (is_executable-1.0.1.crate) =
677980983db2c8ed72e87a2f2df3bac328dc6ba6dba6c3e8c4e4eaa7b8fee160ef4e81d105f65ed718fb7263137ffdb21d86b148f614f04fb9e24201417c8a29