diff --git a/.gitignore b/.gitignore index 1b8c62a..331d298 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /globset-0.4.0.crate /globset-0.4.1.crate /globset-0.4.2.crate +/globset-0.4.3.crate diff --git a/rust-globset.spec b/rust-globset.spec index 9939ce3..00bbd03 100644 --- a/rust-globset.spec +++ b/rust-globset.spec @@ -6,29 +6,25 @@ %global crate globset Name: rust-%{crate} -Version: 0.4.2 -Release: 4%{?dist} +Version: 0.4.3 +Release: 1%{?dist} Summary: Single glob and glob set matching # Upstream license specification: Unlicense/MIT License: Unlicense or MIT URL: https://crates.io/crates/globset Source: %{crates_source} -# Initial patched metadata -# * Update to aho-corasick 0.7: https://github.com/BurntSushi/ripgrep/commit/cd9815cb376e4679af93a90a964cdb78173318da -Patch0: globset-fix-metadata.diff -Patch1: 0001-deps-update-to-aho-corasick-0.7.patch ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(aho-corasick/default) >= 0.7.3 with crate(aho-corasick/default) < 0.8.0) +BuildRequires: (crate(bstr/std) >= 0.1.2 with crate(bstr/std) < 0.2.0) BuildRequires: (crate(fnv/default) >= 1.0.6 with crate(fnv/default) < 2.0.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(regex/default) >= 1.0.5 with crate(regex/default) < 2.0.0) +BuildRequires: (crate(regex/default) >= 1.1.5 with crate(regex/default) < 2.0.0) %if %{with check} -BuildRequires: (crate(glob/default) >= 0.2.11 with crate(glob/default) < 0.3.0) +BuildRequires: (crate(glob/default) >= 0.3.0 with crate(glob/default) < 0.4.0) %endif %global _description \ @@ -77,9 +73,7 @@ which use "simd-accel" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -N -%patch0 -p1 -%patch1 -p2 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -94,6 +88,9 @@ which use "simd-accel" feature of "%{crate}" crate. %endif %changelog +* Tue Apr 16 12:29:32 CEST 2019 Igor Gnatenko - 0.4.3-1 +- Update to 0.4.3 + * Wed Apr 03 2019 Josh Stone - 0.4.2-4 - Update to aho-corasick 0.7 diff --git a/sources b/sources index fae64a0..9010e0d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (globset-0.4.2.crate) = 53b8d9cce33258882b8ad2bff526b31a94322742553ac2d01e41693a333947e0ed9d8a3c98f3ca2131731eb50935eec8f1f7b161338cf3cd10cb1a9f722570a6 +SHA512 (globset-0.4.3.crate) = 255ffa4234c7014fc1de961fabb2a8b8f3285d72f84ac03d89f613467594767ef424b84bccaa4c68ae289ae603de189ddd4c44b0d156680aed1252ef961f748c