Do not pull optional dependencies

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

@ -7,7 +7,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.7.24 Version: 0.7.24
Release: 3%{?dist} Release: 4%{?dist}
Summary: Support code shared by PHF libraries Summary: Support code shared by PHF libraries
# https://github.com/sfackler/rust-phf/pull/118 # https://github.com/sfackler/rust-phf/pull/118
@ -19,7 +19,6 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(siphasher/default) >= 0.2.0 with crate(siphasher/default) < 0.3.0) BuildRequires: (crate(siphasher/default) >= 0.2.0 with crate(siphasher/default) < 0.3.0)
BuildRequires: (crate(unicase/default) >= 1.4.0 with crate(unicase/default) < 2.0.0)
%global _description \ %global _description \
Support code shared by PHF libraries. Support code shared by PHF libraries.
@ -75,7 +74,7 @@ which use "unicase" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%build %build
@ -90,6 +89,9 @@ which use "unicase" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-4
- Do not pull optional dependencies
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.24-3 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save