The package rpms/rust-stb_truetype.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-stb_truetype.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d5d4db7a96bf88df0f24f97c8e5df50c1948087d
Author: Robert-Andr Mauchin <zebob.m(a)gmail.com>
Date: Wed Mar 20 03:11:02 2019 +0100
Initial import (#1689536)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e69de29
diff --git a/rust-stb_truetype.spec b/rust-stb_truetype.spec
new file mode 100644
index 0000000..ff1f53f
--- /dev/null
+++ b/rust-stb_truetype.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm
+# Upstream doesn't provide the necessary fonts in the crate for the test
+#
https://gitlab.redox-os.org/redox-os/stb_truetype-rs/issues/22
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate stb_truetype
+
+Name: rust-%{crate}
+Version: 0.2.6
+Release: 1%{?dist}
+Summary: Straight translation of the font loading code in stb_truetype.h from C to
Rust
+
+# Upstream license specification: MIT / Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/stb_truetype
+Source: %{crates_source}
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(byteorder/default) >= 1.1.0 with crate(byteorder/default) <
2.0.0)
+%if %{with check}
+BuildRequires: (crate(approx) >= 0.3.0 with crate(approx) < 0.4.0)
+%endif
+
+%global _description \
+Straight translation of the font loading code in stb_truetype.h from C to\
+Rust.
+
+%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 CHANGELOG.md
+%license LICENSE-APACHE LICENSE-MIT
+%{cargo_registry}/%{crate}-%{version}/
+
+%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}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sat Mar 16 2019 Robert-Andr Mauchin <zebob.m(a)gmail.com> - 0.2.6-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e69de29
diff --git a/stb_truetype-0.2.6.crate b/stb_truetype-0.2.6.crate
new file mode 100644
index 0000000..3f89073
Binary files /dev/null and b/stb_truetype-0.2.6.crate differ