commit 943a02b4442a2d9a998989740860ae6bd97f7cfd Author: tigro Date: Mon Nov 20 00:53:50 2023 +0300 import rust-indexmap-2.1.0-1.el9 diff --git a/.rust-indexmap.metadata b/.rust-indexmap.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/indexmap-2.1.0.crate b/SOURCES/indexmap-2.1.0.crate new file mode 100644 index 0000000..5a44d83 Binary files /dev/null and b/SOURCES/indexmap-2.1.0.crate differ diff --git a/SPECS/rust-indexmap.spec b/SPECS/rust-indexmap.spec new file mode 100644 index 0000000..a2d13b0 --- /dev/null +++ b/SPECS/rust-indexmap.spec @@ -0,0 +1,284 @@ +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate indexmap + +Name: rust-indexmap +Version: 2.1.0 +Release: %autorelease +Summary: Hash table with consistent order and fast iteration + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/indexmap +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A hash table with consistent order and fast iteration.} + +%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}/README.md +%doc %{crate_instdir}/RELEASES.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}+quickcheck-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+quickcheck-devel %{_description} + +This package contains library source intended for building other packages which +use the "quickcheck" feature of the "%{crate}" crate. + +%files -n %{name}+quickcheck-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 + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+test_debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+test_debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "test_debug" feature of the "%{crate}" crate. + +%files -n %{name}+test_debug-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 +* Mon Nov 20 2023 Arkady L. Shane - 2.1.0-1 +- Rebuilt for MSVSphere 9.2 + +* Fri Nov 10 2023 Fabio Valentini - 2.1.0-1 +- Update to version 2.1.0; Fixes RHBZ#2247331 + +* Wed Oct 25 2023 Fabio Valentini - 2.0.2-1 +- Update to version 2.0.2; Fixes RHBZ#2241422 + +* Wed Sep 27 2023 Fabio Valentini - 2.0.1-1 +- Update to version 2.0.1; Fixes RHBZ#2241021 + +* Wed Jul 05 2023 Fabio Valentini - 2.0.0-1 +- Update to version 2.0.0; Fixes RHBZ#2217109 + +* Sun Mar 26 2023 Fabio Valentini - 1.9.3-1 +- Update to version 1.9.3; Fixes RHBZ#2181678 + +* Sat Dec 10 2022 Fabio Valentini - 1.9.2-1 +- Update to version 1.9.2; Fixes RHBZ#2143796 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 17 2022 Fabio Valentini - 1.9.1-1 +- Update to version 1.9.1; Fixes RHBZ#2097929 + +* Mon May 30 2022 Fabio Valentini - 1.8.2-1 +- Update to version 1.8.2; Fixes RHBZ#2091229 + +* Wed Mar 30 2022 Fabio Valentini - 1.8.1-1 +- Update to version 1.8.1; Fixes RHBZ#2069878 + +* Sun Mar 06 2022 Fabio Valentini - 1.8.0-1 +- Update to version 1.8.0; Fixes RHBZ#2038417 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 30 2021 Fabio Valentini - 1.7.0-1 +- Update to version 1.7.0; Fixes RHBZ#1977441 + +* Tue Jul 27 2021 Fedora Release Engineering - 1.6.2-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Mar 26 2021 Fabio Valentini - 1.6.2-1 +- Update to version 1.6.2. +- Fixes RHBZ#1935999 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 04 2021 Fabio Valentini - 1.6.1-1 +- Update to version 1.6.1. +- Fixes RHBZ#1907677 + +* Mon Sep 28 2020 Fabio Valentini - 1.6.0-1 +- Update to version 1.6.0. + +* Tue Sep 01 2020 Josh Stone - 1.5.2-1 +- Update to 1.5.2 + +* Sat Aug 08 2020 Josh Stone - 1.5.1-1 +- Update to 1.5.1 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 18 2020 Josh Stone - 1.5.0-1 +- Update to 1.5.0 + +* Mon Jun 01 2020 Josh Stone - 1.4.0-1 +- Update to 1.4.0 + +* Wed Feb 05 2020 Josh Stone - 1.3.2-1 +- Update to 1.3.2 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 Josh Stone - 1.3.1-1 +- Update to 1.3.1 + +* Tue Nov 19 2019 Josh Stone - 1.3.0-1 +- Update to 1.3.0 + +* Fri Sep 13 20:48:24 CEST 2019 Robert-André Mauchin - 1.2.0-2 +- Bump quickcheck to 0.9 +- Bump rand to 0.7 + +* Sun Sep 08 15:34:19 CEST 2019 Igor Gnatenko - 1.2.0-1 +- Update to 1.2.0 + +* Sun Sep 01 20:30:16 CEST 2019 Igor Gnatenko - 1.1.0-1 +- Update to 1.1.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 09:41:34 CEST 2019 Igor Gnatenko - 1.0.2-4 +- Regenerate + +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 26 2018 Igor Gnatenko - 1.0.2-2 +- Adapt to new packaging + +* Mon Oct 22 2018 Josh Stone - 1.0.2-1 +- Update to 1.0.2 + +* Mon Sep 10 2018 Igor Gnatenko - 1.0.1-5 +- Bump quickcheck back + +* Mon Sep 10 2018 Igor Gnatenko - 1.0.1-4 +- Bump quickcheck to 0.7 + +* Sat Jul 28 2018 Igor Gnatenko - 1.0.1-3 +- Rebuild to trigger tests + +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Mar 25 2018 Igor Gnatenko - 1.0.1-1 +- Update to 1.0.1 + +* Mon Mar 12 2018 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + +* Sat Mar 10 2018 Igor Gnatenko - 0.4.1-1 +- Initial package +