Do not pull optional dependencies

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

@ -7,7 +7,7 @@
Name: rust-%{crate}
Version: 0.8.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Traits for cryptographic hash functions
# Upstream license specification: MIT OR Apache-2.0
@ -18,7 +18,6 @@ Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(blobby/default) >= 0.1.0 with crate(blobby/default) < 0.2.0)
BuildRequires: (crate(generic-array/default) >= 0.12.0 with crate(generic-array/default) < 0.13.0)
%global _description \
@ -51,6 +50,30 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+blobby-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+blobby-devel %{_description}
This package contains library source intended for building other packages
which use "blobby" feature of "%{crate}" crate.
%files -n %{name}+blobby-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+dev-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dev-devel %{_description}
This package contains library source intended for building other packages
which use "dev" feature of "%{crate}" crate.
%files -n %{name}+dev-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
@ -79,6 +102,9 @@ which use "std" feature of "%{crate}" crate.
%endif
%changelog
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-3
- Do not pull optional dependencies
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save