The package rpms/rust-cpufeatures.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-cpufeatures.git/commit/?id=f5a0....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit f5a0f8645aaf2d9c8a71eff9296ef50e80de644d Author: Fabio Valentini decathorpe@gmail.com Date: Sun Mar 26 17:56:14 2023 +0200
Update to version 0.2.6; Fixes RHBZ#2181694
diff --git a/.gitignore b/.gitignore index d367e83..30d9367 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /cpufeatures-0.2.2.crate /cpufeatures-0.2.3.crate /cpufeatures-0.2.5.crate +/cpufeatures-0.2.6.crate diff --git a/README.md b/README.md deleted file mode 100644 index 4027a2c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-cpufeatures - -The rust-cpufeatures package diff --git a/cpufeatures-fix-metadata-auto.diff b/cpufeatures-fix-metadata-auto.diff new file mode 100644 index 0000000..85bdd4d --- /dev/null +++ b/cpufeatures-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- cpufeatures-0.2.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cpufeatures-0.2.6/Cargo.toml 2023-03-26T15:53:32.337175+00:00 +@@ -37,5 +37,3 @@ + [target."cfg(all(target_arch = "aarch64", target_os = "linux"))".dependencies.libc] + version = "0.2.95" + +-[target."cfg(all(target_arch = "aarch64", target_vendor = "apple"))".dependencies.libc] +-version = "0.2.95" diff --git a/cpufeatures-fix-metadata.diff b/cpufeatures-fix-metadata.diff index f86fde2..f00754a 100644 --- a/cpufeatures-fix-metadata.diff +++ b/cpufeatures-fix-metadata.diff @@ -1,14 +1,12 @@ ---- cpufeatures-0.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ cpufeatures-0.2.5/Cargo.toml 2022-09-05T13:59:56.996739+00:00 -@@ -28,11 +28,5 @@ +--- cpufeatures-0.2.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cpufeatures-0.2.6/Cargo.toml 2023-03-26T15:53:55.541235+00:00 +@@ -31,9 +31,6 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/RustCrypto/utils"
--[target.aarch64-apple-darwin.dependencies.libc] --version = "0.2.95" -- -[target.aarch64-linux-android.dependencies.libc] -version = "0.2.95" - [target."cfg(all(target_arch = "aarch64", target_os = "linux"))".dependencies.libc] version = "0.2.95" + diff --git a/rust-cpufeatures.spec b/rust-cpufeatures.spec index 2599d83..c615eea 100644 --- a/rust-cpufeatures.spec +++ b/rust-cpufeatures.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil}
@@ -8,24 +8,25 @@ %global supported_arches x86_64 aarch64 %{ix86}
Name: rust-cpufeatures -Version: 0.2.5 +Version: 0.2.6 Release: %autorelease Summary: Lightweight runtime CPU feature detection
License: MIT OR Apache-2.0 URL: https://crates.io/crates/cpufeatures Source: %{crates_source} +# Automatically generated patch to strip foreign dependencies +Patch: cpufeatures-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * drop Apple- and Android-specific dependencies +# * drop Android-specific dependencies Patch: cpufeatures-fix-metadata.diff
-ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21
%global _description %{expand: -Lightweight runtime CPU feature detection for x86/x86_64 and aarch64 with -no_std support and support for mobile targets including Android and iOS.} +Lightweight runtime CPU feature detection for x86/x86_64 and aarch64 +with no_std support and support for mobile targets including Android and +iOS.}
%description %{_description}
diff --git a/sources b/sources index 0400e61..1babe40 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cpufeatures-0.2.5.crate) = d02327a27ca9fc3c587dcbd10da6b1370671cd7b1df8dfc9078b47180744d0572ef41a7ec205ae9f1c571e5b7f4bc81278ab4c6b076c6ccac0167100e346e74e +SHA512 (cpufeatures-0.2.6.crate) = 2b3ff21b38f61966ec63b56030c057a4eb3ce261c739c6bc6349dc0da6f6b31d06393db792696cce79950c68576bdc0ef2bf1c2ee0f456eae165af40f22c5dcd
commit 8710bebea3433b6d60f73a31dfcc01460d48fca9 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 20 22:13:08 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org