The package rpms/rust-gtk-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-gtk-macros.git/commit/?id=73....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 73978f10b1e03cd0af5001365f4951045cb0eea9
Author: Igor Raits <ignatenkobrain(a)fedoraproject.org>
Date: Thu May 21 18:10:16 2020 +0200
Initial import
Signed-off-by: Igor Raits <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..18aed11
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gtk-macros-0.2.0.crate
diff --git a/rust-gtk-macros.spec b/rust-gtk-macros.spec
new file mode 100644
index 0000000..38ba009
--- /dev/null
+++ b/rust-gtk-macros.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 13
+# * The doctests are simply broken and there are no functional ones
+#
https://gitlab.gnome.org/haecker-felix/gtk-macros/-/issues/2
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate gtk-macros
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Few macros to make gtk-rs development more convenient
+
+# Upstream license specification: GPL-3.0-or-later
+#
https://gitlab.gnome.org/haecker-felix/gtk-macros/-/issues/1
+License: GPLv3+
+URL:
https://crates.io/crates/gtk-macros
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Few macros to make gtk-rs development more convenient.}
+
+%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
+%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 May 21 17:26:52 CEST 2020 Igor Raits <i.gnatenko.brain(a)gmail.com> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8a31eab
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (gtk-macros-0.2.0.crate) =
7b7316f842ea8fd368aaf4d7276f4d048ea9e7fc6e9e52c4d278847626e8cb91b1af7962d84aeb4e7d216e23d6ea3b78acd0d3d205cf1b365010e65516b5a157