From 3f70ddef7ab6b176553705e35bd1569e4d37d750 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 16 Apr 2019 13:40:50 +0200 Subject: [PATCH] Update to 0.2.4 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-grep.spec | 49 ++++++++++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 1f57179..cc1212d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /grep-0.1.9.crate /grep-0.2.2.crate /grep-0.2.3.crate +/grep-0.2.4.crate diff --git a/rust-grep.spec b/rust-grep.spec index b9b6ea9..be14570 100644 --- a/rust-grep.spec +++ b/rust-grep.spec @@ -6,30 +6,26 @@ %global crate grep Name: rust-%{crate} -Version: 0.2.3 -Release: 5%{?dist} +Version: 0.2.4 +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 Source: %{crates_source} -# Initial patched metadata -# * No SIMD -# * Remove unneeded deps, https://github.com/BurntSushi/ripgrep/pull/1043 -Patch0: grep-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(grep-cli/default) >= 0.1.1 with crate(grep-cli/default) < 0.2.0) -BuildRequires: (crate(grep-matcher/default) >= 0.1.1 with crate(grep-matcher/default) < 0.2.0) -BuildRequires: (crate(grep-printer/default) >= 0.1.1 with crate(grep-printer/default) < 0.2.0) -BuildRequires: (crate(grep-regex/default) >= 0.1.1 with crate(grep-regex/default) < 0.2.0) -BuildRequires: (crate(grep-searcher/default) >= 0.1.1 with crate(grep-searcher/default) < 0.2.0) +BuildRequires: (crate(grep-cli/default) >= 0.1.2 with crate(grep-cli/default) < 0.2.0) +BuildRequires: (crate(grep-matcher/default) >= 0.1.2 with crate(grep-matcher/default) < 0.2.0) +BuildRequires: (crate(grep-printer/default) >= 0.1.2 with crate(grep-printer/default) < 0.2.0) +BuildRequires: (crate(grep-regex/default) >= 0.1.3 with crate(grep-regex/default) < 0.2.0) +BuildRequires: (crate(grep-searcher/default) >= 0.1.4 with crate(grep-searcher/default) < 0.2.0) %if %{with check} -BuildRequires: (crate(termcolor/default) >= 1.0.0 with crate(termcolor/default) < 2.0.0) -BuildRequires: (crate(walkdir/default) >= 2.2.2 with crate(walkdir/default) < 3.0.0) +BuildRequires: (crate(termcolor/default) >= 1.0.4 with crate(termcolor/default) < 2.0.0) +BuildRequires: (crate(walkdir/default) >= 2.2.7 with crate(walkdir/default) < 3.0.0) %endif %global _description \ @@ -63,6 +59,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+avx-accel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+avx-accel-devel %{_description} + +This package contains library source intended for building other packages +which use "avx-accel" feature of "%{crate}" crate. + +%files -n %{name}+avx-accel-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+grep-pcre2-devel Summary: %{summary} BuildArch: noarch @@ -87,6 +95,18 @@ which use "pcre2" feature of "%{crate}" crate. %files -n %{name}+pcre2-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+simd-accel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-accel-devel %{_description} + +This package contains library source intended for building other packages +which use "simd-accel" feature of "%{crate}" crate. + +%files -n %{name}+simd-accel-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -103,6 +123,9 @@ which use "pcre2" feature of "%{crate}" crate. %endif %changelog +* Tue Apr 16 13:39:47 CEST 2019 Igor Gnatenko - 0.2.4-1 +- Update to 0.2.4 + * Sun Mar 10 2019 Igor Gnatenko - 0.2.3-5 - Do not pull optional dependencies diff --git a/sources b/sources index c8c1f49..a7c62b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-0.2.3.crate) = b22dfdc06cf0ea10ab6d8ee0dbbc5d769e4015017f73609f3fa978da98e882a97af9890e6acd058ca8887713f10f8b02dc699e1980f5efafe7b8dec0c8cbb5b3 +SHA512 (grep-0.2.4.crate) = c6983df9dcc268bc9835173189afc28ffec9dd234a0949389a40629e5644707b7c1b90025882c2580cc5f963fc4902070b191ecc6cacd602fa4c140ee8bdfbd1