initial import (#1965127)
parent
06e7b522fe
commit
f3e3275e44
@ -0,0 +1,4 @@
|
||||
/results_*/
|
||||
/*.src.rpm
|
||||
|
||||
/async-global-executor-2.0.2.crate
|
@ -1,3 +0,0 @@
|
||||
# rust-async-global-executor
|
||||
|
||||
The rust-async-global-executor package
|
@ -0,0 +1,20 @@
|
||||
--- async-global-executor-2.0.2/Cargo.toml 2021-01-11T14:17:04+00:00
|
||||
+++ async-global-executor-2.0.2/Cargo.toml 2021-04-28T23:05:35.041279+00:00
|
||||
@@ -62,12 +62,6 @@
|
||||
default-features = false
|
||||
package = "tokio"
|
||||
|
||||
-[dependencies.tokio03-crate]
|
||||
-version = "^0.3.4"
|
||||
-features = ["rt", "rt-multi-thread"]
|
||||
-optional = true
|
||||
-default-features = false
|
||||
-package = "tokio"
|
||||
[dev-dependencies.doc-comment]
|
||||
version = "^0.3"
|
||||
|
||||
@@ -75,4 +69,3 @@
|
||||
default = ["async-io"]
|
||||
tokio = ["tokio-crate"]
|
||||
tokio02 = ["tokio02-crate"]
|
||||
-tokio03 = ["tokio03-crate"]
|
@ -0,0 +1,138 @@
|
||||
# Generated by rust2rpm 17
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate async-global-executor
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 2.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Global executor built on top of async-executor and async-io
|
||||
|
||||
# Upstream license specification: Apache-2.0 OR MIT
|
||||
License: ASL 2.0 or MIT
|
||||
URL: https://crates.io/crates/async-global-executor
|
||||
Source: %{crates_source}
|
||||
# Initial patched metadata
|
||||
# * drop tokio 0.3 feature and dependency
|
||||
Patch0: async-global-executor-fix-metadata.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
%if %{__cargo_skip_build}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
|
||||
%global _description %{expand:
|
||||
Global executor built on top of async-executor and async-io.}
|
||||
|
||||
%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 CHANGELOG.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-io-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+async-io-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "async-io" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+async-io-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||||
|
||||
%package -n %{name}+tokio-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+tokio-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "tokio" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+tokio-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||||
|
||||
%package -n %{name}+tokio-crate-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+tokio-crate-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "tokio-crate" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+tokio-crate-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||||
|
||||
%package -n %{name}+tokio02-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+tokio02-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "tokio02" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+tokio02-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||||
|
||||
%package -n %{name}+tokio02-crate-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+tokio02-crate-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "tokio02-crate" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+tokio02-crate-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
|
||||
* Tue May 25 2021 Fabio Valentini <decathorpe@gmail.com> - 2.0.2-1
|
||||
- Initial package
|
Loading…
Reference in new issue