Do not pull optional dependencies

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 4651c8c4ab
commit 943f56e8a4
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -7,13 +7,13 @@
Name: rust-%{crate}
Version: 0.2.3
Release: 4%{?dist}
Release: 5%{?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
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
# Initial patched metadata
# * No SIMD
# * Remove unneeded deps, https://github.com/BurntSushi/ripgrep/pull/1043
@ -24,7 +24,6 @@ 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-pcre2/default) >= 0.1.2 with crate(grep-pcre2/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)
@ -89,7 +88,7 @@ which use "pcre2" 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
@ -104,6 +103,9 @@ which use "pcre2" feature of "%{crate}" crate.
%endif
%changelog
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-5
- Do not pull optional dependencies
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save