From fc0912bbf1e2084a85637a8dc0a3ea0a186b1713 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Oct 04 2018 12:24:04 +0000 Subject: Update to 0.8.9 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index c4f5592..795392e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /encoding_rs-0.8.6.crate /encoding_rs-0.8.7.crate /encoding_rs-0.8.8.crate +/encoding_rs-0.8.9.crate diff --git a/encoding_rs-0.8.4-fix-metadata.diff b/encoding_rs-0.8.4-fix-metadata.diff deleted file mode 100644 index 3180de4..0000000 --- a/encoding_rs-0.8.4-fix-metadata.diff +++ /dev/null @@ -1,19 +0,0 @@ ---- encoding_rs-0.8.4/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ encoding_rs-0.8.4/Cargo.toml 2018-07-29T08:50:48.724986+02:00 -@@ -31,9 +31,6 @@ - version = "1.0" - optional = true - --[dependencies.simd] --version = "0.2.2" --optional = true - [dev-dependencies.bincode] - version = "0.8" - -@@ -47,6 +44,5 @@ - less-slow-big5-hanzi-encode = [] - less-slow-gb-hanzi-encode = [] - less-slow-kanji-encode = [] --simd-accel = ["simd"] - [badges.travis-ci] - repository = "hsivonen/encoding_rs" diff --git a/encoding_rs-fix-metadata.diff b/encoding_rs-fix-metadata.diff new file mode 100644 index 0000000..0d17e26 --- /dev/null +++ b/encoding_rs-fix-metadata.diff @@ -0,0 +1,27 @@ +--- encoding_rs-0.8.9/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ encoding_rs-0.8.9/Cargo.toml 2018-10-04T14:22:20.275790+02:00 +@@ -22,6 +22,7 @@ + categories = ["text-processing", "encoding", "web-programming", "email"] + license = "MIT/Apache-2.0" + repository = "https://github.com/hsivonen/encoding_rs" ++exclude = ["/generate-encoding-data.py"] + [profile.release] + lto = true + [dependencies.cfg-if] +@@ -31,9 +32,6 @@ + version = "1.0" + optional = true + +-[dependencies.simd] +-version = "0.2.3" +-optional = true + [dev-dependencies.bincode] + version = "0.8" + +@@ -47,6 +45,5 @@ + less-slow-big5-hanzi-encode = [] + less-slow-gb-hanzi-encode = [] + less-slow-kanji-encode = [] +-simd-accel = ["simd"] + [badges.travis-ci] + repository = "hsivonen/encoding_rs" diff --git a/rust-encoding_rs.spec b/rust-encoding_rs.spec index b21a166..435a731 100644 --- a/rust-encoding_rs.spec +++ b/rust-encoding_rs.spec @@ -6,7 +6,7 @@ %global crate encoding_rs Name: rust-%{crate} -Version: 0.8.8 +Version: 0.8.9 Release: 1%{?dist} Summary: Gecko-oriented implementation of the Encoding Standard @@ -16,7 +16,8 @@ URL: https://crates.io/crates/encoding_rs Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No simd -Patch0: encoding_rs-0.8.4-fix-metadata.diff +# * Drop unneeded script, https://github.com/hsivonen/encoding_rs/pull/38 +Patch0: encoding_rs-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -63,9 +64,11 @@ which use %{crate} from crates.io. %license COPYRIGHT LICENSE-MIT LICENSE-APACHE %doc README.md CONTRIBUTING.md Ideas.md %{cargo_registry}/%{crate}-%{version}/ -%exclude %{cargo_registry}/%{crate}-%{version}/generate-encoding-data.py* %changelog +* Thu Oct 04 2018 Igor Gnatenko - 0.8.9-1 +- Update to 0.8.9 + * Mon Oct 01 2018 Josh Stone - 0.8.8-1 - Update to 0.8.8 diff --git a/sources b/sources index 1768d84..2168efa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (encoding_rs-0.8.8.crate) = 92dcb4ab4b92e84632a5a09d6689642d760f825390dcebb0ce49769fface128a568df441a2d10f6c67a9889c96cd8aaec9cd9640cf1fa5c054ace1cb9417ca5c +SHA512 (encoding_rs-0.8.9.crate) = 7cd356e9696c8fc05dd94e6b60dc4b2201af1521ee1a82a80a3082c8e36d3a1611b697d652802e9bd5f042084ac426934ef94ab452e185369a37cb86002bec4b