commit e39bf5eceef71d5d8843c9b50d44a6a9587653a3 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:51:24 2024 +0300 import rust-hashbrown-0.15.2-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..579db02 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hashbrown-0.15.2.crate diff --git a/.rust-hashbrown.metadata b/.rust-hashbrown.metadata new file mode 100644 index 0000000..cc1f25e --- /dev/null +++ b/.rust-hashbrown.metadata @@ -0,0 +1 @@ +9f7a9f867113b2821f5a424d4d536d408b2211fe SOURCES/hashbrown-0.15.2.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..b1997fd --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,10 @@ +[features] +hide = [ + "alloc", + "compiler_builtins", + "core", + "nightly", + "rustc-dep-of-std", + "rustc-internal-api", +] + diff --git a/SPECS/rust-hashbrown.spec b/SPECS/rust-hashbrown.spec new file mode 100644 index 0000000..19339ec --- /dev/null +++ b/SPECS/rust-hashbrown.spec @@ -0,0 +1,300 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate hashbrown + +Name: rust-hashbrown +Version: 0.15.2 +Release: %autorelease +Summary: Rust port of Google's SwissTable hash map + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/hashbrown +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A Rust port of Google's SwissTable hash map.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%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}+allocator-api2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+allocator-api2-devel %{_description} + +This package contains library source intended for building other packages which +use the "allocator-api2" feature of the "%{crate}" crate. + +%files -n %{name}+allocator-api2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+default-hasher-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-hasher-devel %{_description} + +This package contains library source intended for building other packages which +use the "default-hasher" feature of the "%{crate}" crate. + +%files -n %{name}+default-hasher-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+equivalent-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+equivalent-devel %{_description} + +This package contains library source intended for building other packages which +use the "equivalent" feature of the "%{crate}" crate. + +%files -n %{name}+equivalent-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+inline-more-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+inline-more-devel %{_description} + +This package contains library source intended for building other packages which +use the "inline-more" feature of the "%{crate}" crate. + +%files -n %{name}+inline-more-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+raw-entry-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+raw-entry-devel %{_description} + +This package contains library source intended for building other packages which +use the "raw-entry" feature of the "%{crate}" crate. + +%files -n %{name}+raw-entry-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 - 0.15.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Nov 26 2024 Fabio Valentini - 0.15.2-1 +- Update to version 0.15.2; Fixes RHBZ#2328601 + +* Mon Nov 04 2024 Fabio Valentini - 0.15.1-1 +- Update to version 0.15.1; Fixes RHBZ#2323720 + +* Fri Oct 18 2024 Fabio Valentini - 0.15.0-1 +- Update to version 0.15.0; Fixes RHBZ#2315941 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.14.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed May 08 2024 Fabio Valentini - 0.14.5-1 +- Update to version 0.14.5; Fixes RHBZ#2277634 + +* Wed Apr 24 2024 Fabio Valentini - 0.14.3-3 +- Include upstream patch to avoid dropping uninitialized memory in some + cases + +* Fri Jan 26 2024 Fedora Release Engineering - 0.14.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 30 2023 Fabio Valentini - 0.14.3-1 +- Update to version 0.14.3; Fixes RHBZ#2251546 + +* Wed Oct 25 2023 Fabio Valentini - 0.14.2-1 +- Update to version 0.14.2; Fixes RHBZ#2245179 + +* Sun Oct 08 2023 Fabio Valentini - 0.14.1-1 +- Update to version 0.14.1; Fixes RHBZ#2241296 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jul 05 2023 Fabio Valentini - 0.14.0-1 +- Update to version 0.14.0; Fixes RHBZ#2212580 + +* Sun Jan 22 2023 Michel Alexandre Salim - 0.13.2-1 +- Update to 0.13.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.12.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.12.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 17 2022 Fabio Valentini - 0.12.3-2 +- Skip doctests on armv7hl to temporarily work around a test failure + +* Sun Jul 17 2022 Fabio Valentini - 0.12.3-1 +- Update to version 0.12.3; Fixes RHBZ#2041300 + +* Sun Jul 17 2022 Fabio Valentini - 0.12.2-1 +- Update to version 0.12.2; Fixes RHBZ#2041300 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 30 2021 Fabio Valentini - 0.11.2-1 +- Update to version 0.11.2; Fixes RHBZ#1938588 + +* Tue Jul 27 2021 Fedora Release Engineering - 0.9.1-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 09 2020 Fabio Valentini - 0.9.1-2 +- Drop dependencies on compiler internals. + +* Mon Sep 28 2020 Fabio Valentini - 0.9.1-1 +- Update to version 0.9.1. + +* Tue Aug 11 2020 Josh Stone - 0.8.2-1 +- Update to 0.8.2 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 16 2020 Josh Stone - 0.8.1-1 +- Update to 0.8.1 + +* Fri Jul 10 2020 Josh Stone - 0.8.0-1 +- Update to 0.8.0 + +* Wed Apr 29 2020 Josh Stone - 0.7.2-1 +- Update to 0.7.2 + +* Tue Mar 17 2020 Josh Stone - 0.7.1-1 +- Update to 0.7.1 + +* Tue Feb 11 2020 Josh Stone - 0.7.0-1 +- Update to 0.7.0 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 27 2020 Josh Stone - 0.6.3-3 +- Bump to ahash 0.3.2 and rand 0.7.3 +- Prune unstable features + +* Wed Jan 15 2020 Josh Stone - 0.6.3-2 +- Bump to autocfg 1 + +* Fri Dec 20 19:23:00 CET 2019 Igor Gnatenko - 0.6.3-1 +- Update to 0.6.3 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jun 18 08:46:31 CEST 2019 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + +* Thu May 09 14:16:35 CEST 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + +* Tue Apr 16 2019 Josh Stone - 0.2.2-1 +- Update to 0.2.2 + +* Mon Apr 15 2019 Josh Stone - 0.2.1-1 +- Update to 0.2.1 + +* Thu Apr 04 08:09:30 CEST 2019 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Josh Stone - 0.1.8-1 +- Initial package + +## END: Generated by rpmautospec