You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
4.5 KiB
165 lines
4.5 KiB
# Generated by rust2rpm 13
|
|
# * async-std is not packaged
|
|
# * criterion is too old (0.3.1+)
|
|
%bcond_with check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate flume
|
|
|
|
Name: rust-%{crate}
|
|
Version: 0.9.1
|
|
Release: 2%{?dist}
|
|
Summary: Blazingly fast multi-producer channel
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
License: ASL 2.0 or MIT
|
|
URL: https://crates.io/crates/flume
|
|
Source: %{crates_source}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Blazingly fast multi-producer channel.}
|
|
|
|
%description %{_description}
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "%{crate}" crate.
|
|
|
|
%files devel
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
%doc README.md
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%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_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+async-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+async-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "async" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+async-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+eventual-fairness-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+eventual-fairness-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "eventual-fairness" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+eventual-fairness-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+futures-core-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+futures-core-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "futures-core" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+futures-core-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+futures-sink-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+futures-sink-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "futures-sink" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+futures-sink-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+rand-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+rand-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "rand" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+rand-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%package -n %{name}+select-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+select-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "select" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+select-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Thu Oct 01 2020 Fabio Valentini <decathorpe@gmail.com> - 0.9.1-1
|
|
- Update to version 0.9.1.
|
|
|
|
* Wed Sep 23 2020 Fabio Valentini <decathorpe@gmail.com> - 0.9.0-1
|
|
- Update to version 0.9.0.
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Wed Jul 22 2020 Josh Stone <jistone@redhat.com> - 0.7.2-1
|
|
- Update to 0.7.2
|
|
|
|
* Mon Mar 30 08:14:25 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.1-1
|
|
- Initial package
|