commit 2bce5d1a49bd1cb5777ea9d9061fcd919038b0c1 Author: tigro Date: Tue Nov 21 13:19:34 2023 +0300 import rust-generic-array-0.14.7-1.el9 diff --git a/.rust-generic-array.metadata b/.rust-generic-array.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/generic-array-0.14.7.crate b/SOURCES/generic-array-0.14.7.crate new file mode 100644 index 0000000..c949a33 Binary files /dev/null and b/SOURCES/generic-array-0.14.7.crate differ diff --git a/SPECS/rust-generic-array.spec b/SPECS/rust-generic-array.spec new file mode 100644 index 0000000..3a52f84 --- /dev/null +++ b/SPECS/rust-generic-array.spec @@ -0,0 +1,185 @@ +## 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 generic-array + +Name: rust-generic-array +Version: 0.14.7 +Release: %autorelease +Summary: Generic types implementing functionality of arrays + +License: MIT +URL: https://crates.io/crates/generic-array +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Generic types implementing functionality of arrays.} + +%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}/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}+more_lengths-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+more_lengths-devel %{_description} + +This package contains library source intended for building other packages which +use the "more_lengths" feature of the "%{crate}" crate. + +%files -n %{name}+more_lengths-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}+zeroize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zeroize-devel %{_description} + +This package contains library source intended for building other packages which +use the "zeroize" feature of the "%{crate}" crate. + +%files -n %{name}+zeroize-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 +# skip some doctests that no longer compile with recent Rust versions +%cargo_test -- -- --skip arr::doctests_only::DocTests +%endif + +%changelog +* Tue Nov 21 2023 Arkady L. Shane - 0.14.7-1 +- Rebuilt for MSVSphere 9.2 + +* Thu Mar 30 2023 Fabio Valentini - 0.14.7-1 +- Update to version 0.14.7; Fixes RHBZ#2182226 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.14.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Aug 06 2022 Fabio Valentini - 0.14.6-1 +- Update to version 0.14.6; Fixes RHBZ#2114215 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.14.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.14.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 0.14.5-1 +- Update to version 0.14.5; Fixes RHBZ#2037058 + +* Fri Jul 30 2021 Fabio Valentini - 0.14.4-4 +- Skip some doctests that no longer compile with recent Rust versions. + +* Tue Jul 27 2021 Fedora Release Engineering - 0.14.4-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.14.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Aug 20 2020 Josh Stone - 0.14.4-1 +- Update to 0.14.4 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.14.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 08:31:13 CEST 2020 Igor Raits - 0.14.3-1 +- Update to 0.14.3 + +* Sun Jun 21 09:17:19 CEST 2020 Igor Raits - 0.14.2-1 +- Update to 0.14.2 + +* Thu Feb 20 2020 Josh Stone - 0.13.2-1 +- Update to 0.13.2 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.12.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.12.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 09:18:50 CEST 2019 Igor Gnatenko - 0.12.0-5 +- Regenerate + +* Thu Mar 14 2019 Igor Gnatenko - 0.12.0-4 +- Do not pull optional dependencies + +* Sat Feb 02 2019 Fedora Release Engineering - 0.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jan 27 2019 Igor Gnatenko - 0.12.0-2 +- Run tests in infrastructure + +* Sat Sep 08 2018 Igor Gnatenko - 0.12.0-1 +- Update to 0.12.0 + +* Sun Aug 12 2018 Igor Gnatenko - 0.11.1-1 +- Initial package +