The package rpms/rust-vte0.3.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-vte0.3.git/commit/?id=b8d8e5....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b8d8e5a9b7b29b558739c0e3654fa80931728241
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Sep 21 16:25:56 2020 +0200
initial import (rust-vte 0.3 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..089c698
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/vte-0.3.3.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index d25ec8c..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-vte0.3
-
-The rust-vte0.3 package
diff --git a/rust-vte0.3.spec b/rust-vte0.3.spec
new file mode 100644
index 0000000..d0b44c7
--- /dev/null
+++ b/rust-vte0.3.spec
@@ -0,0 +1,81 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate vte
+
+Name: rust-%{crate}0.3
+Version: 0.3.3
+Release: 1%{?dist}
+Summary: Parser for implementing terminal emulators
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/vte
+Source: %{crates_source}
+# Initial patched metadata
+# * Do not ship some random binaries
+# * bump utf8parse from 0.1 to 0.2
+Patch0: vte-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Parser for implementing terminal emulators.}
+
+%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 CHANGELOG.md README.md
+%license LICENSE-APACHE LICENSE-MIT
+%{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
+# Fix broken example
+mv foos benches
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Sep 21 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.3.3-1
+- Initial compat package for vte 0.3
diff --git a/sources b/sources
new file mode 100644
index 0000000..0b9a02d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (vte-0.3.3.crate) =
5e00e8409ef21edb5aa6fbe482785fd5969dd17a6695f82328c4ae12ea8622712dc3473f33832fdfe0cc2395411431fd47842e86e35022149d5e958c4e5f8fe9
diff --git a/vte-fix-metadata.diff b/vte-fix-metadata.diff
new file mode 100644
index 0000000..a55a378
--- /dev/null
+++ b/vte-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- vte-0.3.3/Cargo.toml 1970-01-01T00:00:00+00:00
++++ vte-0.3.3/Cargo.toml 2020-09-21T14:29:08.781396+00:00
+@@ -20,5 +20,6 @@
+ keywords = ["ansi", "vte", "parser",
"terminal"]
+ license = "Apache-2.0 OR MIT"
+ repository = "https://github.com/jwilm/vte"
++exclude = ["/vim10m_*"]
+ [dependencies.utf8parse]
+-version = "0.1"
++version = "0.2"