The package rpms/rust-deser-hjson.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-deser-hjson.git/commit/?id=1....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1489ccbbe5cbcfc9983bcd72c79ed3ad03c8acf7
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Tue Oct 25 19:51:25 2022 -0700
Initial import; Fixes: RHBZ#2035548
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a2bd434
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/deser-hjson-1.0.2.crate
diff --git a/deser-hjson-fix-metadata.diff b/deser-hjson-fix-metadata.diff
new file mode 100644
index 0000000..fc4b06a
--- /dev/null
+++ b/deser-hjson-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- deser-hjson-1.0.2/Cargo.toml 1970-01-01T00:00:01+00:00
++++ deser-hjson-1.0.2/Cargo.toml 2022-10-26T02:51:53.126025+00:00
+@@ -33,5 +33,3 @@
+ [dependencies.serde]
+ version = "1.0"
+ features = ["derive"]
+-[dev-dependencies.glassbench]
+-version = "0.3"
diff --git a/rust-deser-hjson.spec b/rust-deser-hjson.spec
new file mode 100644
index 0000000..dc9864f
--- /dev/null
+++ b/rust-deser-hjson.spec
@@ -0,0 +1,74 @@
+# Generated by rust2rpm 22
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate deser-hjson
+
+Name: rust-deser-hjson
+Version: 1.0.2
+Release: %autorelease
+Summary: Hjson deserializer for Serde
+
+License: MIT
+URL:
https://crates.io/crates/deser-hjson
+Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# Drop benchmark-only dependency
+Patch: deser-hjson-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Hjson deserializer for Serde.}
+
+%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
+%doc %{crate_instdir}/CHANGELOG.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
+
+%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..4741275
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (deser-hjson-1.0.2.crate) =
665950696d9c924e72381206cc08ec5edb73feda7f535eab1e27b260741e664e94b33292f4568b16ef1bc795c3c0262f0b7ee44fa968d339f804b842403513c2