|
|
@ -6,7 +6,7 @@
|
|
|
|
%global crate crossbeam-channel
|
|
|
|
%global crate crossbeam-channel
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.2.4
|
|
|
|
Version: 0.2.6
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Multi-producer multi-consumer channels for message passing
|
|
|
|
Summary: Multi-producer multi-consumer channels for message passing
|
|
|
|
|
|
|
|
|
|
|
@ -18,29 +18,45 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(crossbeam-epoch/default) >= 0.6.0 with crate(crossbeam-epoch/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(crossbeam-epoch) >= 0.5.0 with crate(crossbeam-epoch) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.5.0 with crate(crossbeam-utils/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(crossbeam-utils) >= 0.5.0 with crate(crossbeam-utils) < 0.6.0)
|
|
|
|
BuildRequires: (crate(parking_lot/default) >= 0.6.3 with crate(parking_lot/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(parking_lot) >= 0.6.3 with crate(parking_lot) < 0.7.0)
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.5.3 with crate(rand/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.5.3 with crate(rand) < 0.6.0)
|
|
|
|
BuildRequires: (crate(smallvec/default) >= 0.6.2 with crate(smallvec/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(smallvec) >= 0.6.2 with crate(smallvec) < 0.7.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(crossbeam/default) >= 0.3.0 with crate(crossbeam/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(crossbeam) >= 0.3.0 with crate(crossbeam) < 0.4.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description \
|
|
|
|
%{summary}.
|
|
|
|
Multi-producer multi-consumer channels for message passing,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel %{_description}
|
|
|
|
Multi-producer multi-consumer channels for message passing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
@ -57,11 +73,9 @@ which use %{crate} from crates.io.
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.6-1
|
|
|
|
|
|
|
|
- Update to 0.2.6
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.4-1
|
|
|
|
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.4-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|