diff --git a/.gitignore b/.gitignore index 5643e05..e1b5c55 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /encoding_rs-0.8.28.crate /encoding_rs-0.8.29.crate /encoding_rs-0.8.31.crate +/encoding_rs-0.8.32.crate diff --git a/encoding_rs-fix-metadata.diff b/encoding_rs-fix-metadata.diff index cd16d5b..dbb6443 100644 --- a/encoding_rs-fix-metadata.diff +++ b/encoding_rs-fix-metadata.diff @@ -1,5 +1,5 @@ ---- encoding_rs-0.8.31/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ encoding_rs-0.8.31/Cargo.toml 2022-05-13T20:36:26.125055+00:00 +--- encoding_rs-0.8.32/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ encoding_rs-0.8.32/Cargo.toml 2023-02-03T13:09:52.057066+00:00 @@ -32,17 +32,16 @@ ] license = "(Apache-2.0 OR MIT) AND BSD-3-Clause" diff --git a/rust-encoding_rs.spec b/rust-encoding_rs.spec index 9563e88..8eaef0d 100644 --- a/rust-encoding_rs.spec +++ b/rust-encoding_rs.spec @@ -1,26 +1,23 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate encoding_rs -Name: rust-%{crate} -Version: 0.8.31 +Name: rust-encoding_rs +Version: 0.8.32 Release: %autorelease Summary: Gecko-oriented implementation of the Encoding Standard -# Upstream license specification: (Apache-2.0 OR MIT) AND BSD-3-Clause -# * source code: ASL 2.0 or MIT -# * source code derived from the WHATWG Encoding Standard: BSD 3-Clause License -License: (ASL 2.0 or MIT) and BSD +# * source code: Apache-2.0 OR MIT +# * source code derived from the WHATWG Encoding Standard: BSD-3-Clause +License: (Apache-2.0 OR MIT) AND BSD-3-Clause URL: https://crates.io/crates/encoding_rs Source: %{crates_source} -# Initial patched metadata -# * Drop unneeded script, https://github.com/hsivonen/encoding_rs/pull/38 -# * Drop simd_accel feature / optional packed_simd dependency -Patch0: encoding_rs-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * drop unneeded script: https://github.com/hsivonen/encoding_rs/pull/38 +# * drop simd_accel feature / optional packed_simd_2 dependency +Patch: encoding_rs-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -207,8 +204,7 @@ use the "serde" feature of the "%{crate}" crate. %if %{with check} %check -# * doctests fail to compile on armv7hl with LLVM 14 and on i686 with LLVM 12 -%cargo_test -- --lib +%cargo_test %endif %changelog diff --git a/sources b/sources index 7cd0674..e283832 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (encoding_rs-0.8.31.crate) = a9e582ab63d00bfd17c9f813f886c5908279fe4d23cdd70f79580931f3a0479162b78210a27b113a7bf6fbc4f8d62bbf098ef645d598fe0eaa428639c35cec31 +SHA512 (encoding_rs-0.8.32.crate) = 8a695aedf388dc90b039277fb8a88cd0fe157002554ef478b820e962b6fb19f3fecd5940d0720cc820d07c77e64f7415271a119c87b72c740e6e370ee8cc418a