The package rpms/rust-cordic.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-cordic.git/commit/?id=9877b2....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9877b25a8e6c0c8ab92e27a9416aa4299b67b16a
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 2 15:32:50 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8876f62
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cordic-0.1.5.crate
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..73bc7c8
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2020, Sébastien Crozet & Alexander Carobus
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the author nor the names of its contributors may be used
+ to endorse or promote products derived from this software without specific
+ prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/rust-cordic.spec b/rust-cordic.spec
new file mode 100644
index 0000000..d244deb
--- /dev/null
+++ b/rust-cordic.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cordic
+
+Name: rust-%{crate}
+Version: 0.1.5
+Release: 1%{?dist}
+Summary: Special functions for fixed-point numbers using the CORDIC method
+
+# Upstream license specification: BSD-3-Clause
+#
https://github.com/sebcrozet/cordic/issues/5
+License: BSD
+URL:
https://crates.io/crates/cordic
+Source: %{crates_source}
+# Download license
+Source1:
https://raw.githubusercontent.com/sebcrozet/cordic/master/LICENSE
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Special functions for fixed-point numbers using the CORDIC method.}
+
+%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
+%{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
+cp %{SOURCE1} LICENSE
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sat Jun 19 12:09:54 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.1.5-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..ad6f7c7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cordic-0.1.5.crate) =
bb990486f67d43b149f4f58e43f621907b5d7b8b660ccdf17de7479a14da25fbbb8c455d86c42b1d0dfb83449082d13c0cad57083ac30df66ad1dd84afe8525f