initial import (#1964685)

epel9
Fabio Valentini 4 years ago
parent 4023cbebb1
commit 0966a89b70
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/async-lock-2.4.0.crate

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

@ -0,0 +1,8 @@
--- async-lock-2.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ async-lock-2.4.0/Cargo.toml 2021-04-28T23:24:42.634855+00:00
@@ -32,5 +32,3 @@
[dev-dependencies.futures-lite]
version = "1.11.0"
-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
-version = "0.3"

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

@ -0,0 +1 @@
SHA512 (async-lock-2.4.0.crate) = c3eade585da23e3aca17be6110290461bc2cb39b9fcca9c35d8ce71669883d8d1ca42fdca64686126dbf063f289b0142c508b7eb852babd702f2cebc4c4290da
Loading…
Cancel
Save