initial import (#1965661)

epel9
Fabio Valentini 4 years ago
parent 67a1e8ce3c
commit cc992a2038
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/async-process-1.1.0.crate

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

@ -0,0 +1,13 @@
--- async-process-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ async-process-1.1.0/Cargo.toml 2021-04-28T23:50:25.484106+00:00
@@ -43,10 +43,3 @@
version = "0.3.0"
features = ["iterator"]
default-features = false
-[target."cfg(windows)".dependencies.blocking]
-version = "1.0.0"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-features = ["winbase", "winnt"]
-default-features = false

@ -0,0 +1,78 @@
# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate async-process
Name: rust-%{crate}
Version: 1.1.0
Release: 1%{?dist}
Summary: Async interface for working with processes
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/async-process
Source: %{crates_source}
# Initial patched metadata
# * drop windows-specific dependencies
Patch0: async-process-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Async interface for working with processes.}
%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
* Fri May 28 2021 Fabio Valentini <decathorpe@gmail.com> - 1.1.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (async-process-1.1.0.crate) = 02d8313119a8ed3ec80ac7998531ce2b3f3a47d2db4ae864705d9d9a8d1e7b8cfe50b6685990988e2664dd9c95356f2263f2f05d606ae7558c75e2aa89c2c34a
Loading…
Cancel
Save