initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/crossbeam-channel-0.2.4.crate

@ -0,0 +1,67 @@
# Generated by rust2rpm
# * Depends on old version of crossbeam (circular dep)
%bcond_with check
%global debug_package %{nil}
%global crate crossbeam-channel
Name: rust-%{crate}
Version: 0.2.4
Release: 1%{?dist}
Summary: Multi-producer multi-consumer channels for message passing
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/crossbeam-channel
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(crossbeam-epoch) >= 0.5.0 with crate(crossbeam-epoch) < 0.6.0)
BuildRequires: (crate(crossbeam-utils) >= 0.5.0 with crate(crossbeam-utils) < 0.6.0)
BuildRequires: (crate(parking_lot) >= 0.6.3 with crate(parking_lot) < 0.7.0)
BuildRequires: (crate(rand) >= 0.5.3 with crate(rand) < 0.6.0)
BuildRequires: (crate(smallvec) >= 0.6.2 with crate(smallvec) < 0.7.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(crossbeam) >= 0.3.0 with crate(crossbeam) < 0.4.0)
%endif
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
Multi-producer multi-consumer channels for message passing.
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-MIT LICENSE-APACHE
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.4-1
- Initial package

@ -0,0 +1 @@
SHA512 (crossbeam-channel-0.2.4.crate) = d753fc9114e2dc0f7b2e3a4048457a859034f80f6be245f46771933e9352685b20b256ce389223d9426e50ec600c681a819b9cc7701bb888b98f3d2bf18b630b
Loading…
Cancel
Save