|
|
@ -1,26 +1,23 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate encoding_rs
|
|
|
|
%global crate encoding_rs
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-encoding_rs
|
|
|
|
Version: 0.8.31
|
|
|
|
Version: 0.8.32
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Gecko-oriented implementation of the Encoding Standard
|
|
|
|
Summary: Gecko-oriented implementation of the Encoding Standard
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: (Apache-2.0 OR MIT) AND BSD-3-Clause
|
|
|
|
# * source code: Apache-2.0 OR MIT
|
|
|
|
# * source code: ASL 2.0 or MIT
|
|
|
|
# * source code derived from the WHATWG Encoding Standard: BSD-3-Clause
|
|
|
|
# * source code derived from the WHATWG Encoding Standard: BSD 3-Clause License
|
|
|
|
License: (Apache-2.0 OR MIT) AND BSD-3-Clause
|
|
|
|
License: (ASL 2.0 or MIT) and BSD
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/encoding_rs
|
|
|
|
URL: https://crates.io/crates/encoding_rs
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * Drop unneeded script, https://github.com/hsivonen/encoding_rs/pull/38
|
|
|
|
# * drop unneeded script: https://github.com/hsivonen/encoding_rs/pull/38
|
|
|
|
# * Drop simd_accel feature / optional packed_simd dependency
|
|
|
|
# * drop simd_accel feature / optional packed_simd_2 dependency
|
|
|
|
Patch0: encoding_rs-fix-metadata.diff
|
|
|
|
Patch: encoding_rs-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
@ -207,8 +204,7 @@ use the "serde" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# * doctests fail to compile on armv7hl with LLVM 14 and on i686 with LLVM 12
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test -- --lib
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|