The package rpms/rust-coolor.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-coolor.git/commit/?id=8999aa....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8999aaac77f3f718851706e660198b61d4e7872e
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon May 1 13:48:55 2023 +0200
Update to version 0.5.1; Fixes RHBZ#2153691
diff --git a/.gitignore b/.gitignore
index 008f879..b89c370 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/coolor-0.3.1.crate
+/coolor-0.5.1.crate
diff --git a/0001-disable-broken-no_std-mode.patch
b/0001-disable-broken-no_std-mode.patch
deleted file mode 100644
index 4caa75c..0000000
--- a/0001-disable-broken-no_std-mode.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 96adcb157537e0775e79ce5224e654b76f3e0cba Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe(a)gmail.com>
-Date: Sun, 13 Feb 2022 17:00:51 +0100
-Subject: [PATCH] disable broken no_std mode
-
----
- src/lib.rs | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 0d66c88..5e6075e 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -17,8 +17,6 @@ The included example shows luminosity and saturation variants of all
240 ANSI co
-
- */
-
--#![no_std]
--
- mod ansi;
- mod color;
- mod error;
---
-2.35.1
-
diff --git a/README.md b/README.md
deleted file mode 100644
index 7c06d02..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-coolor
-
-The rust-coolor package
diff --git a/rust-coolor.spec b/rust-coolor.spec
index bc80e69..553ceca 100644
--- a/rust-coolor.spec
+++ b/rust-coolor.spec
@@ -1,24 +1,19 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate coolor
-Name: rust-%{crate}
-Version: 0.3.1
+Name: rust-coolor
+Version: 0.5.1
Release: %autorelease
Summary: Conversion between color formats
-# Upstream license specification: MIT
License: MIT
URL:
https://crates.io/crates/coolor
Source: %{crates_source}
-# * disable no_std, no_std support is a lie
-Patch1: 0001-disable-broken-no_std-mode.patch
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Conversion between color formats.}
@@ -35,9 +30,10 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md features.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%doc %{crate_instdir}/features.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,7 +45,7 @@ This package contains library source intended for building other
packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+crossterm-devel
Summary: %{summary}
@@ -61,7 +57,7 @@ This package contains library source intended for building other
packages which
use the "crossterm" feature of the "%{crate}" crate.
%files -n %{name}+crossterm-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 0d5e772..a393365 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (coolor-0.3.1.crate) =
18efa3d1a96839d0e0007d674e1a8dde5ee00068877c6e8165db93f5605775de01ab1c3879628300eadabc50da23c3f5c9a2e94c31f77bc37cef1d69cf44293d
+SHA512 (coolor-0.5.1.crate) =
dbf0884308fc1d0217ad4f31c355e82096ff58bab0d29c1a227fb059935f8f2dcad41bf6c02debccff98aac6c4b69944aefa160b73aa57b5f71bcae806d3ca78