diff --git a/.gitignore b/.gitignore index caf4044..4f14195 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /unicase-2.1.0.crate +/unicase-2.2.0.crate diff --git a/0001-Allow-the-deprecated-AsciiExt.patch b/0001-Allow-the-deprecated-AsciiExt.patch deleted file mode 100644 index 836e22f..0000000 --- a/0001-Allow-the-deprecated-AsciiExt.patch +++ /dev/null @@ -1,36 +0,0 @@ -From dfd4936eb09ecc6cd5c5d79254aa6fdfe35a4667 Mon Sep 17 00:00:00 2001 -From: Josh Stone -Date: Wed, 16 May 2018 16:29:24 -0700 -Subject: [PATCH] Allow the deprecated AsciiExt - ---- - src/ascii.rs | 2 +- - src/lib.rs | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/ascii.rs b/src/ascii.rs -index 745ea04bbcec..885e2703fed9 100644 ---- a/src/ascii.rs -+++ b/src/ascii.rs -@@ -1,4 +1,4 @@ --#[allow(unused)] -+#[allow(deprecated, unused)] - use std::ascii::AsciiExt; - #[cfg(__unicase__iter_cmp)] - use std::cmp::Ordering; -diff --git a/src/lib.rs b/src/lib.rs -index 5290d50cbde7..5998fb1b8ccc 100644 ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -111,7 +111,7 @@ impl> UniCase { - /// - /// Note: This scans the text to determine if it is all ASCII or not. - pub fn new(s: S) -> UniCase { -- #[allow(unused)] -+ #[allow(deprecated, unused)] - use std::ascii::AsciiExt; - if s.as_ref().is_ascii() { - UniCase(Encoding::Ascii(Ascii(s))) --- -2.17.0 - diff --git a/rust-unicase.spec b/rust-unicase.spec index a6962ee..8cba4b7 100644 --- a/rust-unicase.spec +++ b/rust-unicase.spec @@ -5,17 +5,15 @@ %global crate unicase Name: rust-%{crate} -Version: 2.1.0 -Release: 5%{?dist} +Version: 2.2.0 +Release: 1%{?dist} Summary: Case-insensitive wrapper around strings +# Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/unicase Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# https://github.com/seanmonstar/unicase/pull/24 -Patch1: 0001-Allow-the-deprecated-AsciiExt.patch - ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging @@ -57,6 +55,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/scripts %changelog +* Fri Oct 05 2018 Josh Stone - 2.2.0-1 +- Update to 2.2.0 + * Sat Jul 14 2018 Fedora Release Engineering - 2.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 4d4fa50..377795a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unicase-2.1.0.crate) = 422a3424266e262e283ca5af6247ec393670af8e214c4e7d1c389bc827c7572c57ea865449a7d6a834d56cda0ee13a2bd5f3985087cae2369e612f239e8498a7 +SHA512 (unicase-2.2.0.crate) = 7aad01e881c18536d1f758303661d9ddeaecdccd13c7e41ae2f11f7d1030fe36dd164234aa1b4a9ef3c0e4dd847f451423a80b68e80c17663286b9c803de20c7