The package rpms/rust-pem.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-pem.git/commit/?id=e39d9f3b7....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e39d9f3b73e169f279f55e92209b8dffa96c14fa
Author: Artem Polishchuk <ego.cordatus(a)gmail.com>
Date: Wed Jul 1 20:41:16 2020 +0300
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2ea2a56
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/pem-0.8.1.crate
diff --git a/pem-fix-metadata.diff b/pem-fix-metadata.diff
new file mode 100644
index 0000000..f38434a
--- /dev/null
+++ b/pem-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- pem-0.8.1/Cargo.toml 2020-06-08T14:01:44+00:00
++++ pem-0.8.1/Cargo.toml 2020-06-25T07:55:32.739881+00:00
+@@ -35,6 +35,6 @@
+ [dependencies.regex]
+ version = "1"
+ [dev-dependencies.criterion]
+-version = "0.2.3"
++version = "0.3.0"
+ [badges.travis-ci]
+ repository = "jcreekmore/pem-rs"
diff --git a/rust-pem.spec b/rust-pem.spec
new file mode 100644
index 0000000..d3567de
--- /dev/null
+++ b/rust-pem.spec
@@ -0,0 +1,80 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate pem
+
+Name: rust-%{crate}
+Version: 0.8.1
+Release: 1%{?dist}
+Summary: Parse and encode PEM-encoded data
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/pem
+Source: %{crates_source}
+# Initial patched metadata
+# *
https://github.com/jcreekmore/pem-rs/pull/24
+# * Bump deps
+# - criterion to 0.3.0
+Patch0: pem-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Parse and encode PEM-encoded data.}
+
+%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.md
+%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
+* Thu Jun 25 10:55:33 EEST 2020 Artem Polishchuk <ego.cordatus(a)gmail.com> -
0.8.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8fc1c24
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pem-0.8.1.crate) =
db7a18a7499885262432137c845a81b4daae1e0b6a6e8e83e58735f41f6efa73b3358354d39204295c88a7c241f10588be09f3dd3f034a266a34cfeda82c4466