commit 6aab5c38ddcbcab2543ac8ee5e46b9d7dd5abb7e Author: tigro Date: Wed Jan 10 21:33:19 2024 +0300 import rust-dashmap-5.5.3-1.el9 diff --git a/.rust-dashmap.metadata b/.rust-dashmap.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/dashmap-5.5.3.crate b/SOURCES/dashmap-5.5.3.crate new file mode 100644 index 0000000..6d0500c Binary files /dev/null and b/SOURCES/dashmap-5.5.3.crate differ diff --git a/SPECS/rust-dashmap.spec b/SPECS/rust-dashmap.spec new file mode 100644 index 0000000..ecbe519 --- /dev/null +++ b/SPECS/rust-dashmap.spec @@ -0,0 +1,210 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate dashmap + +Name: rust-dashmap +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: rust-packaging >= 21 + +%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_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Wed Jan 10 2024 Arkady L. Shane - 5.5.3-1 +- Rebuilt for MSVSphere 9.2 + +* 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 +