Initial import (dashmap 5 compat package)

epel10
Fabio Valentini 7 months ago
parent dbdb7f67ce
commit 3dce2c0180
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/dashmap-5.5.3.crate

@ -1,3 +0,0 @@
# rust-dashmap5
The rust-dashmap5 package

@ -0,0 +1,128 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate dashmap
Name: rust-dashmap5
Version: 5.5.3
Release: %autorelease
Summary: Blazing fast concurrent HashMap for Rust
License: MIT
URL: https://crates.io/crates/dashmap
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Blazing fast concurrent HashMap for Rust.}
%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}/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}+arbitrary-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+arbitrary-devel %{_description}
This package contains library source intended for building other packages which
use the "arbitrary" feature of the "%{crate}" crate.
%files -n %{name}+arbitrary-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+inline-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+inline-devel %{_description}
This package contains library source intended for building other packages which
use the "inline" feature of the "%{crate}" crate.
%files -n %{name}+inline-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+raw-api-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+raw-api-devel %{_description}
This package contains library source intended for building other packages which
use the "raw-api" feature of the "%{crate}" crate.
%files -n %{name}+raw-api-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}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -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 (dashmap-5.5.3.crate) = 15079a921d768224defebdf8d5339257c9e94a46d115b37ddfca8eb83718b2448555a8982bcf0381a915d292aff9d271a89d3398d2ae2f396dd581cc6883963a
Loading…
Cancel
Save