diff --git a/.gitignore b/.gitignore index 07b5fd0..1c04f59 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /encoding_rs-0.8.22.crate /encoding_rs-0.8.23.crate /encoding_rs-0.8.24.crate +/encoding_rs-0.8.26.crate diff --git a/encoding_rs-fix-metadata.diff b/encoding_rs-fix-metadata.diff index 214b54f..d10c771 100644 --- a/encoding_rs-fix-metadata.diff +++ b/encoding_rs-fix-metadata.diff @@ -1,6 +1,6 @@ ---- encoding_rs-0.8.23/Cargo.toml 2020-05-13T07:08:46+00:00 -+++ encoding_rs-0.8.23/Cargo.toml 2020-05-13T18:14:06.985355+00:00 -@@ -22,6 +22,7 @@ +--- encoding_rs-0.8.26/Cargo.toml 2020-11-02T14:25:34+00:00 ++++ encoding_rs-0.8.26/Cargo.toml 2020-11-05T21:43:51.103979+00:00 +@@ -23,15 +23,11 @@ categories = ["text-processing", "encoding", "web-programming", "internationalization"] license = "Apache-2.0 OR MIT" repository = "https://github.com/hsivonen/encoding_rs" @@ -8,3 +8,19 @@ [profile.release] lto = true [dependencies.cfg-if] + version = "1.0" +- +-[dependencies.packed_simd] +-version = "0.3.4" +-optional = true +-package = "packed_simd_2" + + [dependencies.serde] + version = "1.0" +@@ -55,6 +51,5 @@ + less-slow-big5-hanzi-encode = [] + less-slow-gb-hanzi-encode = [] + less-slow-kanji-encode = [] +-simd-accel = ["packed_simd", "packed_simd/into_bits"] + [badges.travis-ci] + repository = "hsivonen/encoding_rs" diff --git a/rust-encoding_rs.spec b/rust-encoding_rs.spec index 263b643..d24f51b 100644 --- a/rust-encoding_rs.spec +++ b/rust-encoding_rs.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate encoding_rs Name: rust-%{crate} -Version: 0.8.24 +Version: 0.8.26 Release: 1%{?dist} Summary: Gecko-oriented implementation of the Encoding Standard @@ -15,6 +15,7 @@ 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} @@ -163,18 +164,6 @@ which use "less-slow-kanji-encode" feature of "%{crate}" crate. %files -n %{name}+less-slow-kanji-encode-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+packed_simd-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+packed_simd-devel %{_description} - -This package contains library source intended for building other packages -which use "packed_simd" feature of "%{crate}" crate. - -%files -n %{name}+packed_simd-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -187,18 +176,6 @@ which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+simd-accel-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+simd-accel-devel %{_description} - -This package contains library source intended for building other packages -which use "simd-accel" feature of "%{crate}" crate. - -%files -n %{name}+simd-accel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -218,6 +195,10 @@ which use "simd-accel" feature of "%{crate}" crate. %endif %changelog +* Thu Nov 05 2020 Fabio Valentini - 0.8.26-1 +- Update to version 0.8.26. +- Fixes RHBZ#1893632 + * Wed Aug 26 2020 Josh Stone - 0.8.24-1 - Update to 0.8.24 diff --git a/sources b/sources index 11ec053..142384e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (encoding_rs-0.8.24.crate) = bf94cff1b1a6e70b73d39aa531ab2f7de130a8fbe20726fb97d502a20cce6de3571a1f306f0f8bd6aa90ae535ca874377ef3db2d3669fa97cc12878155d527e0 +SHA512 (encoding_rs-0.8.26.crate) = afd43eacfbab52b0600e90772e13d83e68523650682d72fb378c3ce7605bf7e3d6bfc4187d0f9b1c0678984670f06ff83cec0c2d9c02828395ea88d2a41519fd