The package rpms/rust-termcolor.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-termcolor.git/commit/?id=375....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 375006d6a2feb2beba310261d45c338d9638bf1a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jan 30 00:12:51 2023 +0100
Update to version 1.2.0; Fixes RHBZ#2161057
diff --git a/.gitignore b/.gitignore
index d1789fd..c4f6719 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/termcolor-1.1.1.crate
/termcolor-1.1.2.crate
/termcolor-1.1.3.crate
+/termcolor-1.2.0.crate
diff --git a/rust-termcolor.spec b/rust-termcolor.spec
index 7e695de..d2d345c 100644
--- a/rust-termcolor.spec
+++ b/rust-termcolor.spec
@@ -1,23 +1,19 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate termcolor
-Name: rust-%{crate}
-Version: 1.1.3
+Name: rust-termcolor
+Version: 1.2.0
Release: %autorelease
Summary: Simple cross platform library for writing colored text to a terminal
-# Upstream license specification: Unlicense OR MIT
-License: Unlicense or MIT
+License: Unlicense OR MIT
URL:
https://crates.io/crates/termcolor
Source: %{crates_source}
-# Initial patched metadata
-# * drop Windows-specific dependencies
-Patch0: termcolor-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
+# Automatically generated patch to strip foreign dependencies
+Patch: termcolor-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
diff --git a/sources b/sources
index 5b17e40..beb3376 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (termcolor-1.1.3.crate) =
5838fcbfd70f300cb4b62aab50565db52074c56b152ccc8ac1173e4676c0d5a636271bf5a645a77da6e1d4edbf0091af2cd4dd6d73b85c3d198c760898c06f3a
+SHA512 (termcolor-1.2.0.crate) =
cf1896523353390b2f90b2a8bf30f47da5fc7c2daa635bd0cd8059bdc73feb243e46e4279562fe45d5726f2840833b1e967c7de19ffc0c853592d9f86c0c1be7
diff --git a/termcolor-fix-metadata-auto.diff b/termcolor-fix-metadata-auto.diff
new file mode 100644
index 0000000..d93b30f
--- /dev/null
+++ b/termcolor-fix-metadata-auto.diff
@@ -0,0 +1,8 @@
+--- termcolor-1.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ termcolor-1.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -36,5 +36,3 @@
+
+ [dev-dependencies]
+
+-[target."cfg(windows)".dependencies.winapi-util]
+-version = "0.1.3"
diff --git a/termcolor-fix-metadata.diff b/termcolor-fix-metadata.diff
deleted file mode 100644
index ca9710f..0000000
--- a/termcolor-fix-metadata.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- termcolor-1.1.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ termcolor-1.1.3/Cargo.toml 2022-03-05T20:13:51.938496+00:00
-@@ -38,6 +38,3 @@
- [lib]
- name = "termcolor"
- bench = false
--
--[target."cfg(windows)".dependencies.winapi-util]
--version = "0.1.3"
commit ef1bee6037573b23a6da81c3723d2f4c25226d2e
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 01:44:21 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit fe8a85d55caf09c19a8b7979dfa9ad6ed23db0f8
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 07:01:19 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>