Initial import

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent 0c774ce106
commit f6427f164d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

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

@ -0,0 +1,100 @@
# Generated by rust2rpm 13
# * chashmap, cht and contrie are not packaged
%bcond_with check
%global debug_package %{nil}
%global crate dashmap
Name: rust-%{crate}
Version: 3.7.0
Release: 1%{?dist}
Summary: Blazing fast concurrent HashMap for Rust
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/dashmap
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%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 "%{crate}" crate.
%files devel
%license LICENSE
%doc README.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
%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 "raw-api" feature of "%{crate}" crate.
%files -n %{name}+raw-api-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-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
* Sat Mar 21 17:22:43 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.7.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (dashmap-3.7.0.crate) = fc95654a1a8b36384c60ec3497606b87f5c3dcf3e87ae26e82c846810bf3039443db5f2fab08537d20e443574413b4ad73a678157f5361377ba30c773ed46f81
Loading…
Cancel
Save