commit 6a7cbfe15429347f2c7af5786ae6c89019a5c4e6 Author: tigro Date: Mon Nov 20 00:20:41 2023 +0300 import rust-smallvec-1.11.2-1.el9 diff --git a/.rust-smallvec.metadata b/.rust-smallvec.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/smallvec-1.11.2.crate b/SOURCES/smallvec-1.11.2.crate new file mode 100644 index 0000000..a1fe143 Binary files /dev/null and b/SOURCES/smallvec-1.11.2.crate differ diff --git a/SPECS/rust-smallvec.spec b/SPECS/rust-smallvec.spec new file mode 100644 index 0000000..ccbcd04 --- /dev/null +++ b/SPECS/rust-smallvec.spec @@ -0,0 +1,360 @@ +## 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 +# * missing dev-dependencies: debugger_test, debugger_test_parser +%bcond_with check +%global debug_package %{nil} + +%global crate smallvec + +Name: rust-smallvec +Version: 1.11.2 +Release: %autorelease +Summary: Store up to a small number of items on the stack + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/smallvec +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +'Small vector' optimization: store up to a small number of items on the +stack.} + +%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 +%{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}+const_generics-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+const_generics-devel %{_description} + +This package contains library source intended for building other packages which +use the "const_generics" feature of the "%{crate}" crate. + +%files -n %{name}+const_generics-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+const_new-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+const_new-devel %{_description} + +This package contains library source intended for building other packages which +use the "const_new" feature of the "%{crate}" crate. + +%files -n %{name}+const_new-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+debugger_visualizer-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debugger_visualizer-devel %{_description} + +This package contains library source intended for building other packages which +use the "debugger_visualizer" feature of the "%{crate}" crate. + +%files -n %{name}+debugger_visualizer-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+drain_filter-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+drain_filter-devel %{_description} + +This package contains library source intended for building other packages which +use the "drain_filter" feature of the "%{crate}" crate. + +%files -n %{name}+drain_filter-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+drain_keep_rest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+drain_keep_rest-devel %{_description} + +This package contains library source intended for building other packages which +use the "drain_keep_rest" feature of the "%{crate}" crate. + +%files -n %{name}+drain_keep_rest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+may_dangle-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+may_dangle-devel %{_description} + +This package contains library source intended for building other packages which +use the "may_dangle" feature of the "%{crate}" crate. + +%files -n %{name}+may_dangle-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}+specialization-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+specialization-devel %{_description} + +This package contains library source intended for building other packages which +use the "specialization" feature of the "%{crate}" crate. + +%files -n %{name}+specialization-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+union-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+union-devel %{_description} + +This package contains library source intended for building other packages which +use the "union" feature of the "%{crate}" crate. + +%files -n %{name}+union-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+write-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+write-devel %{_description} + +This package contains library source intended for building other packages which +use the "write" feature of the "%{crate}" crate. + +%files -n %{name}+write-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 - 1.11.2-1 +- Rebuilt for MSVSphere 9.2 + +* Fri Nov 10 2023 Fabio Valentini - 1.11.2-1 +- Update to version 1.11.2; Fixes RHBZ#2248580 + +* Thu Sep 21 2023 Fabio Valentini - 1.11.1-1 +- Update to version 1.11.1; Fixes RHBZ#2239901 + +* Fri Jul 07 2023 Fabio Valentini - 1.11.0-1 +- Update to version 1.11.0; Fixes RHBZ#2220635 + +* Wed Oct 05 2022 Fabio Valentini - 1.10.0-1 +- Update to version 1.10.0; Fixes RHBZ#2131625 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jul 13 2022 Fabio Valentini - 1.9.0-1 +- Update to version 1.9.0; Fixes RHBZ#2100933 + +* Wed Jan 26 2022 Fabio Valentini - 1.8.0-1 +- Update to version 1.8.0; Fixes RHBZ#2040531 + +* 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#2008647 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Jan 09 2021 Fabio Valentini - 1.6.1-1 +- Update to version 1.6.1. +- Fixes RHBZ#1914410 + +* Fri Jan 01 15:06:38 CET 2021 Igor Raits - 1.6.0-1 +- Update to 1.6.0 (Fixes: RHBZ#1911860) + +* Mon Dec 07 2020 Fabio Valentini - 1.5.1-1 +- Update to version 1.5.1. +- Fixes RHBZ#1904619 + +* Thu Nov 19 2020 Fabio Valentini - 1.5.0-1 +- Update to version 1.5.0. +- Fixes RHBZ#1898676 + +* Thu Aug 13 2020 Josh Stone - 1.4.2-1 +- Update to 1.4.2 + +* Sat Aug 01 2020 Fedora Release Engineering - 1.4.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 1.4.1-1 +- Update to 1.4.1 + +* Thu Apr 23 2020 Josh Stone - 1.4.0-1 +- Update to 1.4.0 + +* Wed Apr 08 2020 Josh Stone - 1.3.0-1 +- Update to 1.3.0 + +* Thu Jan 30 2020 Josh Stone - 1.2.0-1 +- Update to 1.2.0 + +* Fri Dec 27 08:27:43 CET 2019 Igor Gnatenko - 1.1.0-1 +- Update to 1.0.0 + +* Fri Nov 22 2019 Josh Stone - 1.0.0-1 +- Update to 1.0.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.6.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 09:39:44 CEST 2019 Igor Gnatenko - 0.6.10-2 +- Regenerate + +* Mon Jun 10 2019 Josh Stone - 0.6.10-1 +- Update to 0.6.10 + +* Sun Jun 09 12:25:20 CEST 2019 Igor Gnatenko - 0.6.9-4 +- Fix skip_build + +* Sun Jun 09 11:01:48 CEST 2019 Igor Gnatenko - 0.6.9-3 +- Regenerate + +* Sun Mar 10 2019 Igor Gnatenko - 0.6.9-2 +- Do not pull optional dependencies + +* Mon Feb 18 2019 Igor Gnatenko - 0.6.9-1 +- Update to 0.6.9 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.6.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 19 2019 Igor Gnatenko - 0.6.8-1 +- Update to 0.6.8 + +* Fri Nov 30 2018 Josh Stone - 0.6.7-1 +- Update to 0.6.7 + +* Fri Nov 16 2018 Josh Stone - 0.6.6-1 +- Update to 0.6.6 + +* Sat Oct 27 2018 Igor Gnatenko - 0.6.5-3 +- Adapt to new packaging + +* Sun Oct 07 2018 Igor Gnatenko - 0.6.5-2 +- Run tests in infrastructure + +* Sat Sep 08 2018 Josh Stone - 0.6.5-1 +- Update to 0.6.5 + +* Tue Aug 07 2018 Josh Stone - 0.6.4-1 +- Update to 0.6.4 + +* Tue Jul 31 2018 Josh Stone - 0.6.3-1 +- Update to 0.6.3 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 14 2018 Igor Gnatenko - 0.6.2-1 +- Update to 0.6.2 + +* Tue Apr 24 2018 Igor Gnatenko - 0.6.1-1 +- Update to 0.6.1 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.6.0-2 +- Rebuild for rust-packaging v5 + +* Sun Dec 03 2017 Igor Gnatenko - 0.6.0-1 +- Update to 0.6.0 + +* Fri Dec 01 2017 Igor Gnatenko - 0.5.0-1 +- Initial package +