The package rpms/rust-nalgebra-macros.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-nalgebra-macros.git/commit/?....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 5806b074d2d4795c352cbcd2b55abc3cac92f697
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Mon Jun 21 12:50:09 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7a461a5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nalgebra-macros-0.1.0.crate
diff --git a/nalgebra-macros-fix-metadata.diff b/nalgebra-macros-fix-metadata.diff
new file mode 100644
index 0000000..f787a07
--- /dev/null
+++ b/nalgebra-macros-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- nalgebra-macros-0.1.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ nalgebra-macros-0.1.0/Cargo.toml 2021-06-14T00:40:24.381747+00:00
+@@ -36,8 +36,6 @@
+ [dependencies.syn]
+ version = "1.0"
+ features = ["full"]
+-[dev-dependencies.nalgebra]
+-version = "0.26.1"
+
+ [dev-dependencies.trybuild]
+ version = "1.0.42"
diff --git a/rust-nalgebra-macros.spec b/rust-nalgebra-macros.spec
new file mode 100644
index 0000000..ea6dfca
--- /dev/null
+++ b/rust-nalgebra-macros.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 17
+# Remove test to avoid circular dependency with nalgebra
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate nalgebra-macros
+
+Name: rust-%{crate}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Procedural macros for nalgebra
+
+# Upstream license specification: Apache-2.0
+#
https://github.com/dimforge/nalgebra/issues/912
+License: ASL 2.0
+URL:
https://crates.io/crates/nalgebra-macros
+Source: %{crates_source}
+# Initial patched metadata
+# * Remove nalgebra test dependency
+Patch0: nalgebra-macros-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Procedural macros for nalgebra.}
+
+%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
+%{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
+* Sun Jun 13 20:32:00 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..dd3d808
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nalgebra-macros-0.1.0.crate) =
5b7e3e54414653822a3a0e1a89a97f2dcad53851b2d97db095c6a058009f5ed62a130b12dc35befc43ce7c1095904402910f6453df059b9e320e42571d7b3f37