The package rpms/rust-comfy-table.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-comfy-table.git/commit/?id=0....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0ad78659d28ce693a4b1e777295fcd98ebb18d62
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Sep 3 16:07:49 2021 +0200
Initial import (#2000920)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..96676a6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/comfy-table-4.1.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 1bd52f3..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-comfy-table
-
-The rust-comfy-table package
diff --git a/comfy-table-fix-metadata.diff b/comfy-table-fix-metadata.diff
new file mode 100644
index 0000000..2b4ab84
--- /dev/null
+++ b/comfy-table-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- comfy-table-4.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ comfy-table-4.1.1/Cargo.toml 2021-08-29T21:54:15.518307+00:00
+@@ -45,8 +45,6 @@
+
+ [dependencies.unicode-width]
+ version = "0.1"
+-[dev-dependencies.criterion]
+-version = "0.3"
+
+ [dev-dependencies.doc-comment]
+ version = "0.3"
diff --git a/rust-comfy-table.spec b/rust-comfy-table.spec
new file mode 100644
index 0000000..e378d9e
--- /dev/null
+++ b/rust-comfy-table.spec
@@ -0,0 +1,102 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate comfy-table
+
+Name: rust-%{crate}
+Version: 4.1.1
+Release: %autorelease
+Summary: Library for building beautiful tables with automatic content wrapping
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/comfy-table
+Source: %{crates_source}
+# Initial patched metadata
+# * drop criterion dev-dependency (only used by benchmarks)
+Patch0: comfy-table-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Easy to use library for building beautiful tables with automatic content
+wrapping.}
+
+%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
+%doc README.md CHANGELOG.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
+
+%package -n %{name}+crossterm-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+crossterm-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "crossterm" feature of "%{crate}" crate.
+
+%files -n %{name}+crossterm-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tty-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tty-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tty" feature of "%{crate}" crate.
+
+%files -n %{name}+tty-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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..afdf01c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (comfy-table-4.1.1.crate) =
3038b45278b6c16a583978ff1fd6f526391b2b4eb33df5683d936f9263c0fe48c4730a6fbbb5d42cf999c9add458c163d61d0e5d5c792139ee1e6e6eed4beb1f