The package rpms/rust-cryptoki-sys.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-cryptoki-sys.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 5701f83fafb9d7a4799c3799920a5546b67b9ba3
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Mon Apr 5 15:17:55 2021 +0100
rebuild
diff --git a/rust-cryptoki-sys.spec b/rust-cryptoki-sys.spec
index 07700b6..fcea8f9 100644
--- a/rust-cryptoki-sys.spec
+++ b/rust-cryptoki-sys.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: FFI wrapper around the PKCS #11 API
# Upstream license specification: Apache-2.0
@@ -95,5 +95,8 @@ which use "generate-bindings" feature of "%{crate}"
crate.
%endif
%changelog
+* Mon Apr 05 2021 Peter Robinson <pbrobinson(a)fedoraproject.org> - 0.1.0-2
+- rebuild
+
* Fri Mar 26 09:59:25 GMT 2021 Peter Robinson <pbrobinson(a)gmail.com> - 0.1.0-1
- Initial package
commit abe36ea27cb74f6a9bc2d33de775a02f3900c2a0
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Mon Apr 5 15:01:04 2021 +0100
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bcad8bb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cryptoki-sys-*.crate
diff --git a/rust-cryptoki-sys.spec b/rust-cryptoki-sys.spec
new file mode 100644
index 0000000..07700b6
--- /dev/null
+++ b/rust-cryptoki-sys.spec
@@ -0,0 +1,99 @@
+# Generated by rust2rpm 17
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate cryptoki-sys
+
+Name: rust-%{crate}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: FFI wrapper around the PKCS #11 API
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL:
https://crates.io/crates/cryptoki-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+FFI wrapper around the PKCS #11 API.}
+
+%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
+%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
+
+%package -n %{name}+bindgen-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+bindgen-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "bindgen" feature of "%{crate}" crate.
+
+%files -n %{name}+bindgen-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+generate-bindings-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+generate-bindings-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "generate-bindings" feature of "%{crate}" crate.
+
+%files -n %{name}+generate-bindings-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 -a
+
+%build
+%cargo_build -a
+
+%install
+%cargo_install -a
+
+%if %{with check}
+%check
+%cargo_test -a
+%endif
+
+%changelog
+* Fri Mar 26 09:59:25 GMT 2021 Peter Robinson <pbrobinson(a)gmail.com> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..615896f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cryptoki-sys-0.1.0.crate) =
c6c9d9e37eba450610465dbcde3204751a7111230549702895352252c5b6c412974d9e61775d79008448b4b00a0c38d0dfbc7aa7b90a74d87d3ef8bb66a75df8