parent
b55255c439
commit
5dd56b49f4
@ -0,0 +1 @@
|
||||
/flume-0.7.1.crate
|
@ -0,0 +1,115 @@
|
||||
# Generated by rust2rpm 13
|
||||
# * async-std is not packaged
|
||||
%bcond_with check
|
||||
%global debug_package %{nil}
|
||||
|
||||
# https://github.com/zesterer/flume/issues/22
|
||||
%global __cargo_is_bin() false
|
||||
|
||||
%global crate flume
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.7.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Blazingly fast multi-producer channel
|
||||
|
||||
# Upstream license specification: Apache-2.0/MIT
|
||||
# https://github.com/zesterer/flume/issues/21
|
||||
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
|
||||
%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}+futures-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+futures-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "futures" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+futures-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
|
||||
* Mon Mar 30 08:14:25 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.7.1-1
|
||||
- Initial package
|
Loading…
Reference in new issue