diff --git a/.gitignore b/.gitignore index 5b5a3cb..e1949e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /grep-searcher-0.1.1.crate +/grep-searcher-0.1.2.crate diff --git a/grep-searcher-fix-metadata.diff b/grep-searcher-fix-metadata.diff index 932fb86..8c8c241 100644 --- a/grep-searcher-fix-metadata.diff +++ b/grep-searcher-fix-metadata.diff @@ -1,17 +1,9 @@ ---- grep-searcher-0.1.1/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ grep-searcher-0.1.1/Cargo.toml 2018-11-27T12:23:40.233095-08:00 -@@ -40,13 +40,9 @@ - version = "2.0.2" +--- grep-searcher-0.1.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ grep-searcher-0.1.2/Cargo.toml 2019-02-10T09:26:02.074666+01:00 +@@ -48,6 +48,4 @@ + version = "1.1" - [dependencies.memmap] --version = "0.6.2" -+version = "0.7" - [dev-dependencies.grep-regex] - version = "0.1.1" - - [dev-dependencies.regex] - version = "1.0.5" -- --[features] --avx-accel = ["bytecount/avx-accel"] --simd-accel = ["bytecount/simd-accel", "encoding_rs/simd-accel"] + [features] +-avx-accel = [] + default = ["bytecount/runtime-dispatch-simd"] +-simd-accel = ["encoding_rs/simd-accel"] diff --git a/rust-grep-searcher.spec b/rust-grep-searcher.spec index 90905f8..e1a3830 100644 --- a/rust-grep-searcher.spec +++ b/rust-grep-searcher.spec @@ -6,32 +6,32 @@ %global crate grep-searcher Name: rust-%{crate} -Version: 0.1.1 -Release: 5%{?dist} +Version: 0.1.2 +Release: 1%{?dist} Summary: Fast line oriented regex searching as a library # Upstream license specification: Unlicense/MIT License: Unlicense or MIT URL: https://crates.io/crates/grep-searcher -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No SIMD -# * bump to memmap 0.7 Patch0: grep-searcher-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(bytecount/default) >= 0.3.2 with crate(bytecount/default) < 0.4.0) -BuildRequires: (crate(encoding_rs/default) >= 0.8.6 with crate(encoding_rs/default) < 0.9.0) -BuildRequires: (crate(encoding_rs_io/default) >= 0.1.2 with crate(encoding_rs_io/default) < 0.2.0) +BuildRequires: (crate(bytecount/default) >= 0.5.0 with crate(bytecount/default) < 0.6.0) +BuildRequires: (crate(bytecount/runtime-dispatch-simd) >= 0.5.0 with crate(bytecount/runtime-dispatch-simd) < 0.6.0) +BuildRequires: (crate(encoding_rs/default) >= 0.8.14 with crate(encoding_rs/default) < 0.9.0) +BuildRequires: (crate(encoding_rs_io/default) >= 0.1.4 with crate(encoding_rs_io/default) < 0.2.0) BuildRequires: (crate(grep-matcher/default) >= 0.1.1 with crate(grep-matcher/default) < 0.2.0) BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0) -BuildRequires: (crate(memchr/default) >= 2.0.2 with crate(memchr/default) < 3.0.0) +BuildRequires: (crate(memchr/default) >= 2.1.0 with crate(memchr/default) < 3.0.0) BuildRequires: (crate(memmap/default) >= 0.7.0 with crate(memmap/default) < 0.8.0) %if %{with check} BuildRequires: (crate(grep-regex/default) >= 0.1.1 with crate(grep-regex/default) < 0.2.0) -BuildRequires: (crate(regex/default) >= 1.0.5 with crate(regex/default) < 2.0.0) +BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0) %endif %global _description \ @@ -66,7 +66,7 @@ which use "default" 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 @@ -81,6 +81,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 0.1.2-1 +- Update to 0.1.2 + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index bb1f3f4..0c45b09 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-searcher-0.1.1.crate) = 523c8f994e01f34c403601795e6fedcc515e89f1f0188d2ced03f21c9abbe2aa61009705e393713b032a6346583f5ef79c722de6c58bca03f88f2ee283b3518c +SHA512 (grep-searcher-0.1.2.crate) = e53f29c3b0102b9d89b014d92993a128401a39dfab75e8ce1b3c19303ed73cecd77356170f5b7ba4bd77b094eef63328a3350d3298c1145c7a5e2834b7d1a799