diff --git a/.gitignore b/.gitignore index 8086bd3..ca67ae0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /ignore-0.3.1.crate +/ignore-0.4.0.crate diff --git a/ignore-0.3.1-fix-metadata.diff b/ignore-0.3.1-fix-metadata.diff deleted file mode 100644 index 196837b..0000000 --- a/ignore-0.3.1-fix-metadata.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- ignore-0.3.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ ignore-0.3.1/Cargo.toml 2017-11-30T19:29:33.212907+01:00 -@@ -28,7 +28,7 @@ - name = "ignore" - bench = false - [dependencies.lazy_static] --version = "0.2" -+version = "1" - - [dependencies.same-file] - version = "1" -@@ -37,7 +37,7 @@ - version = "0.3.2" - - [dependencies.crossbeam] --version = "0.2" -+version = "0.3" - - [dependencies.regex] - version = "0.2.1" -@@ -57,4 +57,3 @@ - version = "0.3.5" - - [features] --simd-accel = ["globset/simd-accel"] diff --git a/ignore-0.4.0-fix-metadata.diff b/ignore-0.4.0-fix-metadata.diff new file mode 100644 index 0000000..8652b76 --- /dev/null +++ b/ignore-0.4.0-fix-metadata.diff @@ -0,0 +1,10 @@ +--- ignore-0.4.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ ignore-0.4.0/Cargo.toml 2018-02-12T16:22:26.024260+01:00 +@@ -55,7 +55,3 @@ + version = "0.3.5" + + [features] +-simd-accel = ["globset/simd-accel"] +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["std", "winnt"] diff --git a/rust-ignore.spec b/rust-ignore.spec index b6bad42..37a7014 100644 --- a/rust-ignore.spec +++ b/rust-ignore.spec @@ -5,8 +5,8 @@ %global crate ignore Name: rust-%{crate} -Version: 0.3.1 -Release: 5%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Fast library for efficiently matching ignore files License: Unlicense or MIT @@ -14,18 +14,17 @@ URL: https://crates.io/crates/ignore Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No simd -# * Bump crossbeam to 0.3, https://github.com/BurntSushi/ripgrep/pull/670 -# * Bump lazy_static to 1, https://github.com/BurntSushi/ripgrep/pull/699 -Patch0: ignore-0.3.1-fix-metadata.diff +# * No windows +Patch0: ignore-0.4.0-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(crossbeam) >= 0.3.0 with crate(crossbeam) < 0.4.0) -BuildRequires: (crate(globset) >= 0.2.1 with crate(globset) < 0.3.0) +BuildRequires: (crate(globset) >= 0.3.0 with crate(globset) < 0.4.0) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) -BuildRequires: (crate(log) >= 0.3.0 with crate(log) < 0.4.0) +BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) BuildRequires: (crate(memchr) >= 2.0.0 with crate(memchr) < 3.0.0) BuildRequires: (crate(regex) >= 0.2.1 with crate(regex) < 0.3.0) BuildRequires: (crate(same-file) >= 1.0.0 with crate(same-file) < 2.0.0) @@ -72,6 +71,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Mon Feb 12 2018 Igor Gnatenko - 0.4.0-1 +- Update to 0.4.0 + * Fri Feb 09 2018 Fedora Release Engineering - 0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index d342344..b19801f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ignore-0.3.1.crate) = 6f7f2b70cf2bbb2c5ba46d9747b10c94697400d20259bd5eaef7555982bf08dd334c68d8638cb47cb3af44d960ef1f8211c581c48d6f3fb0b7682999fa944345 +SHA512 (ignore-0.4.0.crate) = ebb68ffb421de2ef50f1d8e02f639bd28225c9351b30012bd97c7e6fe5ac99791efeee92f8900f885379ee696a4770e737982f8c1ed2d667ae9ddee1416578e4