The package rpms/rust-sequoia-openpgp-mt.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-sequoia-openpgp-mt.git/commi....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 4fe5f313464bc34f10c2c670f03fa2bc1598c1ba
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jan 31 22:21:05 2022 +0100
Initial import (#2043578)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0fe6bf3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/sequoia-openpgp-mt-0.1.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 9600630..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sequoia-openpgp-mt
-
-The rust-sequoia-openpgp-mt package
diff --git a/rust-sequoia-openpgp-mt.spec b/rust-sequoia-openpgp-mt.spec
new file mode 100644
index 0000000..ddfe410
--- /dev/null
+++ b/rust-sequoia-openpgp-mt.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 20
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate sequoia-openpgp-mt
+
+Name: rust-%{crate}
+Version: 0.1.0
+Release: %autorelease
+Summary: Multi-threaded parsing of OpenPGP data
+
+# Upstream license specification: LGPL-2.0-or-later
+License: LGPLv2+
+URL:
https://crates.io/crates/sequoia-openpgp-mt
+Source: %{crates_source}
+# Initial patched metadata
+# * set default sequoia-openpgp crypto backend to nettle
+# * drop Windows-specific dependencies
+Patch0: sequoia-openpgp-mt-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Multi-threaded parsing of OpenPGP data.}
+
+%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 LICENSE.txt
+%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 the "default" feature of the "%{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
+%autochangelog
diff --git a/sequoia-openpgp-mt-fix-metadata.diff b/sequoia-openpgp-mt-fix-metadata.diff
new file mode 100644
index 0000000..4366407
--- /dev/null
+++ b/sequoia-openpgp-mt-fix-metadata.diff
@@ -0,0 +1,18 @@
+--- sequoia-openpgp-mt-0.1.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-openpgp-mt-0.1.0/Cargo.toml 2022-01-21T14:10:25.610763+00:00
+@@ -35,14 +35,11 @@
+
+ [dependencies.sequoia-openpgp]
+ version = "1"
++features = ["crypto-nettle"]
+ default-features = false
+ [target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
+ version = "1"
+ default-features = true
+-[target."cfg(windows)".dev-dependencies.sequoia-openpgp]
+-version = "1"
+-features = ["crypto-cng"]
+-default-features = false
+ [badges.gitlab]
+ repository = "sequoia-pgp/sequoia-openpgp-mt"
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..121cede
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sequoia-openpgp-mt-0.1.0.crate) =
ff3e41731d37cb0897bac740059086e54d8c4015b05867f8f51e94e8bbd05afe346039b54be7140bd716425e69d55f7642c07b3ecef1f9da188259e73b19c9dd