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

@ -1,30 +1,28 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate generic-array
Name: rust-%{crate}
Version: 0.12.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Generic types implementing functionality of arrays
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/generic-array
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(typenum/default) >= 1.10.0 with crate(typenum/default) < 2.0.0)
%if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
%endif
%global _description \
Generic types implementing functionality of arrays.
%global _description %{expand:
Generic types implementing functionality of arrays.}
%description %{_description}
@ -70,6 +68,9 @@ which use "serde" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -82,6 +83,9 @@ which use "serde" feature of "%{crate}" crate.
%endif
%changelog
* Sat Jun 22 09:18:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.0-5
- Regenerate
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.0-4
- Do not pull optional dependencies

Loading…
Cancel
Save