Initial package

epel9 imports/e9/rust-maybe-async-0.2.7-1.el9
blinxen 2 years ago
parent f7d3b7dd06
commit 41e741f995

1
.gitignore vendored

@ -0,0 +1 @@
/maybe-async-0.2.7.crate

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

@ -0,0 +1,81 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate maybe-async
Name: rust-maybe-async
Version: 0.2.7
Release: %autorelease
Summary: Procedural macro to unify SYNC and ASYNC implementation
License: MIT
URL: https://crates.io/crates/maybe-async
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A procedural macro to unify SYNC and ASYNC implementation.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+is_sync-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+is_sync-devel %{_description}
This package contains library source intended for building other packages which
use the "is_sync" feature of the "%{crate}" crate.
%files -n %{name}+is_sync-devel
%ghost %{crate_instdir}/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
%autochangelog

@ -0,0 +1,2 @@
[DEFAULT]
summary = Procedural macro to unify SYNC and ASYNC implementation

@ -0,0 +1 @@
SHA512 (maybe-async-0.2.7.crate) = ef5f4e705def3b188ad2dd4be33dbb2c3f28d08855a1cff0aabcfd63fe22d1ba99e6cb7d10a43bde3bb5d30c2fd98dd2c9172d2e0a2cf877051b5117f0e7d262
Loading…
Cancel
Save