Initial import (#2217973)

epel9 imports/e9/rust-maybe-rayon-0.1.1-1.el9
Fabio Valentini 2 years ago
parent 8104f1839b
commit 73c578d9aa
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/maybe-rayon-0.1.1.crate

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

@ -0,0 +1,92 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate maybe-rayon
Name: rust-maybe-rayon
Version: 0.1.1
Release: %autorelease
Summary: Either acts as rayon or creates a single-threaded facade
License: MIT
URL: https://crates.io/crates/maybe-rayon
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Either acts as rayon or creates a single-threaded facade.}
%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
%{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}+rayon-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rayon-devel %{_description}
This package contains library source intended for building other packages which
use the "rayon" feature of the "%{crate}" crate.
%files -n %{name}+rayon-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+threads-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+threads-devel %{_description}
This package contains library source intended for building other packages which
use the "threads" feature of the "%{crate}" crate.
%files -n %{name}+threads-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 @@
SHA512 (maybe-rayon-0.1.1.crate) = 6f4e0e2a342fc86b5d0626a08779075c68911ffd3f837ac6ab2c15c821ba96e50617cfc9df9d16bf96ae57fa1802c5549e21d67f79e4e1c3f10bce04b88115e9
Loading…
Cancel
Save