Initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/tokio-0.1.22.crate

@ -0,0 +1,400 @@
# Generated by rust2rpm 11
%bcond_with check
%global debug_package %{nil}
%global crate tokio
Name: rust-%{crate}0.1
Version: 0.1.22
Release: 1%{?dist}
Summary: Platform for writing asynchronous I/O backed applications
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/tokio
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Event-driven, non-blocking I/O platform for writing asynchronous I/O backed
applications.}
%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
%doc CHANGELOG.md README.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
%package -n %{name}+bytes-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bytes-devel %{_description}
This package contains library source intended for building other packages
which use "bytes" feature of "%{crate}" crate.
%files -n %{name}+bytes-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+codec-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+codec-devel %{_description}
This package contains library source intended for building other packages
which use "codec" feature of "%{crate}" crate.
%files -n %{name}+codec-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+experimental-tracing-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+experimental-tracing-devel %{_description}
This package contains library source intended for building other packages
which use "experimental-tracing" feature of "%{crate}" crate.
%files -n %{name}+experimental-tracing-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+fs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+fs-devel %{_description}
This package contains library source intended for building other packages
which use "fs" feature of "%{crate}" crate.
%files -n %{name}+fs-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+io-devel %{_description}
This package contains library source intended for building other packages
which use "io" feature of "%{crate}" crate.
%files -n %{name}+io-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+mio-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mio-devel %{_description}
This package contains library source intended for building other packages
which use "mio" feature of "%{crate}" crate.
%files -n %{name}+mio-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+num_cpus-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+num_cpus-devel %{_description}
This package contains library source intended for building other packages
which use "num_cpus" feature of "%{crate}" crate.
%files -n %{name}+num_cpus-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+reactor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+reactor-devel %{_description}
This package contains library source intended for building other packages
which use "reactor" feature of "%{crate}" crate.
%files -n %{name}+reactor-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+rt-full-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rt-full-devel %{_description}
This package contains library source intended for building other packages
which use "rt-full" feature of "%{crate}" crate.
%files -n %{name}+rt-full-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+sync-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+sync-devel %{_description}
This package contains library source intended for building other packages
which use "sync" feature of "%{crate}" crate.
%files -n %{name}+sync-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tcp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tcp-devel %{_description}
This package contains library source intended for building other packages
which use "tcp" feature of "%{crate}" crate.
%files -n %{name}+tcp-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+timer-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+timer-devel %{_description}
This package contains library source intended for building other packages
which use "timer" feature of "%{crate}" crate.
%files -n %{name}+timer-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-codec-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-codec-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-codec" feature of "%{crate}" crate.
%files -n %{name}+tokio-codec-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-current-thread-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-current-thread-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-current-thread" feature of "%{crate}" crate.
%files -n %{name}+tokio-current-thread-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-executor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-executor-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-executor" feature of "%{crate}" crate.
%files -n %{name}+tokio-executor-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-fs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-fs-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-fs" feature of "%{crate}" crate.
%files -n %{name}+tokio-fs-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-io-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-io" feature of "%{crate}" crate.
%files -n %{name}+tokio-io-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-reactor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-reactor-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-reactor" feature of "%{crate}" crate.
%files -n %{name}+tokio-reactor-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-sync-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-sync-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-sync" feature of "%{crate}" crate.
%files -n %{name}+tokio-sync-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-tcp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-tcp-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-tcp" feature of "%{crate}" crate.
%files -n %{name}+tokio-tcp-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-threadpool-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-threadpool-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-threadpool" feature of "%{crate}" crate.
%files -n %{name}+tokio-threadpool-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-timer-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-timer-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-timer" feature of "%{crate}" crate.
%files -n %{name}+tokio-timer-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-udp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-udp-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-udp" feature of "%{crate}" crate.
%files -n %{name}+tokio-udp-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tokio-uds-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-uds-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-uds" feature of "%{crate}" crate.
%files -n %{name}+tokio-uds-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+tracing-core-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tracing-core-devel %{_description}
This package contains library source intended for building other packages
which use "tracing-core" feature of "%{crate}" crate.
%files -n %{name}+tracing-core-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+udp-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+udp-devel %{_description}
This package contains library source intended for building other packages
which use "udp" feature of "%{crate}" crate.
%files -n %{name}+udp-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+uds-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+uds-devel %{_description}
This package contains library source intended for building other packages
which use "uds" feature of "%{crate}" crate.
%files -n %{name}+uds-devel
%ghost %{cargo_registry}/%{crate}-%{version}/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 Dec 11 10:26:53 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.22-1
- Initial package

@ -0,0 +1 @@
SHA512 (tokio-0.1.22.crate) = d92b8527bbeec84bb306686a7d29b705c36b59e9c0995154ed95d483c84952c838691f8c11615f481abb6c4fba470ba8968860a74a88b77dd67ccf659bf4e4e1

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-tokio0.1
Loading…
Cancel
Save