initial import (#1913395)

epel9
Fabio Valentini 4 years ago
parent 97d7818cad
commit 6efef8d3b9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/async-io-1.3.1.crate

@ -1,3 +0,0 @@
# rust-async-io
The rust-async-io package

@ -0,0 +1,11 @@
--- async-io-1.3.1/Cargo.toml 2020-11-30T18:04:21+00:00
+++ async-io-1.3.1/Cargo.toml 2021-01-06T14:01:16.191679+00:00
@@ -77,8 +77,3 @@
version = "1.1.1"
[target."cfg(unix)".dependencies.libc]
version = "0.2.77"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-features = ["winsock2"]
-[target."cfg(windows)".dev-dependencies.uds_windows]
-version = "0.1.5"

@ -0,0 +1,79 @@
# Generated by rust2rpm 16
# * resolve circular dependency between async-{channel,net} and async-io
%bcond_with check
%global debug_package %{nil}
%global crate async-io
Name: rust-%{crate}
Version: 1.3.1
Release: 1%{?dist}
Summary: Async I/O and timers
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/async-io
Source: %{crates_source}
# Initial patched metadata
# * drop Windows dependencies
Patch0: async-io-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Async I/O and timers.}
%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
%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 06 2021 Fabio Valentini <decathorpe@gmail.com> - 1.3.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (async-io-1.3.1.crate) = eb5c82de79d8be448b978832500d07bb3e85c3d322187a4f00551d95034f4c4cf4520c3b37059b5cef098d2b06062a2afcb24e7c4ad7228b3c1f2a3eb28f3d88
Loading…
Cancel
Save