The package rpms/rust-colored1.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-colored1.git/commit/?id=f418....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f41898f472b69c40b1fd65964bdb7556f603ab54
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 22:00:17 2020 +0100
initial import (colored 1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6ea112a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/colored-1.9.3.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index e93625f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-colored1
-
-The rust-colored1 package
diff --git a/colored-fix-metadata.diff b/colored-fix-metadata.diff
new file mode 100644
index 0000000..fca4621
--- /dev/null
+++ b/colored-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- colored-1.9.3/Cargo.toml 1970-01-01T00:00:00+00:00
++++ colored-1.9.3/Cargo.toml 2020-11-30T20:58:42.729455+00:00
+@@ -33,7 +33,3 @@
+
+ [features]
+ no-color = []
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["consoleapi", "processenv", "winbase"]
+-default-features = false
diff --git a/rust-colored1.spec b/rust-colored1.spec
new file mode 100644
index 0000000..c673720
--- /dev/null
+++ b/rust-colored1.spec
@@ -0,0 +1,92 @@
+# Generated by rust2rpm 16
+# * rspec is not packaged
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate colored
+
+Name: rust-%{crate}1
+Version: 1.9.3
+Release: 1%{?dist}
+Summary: Most simple way to add colors in your terminal
+
+# Upstream license specification: MPL-2.0
+License: MPLv2.0
+URL:
https://crates.io/crates/colored
+Source: %{crates_source}
+# Initial patched metadata
+# * No windows
+Patch0: colored-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Most simple way to add colors in your terminal.}
+
+%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}+no-color-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+no-color-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "no-color" feature of "%{crate}" crate.
+
+%files -n %{name}+no-color-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+find -type f -executable -exec chmod -v -x '{}' +
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Nov 30 2020 Fabio Valentini <decathorpe(a)gmail.com> - 1.9.3-1
+- Initial compat package for colored 1
diff --git a/sources b/sources
new file mode 100644
index 0000000..22894b5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (colored-1.9.3.crate) =
72a77360148b960662d62aa63313e235c155c761948ecc67d92f244a99fefc92ad133e1820634358130db841095027cd99b64a79aa6fa41a279e0d5d505aacd6