The package rpms/rust-uuid0.8.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-uuid0.8.git/commit/?id=3d19d....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 3d19d02cad7bab4aaaadff29964f81b0e9691874
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jun 6 22:01:56 2022 +0200
Initial import (uuid 0.8 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..06f6027
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/uuid-0.8.2.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index a18fc99..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-uuid0.8
-
-The rust-uuid0.8 package
diff --git a/rust-uuid0.8.spec b/rust-uuid0.8.spec
new file mode 100644
index 0000000..8ebb2b5
--- /dev/null
+++ b/rust-uuid0.8.spec
@@ -0,0 +1,210 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate uuid
+
+Name: rust-%{crate}0.8
+Version: 0.8.2
+Release: %autorelease
+Summary: Library to generate and parse UUIDs
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/uuid
+Source: %{crates_source}
+# Initial patched metadata
+# * drop Windows- and WASM-specific features and dependencies
+Patch0: uuid-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library to generate and parse UUIDs.}
+
+%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}/COPYRIGHT
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CODE_OF_CONDUCT.md
+%doc %{crate_instdir}/CONTRIBUTING.md
+%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
+
+%package -n %{name}+getrandom-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+getrandom-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "getrandom" feature of the "%{crate}" crate.
+
+%files -n %{name}+getrandom-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+guid-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+guid-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "guid" feature of the "%{crate}" crate.
+
+%files -n %{name}+guid-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+md5-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+md5-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "md5" feature of the "%{crate}" crate.
+
+%files -n %{name}+md5-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+sha1-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+sha1-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sha1" feature of the "%{crate}" crate.
+
+%files -n %{name}+sha1-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+slog-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+slog-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "slog" feature of the "%{crate}" crate.
+
+%files -n %{name}+slog-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
+
+%files -n %{name}+std-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v1-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v3" feature of the "%{crate}" crate.
+
+%files -n %{name}+v3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v4-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v4-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v4" feature of the "%{crate}" crate.
+
+%files -n %{name}+v4-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v5-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v5-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v5" feature of the "%{crate}" crate.
+
+%files -n %{name}+v5-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
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..64cbdb4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (uuid-0.8.2.crate) =
5a1f5ead9a920b9bbc120c02049c24b62ec215765e486d3a15c5015ef49fa506206efb737e6f6555cf6e2eddddfe55f0ca1d7dcfa9aa8bcf3e0ef570a54fa2d8
diff --git a/uuid-fix-metadata.diff b/uuid-fix-metadata.diff
new file mode 100644
index 0000000..eb68022
--- /dev/null
+++ b/uuid-fix-metadata.diff
@@ -0,0 +1,21 @@
+--- uuid-0.8.2/Cargo.toml 2021-01-11T06:19:14+00:00
++++ uuid-0.8.2/Cargo.toml 2022-06-05T10:56:25.120776+00:00
+@@ -64,17 +64,12 @@
+
+ [features]
+ default = ["std"]
+-guid = ["winapi"]
++guid = []
+ std = []
+-stdweb = ["getrandom", "getrandom/js"]
+ v1 = []
+ v3 = ["md5"]
+ v4 = ["getrandom"]
+ v5 = ["sha1"]
+-wasm-bindgen = ["getrandom", "getrandom/js"]
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-optional = true
+ [badges.appveyor]
+ repository = "uuid-rs/uuid"
+