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=81d9e71b3a1... https://src.fedoraproject.org/cgit/rpms/rust-wide.git/commit/?id=4dc7a758038....
Change: +%ifarch s390x +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 65c476429a822cd018524878286f3b66975bc8bb Author: Rémi Lauzier remilauzier@protonmail.com Date: Tue Jul 6 12:44:54 2021 -0400
Add link
diff --git a/rust-wide.spec b/rust-wide.spec index 8a7c566..55970e5 100644 --- a/rust-wide.spec +++ b/rust-wide.spec @@ -1,5 +1,6 @@ # Generated by rust2rpm 17 # Deactivate tests on s390x as they failed due to endianness problem +# https://github.com/Lokathor/wide/issues/88 %ifarch s390x %bcond_with check %else
commit 81d9e71b3a17f9e359f82a3361919fb8e6bf84eb Author: Rémi Lauzier remilauzier@protonmail.com Date: Tue Jul 6 12:44:23 2021 -0400
Deactivate tests on s390x
diff --git a/rust-wide.spec b/rust-wide.spec index a260f8f..8a7c566 100644 --- a/rust-wide.spec +++ b/rust-wide.spec @@ -1,5 +1,10 @@ # Generated by rust2rpm 17 +# Deactivate tests on s390x as they failed due to endianness problem +%ifarch s390x +%bcond_with check +%else %bcond_without check +%endif %global debug_package %{nil}
%global crate wide
commit 4dc7a7580385e2e90e907da9c6b135466156eb77 Author: Rémi Lauzier remilauzier@protonmail.com Date: Tue Jul 6 12:28:05 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c54600 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wide-0.6.5.crate diff --git a/rust-wide.spec b/rust-wide.spec new file mode 100644 index 0000000..a260f8f --- /dev/null +++ b/rust-wide.spec @@ -0,0 +1,91 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate wide + +Name: rust-%{crate} +Version: 0.6.5 +Release: 1%{?dist} +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 +URL: https://crates.io/crates/wide +Source: %{crates_source} +# Initial patched metadata +# Update safe_arch to 0.6 +# https://github.com/Lokathor/wide/pull/87 +Patch0: wide-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Crate to help you go wide.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-ZLIB.md +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages +which use "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Sat Jun 19 13:36:27 EDT 2021 Rémi Lauzier remilauzier@protonmail.com - 0.6.5-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..7bc7df6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wide-0.6.5.crate) = 581c7be93687196f57c24d3752782e3e0271228cccd81ddce131d2ae0b29928681cd6b7b19509d077e5167372d1b1a3d81475168657df930d3aac34a90656b84 diff --git a/wide-fix-metadata.diff b/wide-fix-metadata.diff new file mode 100644 index 0000000..7770d5e --- /dev/null +++ b/wide-fix-metadata.diff @@ -0,0 +1,11 @@ +--- wide-0.6.5/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ wide-0.6.5/Cargo.toml 2021-06-23T18:02:52.611701+00:00 +@@ -25,7 +25,7 @@ + version = "1" + + [dependencies.safe_arch] +-version = "0.5" ++version = "0.6" + features = ["bytemuck"] + + [features]