From 9ffbeb28391ca7d38674482e020147bde3fb9a99 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:17:17 +0300 Subject: [PATCH] import rust-dashmap-6.1.0-1.el10 --- .gitignore | 1 + .rust-dashmap.metadata | 1 + SOURCES/rust2rpm.toml | 6 ++ SPECS/rust-dashmap.spec | 224 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 232 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-dashmap.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-dashmap.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d03031 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dashmap-6.1.0.crate diff --git a/.rust-dashmap.metadata b/.rust-dashmap.metadata new file mode 100644 index 0000000..8a3be9d --- /dev/null +++ b/.rust-dashmap.metadata @@ -0,0 +1 @@ +75a561c87f38727e53f405a9b169ea28b4a22511 SOURCES/dashmap-6.1.0.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..86edb33 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[features] +hide = [ + # There is currently no rust-typesize package, and it does not make sense + # to package it just for the feature. + "typesize" +] diff --git a/SPECS/rust-dashmap.spec b/SPECS/rust-dashmap.spec new file mode 100644 index 0000000..78e0192 --- /dev/null +++ b/SPECS/rust-dashmap.spec @@ -0,0 +1,224 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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-dashmap +Version: 6.1.0 +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 - 6.1.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Sep 23 2024 Benjamin A. Beasley - 6.1.0-1 +- Update to version 6.1.0; Fixes RHBZ#2310197 + +* Fri Jul 19 2024 Fedora Release Engineering - 6.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jul 03 2024 Benjamin A. Beasley - 6.0.1-1 +- Update to 6.0.1 (close RHBZ#2292914) + +* Fri Jan 26 2024 Fedora Release Engineering - 5.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Sep 15 2023 Fabio Valentini - 5.5.3-1 +- Update to version 5.5.3; Fixes RHBZ#2235643 + +* Wed Aug 23 2023 Fabio Valentini - 5.5.1-1 +- Update to version 5.5.1; Fixes RHBZ#2233342 + +* Fri Jul 21 2023 Fedora Release Engineering - 5.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 14 2023 Fabio Valentini - 5.5.0-1 +- Update to version 5.5.0; Fixes RHBZ#2221857 + +* Fri Jan 20 2023 Fedora Release Engineering - 5.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Dec 10 2022 Fabio Valentini - 5.4.0-1 +- Update to version 5.4.0; Fixes RHBZ#2122772 + +* Thu Jul 28 2022 Fabio Valentini - 5.3.4-1 +- Update to version 5.3.4; Fixes RHBZ#2031537 + +* Sat Jul 23 2022 Fedora Release Engineering - 4.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 4.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 4.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Apr 20 2021 Fabio Valentini - 4.0.2-1 +- Update to version 4.0.2. + +* Wed Jan 27 2021 Fedora Release Engineering - 3.11.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Sep 28 2020 Fabio Valentini - 3.11.10-1 +- Update to version 3.11.10. + +* Sat Aug 01 2020 Fedora Release Engineering - 3.11.7-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.11.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 3.11.7-1 +- Update to 3.11.7 + +* Sat Jun 06 2020 Josh Stone - 3.11.4-1 +- Update to 3.11.4 + +* Tue May 26 2020 Josh Stone - 3.11.2-1 +- Update to 3.11.2 + +* Sun Apr 19 11:55:54 CEST 2020 Igor Raits - 3.11.1-1 +- Update to 3.11.1 + +* Thu Apr 09 2020 Josh Stone - 3.11.0-1 +- Update to 3.11.0 + +* Wed Apr 08 2020 Josh Stone - 3.10.0-1 +- Update to 3.10.0 + +* Wed Apr 01 2020 Josh Stone - 3.9.1-1 +- Update to 3.9.1 + +* Sat Mar 21 17:22:43 CET 2020 Igor Raits - 3.7.0-1 +- Initial package + +## END: Generated by rpmautospec