From 634d1c47760da38c1d29dd3909916c0cd21cfc0f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 10 2019 08:05:25 +0000 Subject: Update to 0.8.16 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 74e7798..39dc0ba 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /encoding_rs-0.8.13.crate /encoding_rs-0.8.14.crate /encoding_rs-0.8.15.crate +/encoding_rs-0.8.16.crate diff --git a/encoding_rs-fix-metadata.diff b/encoding_rs-fix-metadata.diff index 93fe303..7da415d 100644 --- a/encoding_rs-fix-metadata.diff +++ b/encoding_rs-fix-metadata.diff @@ -1,6 +1,6 @@ ---- encoding_rs-0.8.11/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ encoding_rs-0.8.11/Cargo.toml 2018-11-16T10:43:43.010025-08:00 -@@ -22,6 +22,7 @@ +--- encoding_rs-0.8.16/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ encoding_rs-0.8.16/Cargo.toml 2019-02-10T09:03:40.658124+01:00 +@@ -22,14 +22,11 @@ categories = ["text-processing", "encoding", "web-programming", "internationalization"] license = "MIT/Apache-2.0" repository = "https://github.com/hsivonen/encoding_rs" @@ -8,20 +8,18 @@ [profile.release] lto = true [dependencies.cfg-if] -@@ -31,9 +32,6 @@ - version = "1.0" - optional = true - --[dependencies.simd] --version = "0.2.3" + version = "0.1.0" +- +-[dependencies.packed_simd] +-version = "0.3.3" -optional = true - [dev-dependencies.bincode] - version = "0.8" -@@ -53,6 +51,5 @@ + [dependencies.serde] + version = "1.0" +@@ -53,6 +50,5 @@ less-slow-big5-hanzi-encode = [] less-slow-gb-hanzi-encode = [] less-slow-kanji-encode = [] --simd-accel = ["simd"] +-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 7114189..e8c80fc 100644 --- a/rust-encoding_rs.spec +++ b/rust-encoding_rs.spec @@ -6,8 +6,8 @@ %global crate encoding_rs Name: rust-%{crate} -Version: 0.8.15 -Release: 2%{?dist} +Version: 0.8.16 +Release: 1%{?dist} Summary: Gecko-oriented implementation of the Encoding Standard # Upstream license specification: MIT/Apache-2.0 @@ -61,6 +61,78 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+fast-big5-hanzi-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-big5-hanzi-encode-devel %{_description} + +This package contains library source intended for building other packages +which use "fast-big5-hanzi-encode" feature of "%{crate}" crate. + +%files -n %{name}+fast-big5-hanzi-encode-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+fast-gb-hanzi-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-gb-hanzi-encode-devel %{_description} + +This package contains library source intended for building other packages +which use "fast-gb-hanzi-encode" feature of "%{crate}" crate. + +%files -n %{name}+fast-gb-hanzi-encode-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+fast-hangul-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-hangul-encode-devel %{_description} + +This package contains library source intended for building other packages +which use "fast-hangul-encode" feature of "%{crate}" crate. + +%files -n %{name}+fast-hangul-encode-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+fast-hanja-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-hanja-encode-devel %{_description} + +This package contains library source intended for building other packages +which use "fast-hanja-encode" feature of "%{crate}" crate. + +%files -n %{name}+fast-hanja-encode-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+fast-kanji-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-kanji-encode-devel %{_description} + +This package contains library source intended for building other packages +which use "fast-kanji-encode" feature of "%{crate}" crate. + +%files -n %{name}+fast-kanji-encode-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+fast-legacy-encode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-legacy-encode-devel %{_description} + +This package contains library source intended for building other packages +which use "fast-legacy-encode" feature of "%{crate}" crate. + +%files -n %{name}+fast-legacy-encode-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+less-slow-big5-hanzi-encode-devel Summary: %{summary} BuildArch: noarch @@ -110,7 +182,7 @@ which use "serde" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -125,6 +197,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 0.8.16-1 +- Update to 0.8.16 + * Sat Feb 02 2019 Fedora Release Engineering - 0.8.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index a4001a5..bd3e04f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (encoding_rs-0.8.15.crate) = a2be7651fddf3a9f525f49cfd02e827484ce96a4c50412be23f69254ac9ac5c38f90b54e87b7779664610584abd59a93565779a2fe38b4cb49190bc360b143a2 +SHA512 (encoding_rs-0.8.16.crate) = 7be6880457a469e371f0d59f4b7284790e923b95aa056e6543a7dfdee65fc2e085e24f112fb171718f591337651933440a527f49fa5d62f3e48dd021239245fd