The package rpms/rust-chbs.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-chbs.git/commit/?id=88830ef2....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 88830ef2bd558cd376467c158319fa58960407a9
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Jan 17 16:13:40 2023 +0100
Bump derive_builder from 0.10 to 0.11
diff --git a/chbs-fix-metadata-auto.diff b/chbs-fix-metadata-auto.diff
new file mode 100644
index 0000000..ff921db
--- /dev/null
+++ b/chbs-fix-metadata-auto.diff
@@ -0,0 +1,9 @@
+--- chbs-0.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ chbs-0.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -41,6 +41,3 @@
+ [dependencies.thiserror]
+ version = "1.0.31"
+
+-[target."cfg(target_arch = \"wasm32\")".dependencies.getrandom]
+-version = "0.2"
+-features = ["js"]
diff --git a/chbs-fix-metadata.diff b/chbs-fix-metadata.diff
index a54f38e..d0edcad 100644
--- a/chbs-fix-metadata.diff
+++ b/chbs-fix-metadata.diff
@@ -1,10 +1,11 @@
--- chbs-0.1.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ chbs-0.1.1/Cargo.toml 2022-07-22T10:15:02.071269+00:00
-@@ -40,7 +40,3 @@
++++ chbs-0.1.1/Cargo.toml 2023-01-17T15:08:25.177357+00:00
+@@ -33,7 +33,7 @@
+ targets = ["x86_64-unknown-linux-gnu"]
- [dependencies.thiserror]
- version = "1.0.31"
--
--[target."cfg(target_arch = \"wasm32\")".dependencies.getrandom]
--version = "0.2"
--features = ["js"]
+ [dependencies.derive_builder]
+-version = "0.10"
++version = "0.11"
+
+ [dependencies.rand]
+ version = "0.8"
diff --git a/rust-chbs.spec b/rust-chbs.spec
index 71a9698..28f051f 100644
--- a/rust-chbs.spec
+++ b/rust-chbs.spec
@@ -1,23 +1,22 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate chbs
-Name: rust-%{crate}
+Name: rust-chbs
Version: 0.1.1
Release: %autorelease
Summary: Secure passphrase generation based on a wordlist
-# Upstream license specification: MIT
License: MIT
URL:
https://crates.io/crates/chbs
Source: %{crates_source}
-# Initial patched metadata
-# * drop WASM-specific dependencies
-Patch0: chbs-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
+# Automatically generated patch to strip foreign dependencies
+Patch: chbs-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * bump derive_builder from 0.10 to 0.11
+Patch: chbs-fix-metadata.diff
BuildRequires: rust-packaging >= 21