From 70835ce60b3f7be72bbab5cacc94b0e4b85e56fd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 12 2018 07:11:55 +0000 Subject: Update to 1.0.0 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 55c8381..537153a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /regex-0.2.9.crate /regex-0.2.10.crate /regex-0.2.11.crate +/regex-1.0.0.crate diff --git a/regex-0.2.9-fix-metadata.diff b/regex-0.2.9-fix-metadata.diff deleted file mode 100644 index 40d3505..0000000 --- a/regex-0.2.9-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- regex-0.2.9/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ regex-0.2.9/Cargo.toml 2018-03-13T21:59:01.505611-07:00 -@@ -92,7 +92,6 @@ - default = [] - pattern = [] - simd-accel = [] --unstable = ["pattern"] - [badges.appveyor] - repository = "rust-lang-libs/regex" - diff --git a/regex-1.0.0-fix-metadata.diff b/regex-1.0.0-fix-metadata.diff new file mode 100644 index 0000000..f0ba4d1 --- /dev/null +++ b/regex-1.0.0-fix-metadata.diff @@ -0,0 +1,11 @@ +--- regex-1.0.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ regex-1.0.0/Cargo.toml 2018-06-12T09:11:14.376548+02:00 +@@ -90,8 +90,6 @@ + + [features] + default = ["use_std"] +-pattern = [] +-unstable = ["pattern"] + use_std = [] + [badges.appveyor] + repository = "rust-lang-libs/regex" diff --git a/rust-regex.spec b/rust-regex.spec index 6335a64..26a241f 100644 --- a/rust-regex.spec +++ b/rust-regex.spec @@ -6,7 +6,7 @@ %global crate regex Name: rust-%{crate} -Version: 0.2.11 +Version: 1.0.0 Release: 1%{?dist} Summary: Implementation of regular expressions for Rust @@ -14,8 +14,8 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/regex Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * unstable features require nightly -Patch0: regex-0.2.9-fix-metadata.diff +# * No unstable features +Patch0: regex-1.0.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -23,7 +23,7 @@ BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(aho-corasick) >= 0.6.0 with crate(aho-corasick) < 0.7.0) BuildRequires: (crate(memchr) >= 2.0.0 with crate(memchr) < 3.0.0) -BuildRequires: (crate(regex-syntax) >= 0.5.6 with crate(regex-syntax) < 0.6.0) +BuildRequires: (crate(regex-syntax) >= 0.6.0 with crate(regex-syntax) < 0.7.0) BuildRequires: (crate(thread_local) >= 0.3.2 with crate(thread_local) < 0.4.0) BuildRequires: (crate(utf8-ranges) >= 1.0.0 with crate(utf8-ranges) < 2.0.0) %if %{with check} @@ -69,6 +69,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts} %changelog +* Tue Jun 12 2018 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + * Tue May 01 2018 Josh Stone - 0.2.11-1 - Update to 0.2.11 diff --git a/sources b/sources index ffa7f9e..31599a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-0.2.11.crate) = e0f48ab9a692f7ebd83a21bc70060aed0a7dccc9aaaef6995262fa4e2e33f4404a04a217588b72025820b1a0e4697c076ad47a017e7c51cdd4b6c1909c015ead +SHA512 (regex-1.0.0.crate) = 857e7406415c4f212c79384a0b2b6365615b9f49a4493146028b04fee3b6438a68fb57b08e77e041f776476fa71c50399508ce0c8c0c53069d125a5c8ec055ad