From 29ef7e0ebaae157627265ec978dbe1aa2a964832 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:17:28 +0300 Subject: [PATCH] import rust-dashmap5-5.5.3-2.el10 --- .gitignore | 1 + .rust-dashmap5.metadata | 1 + SPECS/rust-dashmap5.spec | 147 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 149 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-dashmap5.metadata create mode 100644 SPECS/rust-dashmap5.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebf0461 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dashmap-5.5.3.crate diff --git a/.rust-dashmap5.metadata b/.rust-dashmap5.metadata new file mode 100644 index 0000000..c9c8ffb --- /dev/null +++ b/.rust-dashmap5.metadata @@ -0,0 +1 @@ +e6e60a54c2831bc80dd3785cbfc604dea170ad39 SOURCES/dashmap-5.5.3.crate diff --git a/SPECS/rust-dashmap5.spec b/SPECS/rust-dashmap5.spec new file mode 100644 index 0000000..bf2487e --- /dev/null +++ b/SPECS/rust-dashmap5.spec @@ -0,0 +1,147 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# 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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 5.5.3-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 5.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jul 07 2024 Fabio Valentini - 5.5.3-1 +- Initial import (dashmap 5 compat package) +## END: Generated by rpmautospec