initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/generic-array-0.11.1.crate

@ -0,0 +1,62 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate generic-array
Name: rust-%{crate}
Version: 0.11.1
Release: 1%{?dist}
Summary: Generic types implementing functionality of arrays
License: MIT
URL: https://crates.io/crates/generic-array
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(typenum) >= 1.9.0 with crate(typenum) < 2.0.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Generic types implementing functionality of arrays.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sun Aug 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (generic-array-0.11.1.crate) = 497948f00277f3ca43d8a6eba1dcc0689b73cf54a466064b8482be6636b5b2f36be787a2394610fb3e380e22d1a96a1eedd5e7569bafa94ecc10f16927dc9dbf
Loading…
Cancel
Save