The package rpms/rust-wide.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-wide.git/commit/?id=6633b7e9....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 6633b7e94c691d8e84d18975c8d2fa518ff1b0ad
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sat Oct 8 16:47:38 2022 +0200
Update to version 0.7.5; Fixes RHBZ#2132886
diff --git a/.gitignore b/.gitignore
index b6c73fc..f724339 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/wide-0.7.2.crate
/wide-0.7.3.crate
/wide-0.7.4.crate
+/wide-0.7.5.crate
diff --git a/rust-wide.spec b/rust-wide.spec
index 3b19911..1cd1406 100644
--- a/rust-wide.spec
+++ b/rust-wide.spec
@@ -1,28 +1,21 @@
-# Generated by rust2rpm 20
-# Deactivate tests on s390x as they failed due to endianness problem
-#
https://github.com/Lokathor/wide/issues/88
-%ifarch s390x
-%bcond_with check
-%else
+# Generated by rust2rpm 22
%bcond_without check
-%endif
%global debug_package %{nil}
%global crate wide
-Name: rust-%{crate}
-Version: 0.7.4
+Name: rust-wide
+Version: 0.7.5
Release: %autorelease
Summary: Crate to help you go wide
-# Upstream license specification: Zlib OR Apache-2.0 OR MIT
-License: zlib or ASL 2.0 or MIT
+License: Zlib OR Apache-2.0 OR MIT
URL:
https://crates.io/crates/wide
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Crate to help you go wide.}
@@ -39,9 +32,9 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE-ZLIB.md
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-ZLIB.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -53,7 +46,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}+std-devel
Summary: %{summary}
@@ -65,7 +58,7 @@ This package contains library source intended for building other
packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@@ -82,8 +75,14 @@ use the "std" feature of the "%{crate}" crate.
%if %{with check}
%check
+%ifarch s390x
+# * skip a test that fails due to endianness issues:
+#
https://github.com/Lokathor/wide/issues/88
+%cargo_test -- -- --skip test_software_sqrt
+%else
%cargo_test
%endif
+%endif
%changelog
%autochangelog
diff --git a/sources b/sources
index 2537cd9..fc9364a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wide-0.7.4.crate) =
2a734974ce336a556e60dc6bada943d2920477e95fa444ef3f566e6e1a281fa03446fd8de4a6614cef05487ffe3b559a4ce99cfd6934022170c98563a9f7e8e4
+SHA512 (wide-0.7.5.crate) =
8f83aef8ad2c6539e4ed1478ef818ef9b4d83fc2417037fe633749f75e23a5b4b373fa6527ddd9cc1eb1fc864f5eeda960dc6e9b5310204d08c2140530a48d4a