commit 88ca6c234114f75d34fa244f88b2907e7e32715d Author: MSVSphere Packaging Team Date: Fri Dec 20 16:27:58 2024 +0300 import rust-once_cell-1.20.2-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8448e72 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/once_cell-1.20.2.crate diff --git a/.rust-once_cell.metadata b/.rust-once_cell.metadata new file mode 100644 index 0000000..21aace9 --- /dev/null +++ b/.rust-once_cell.metadata @@ -0,0 +1 @@ +8201d63b9ab6011ab04f1fb987f938f6921f21e6 SOURCES/once_cell-1.20.2.crate diff --git a/SPECS/rust-once_cell.spec b/SPECS/rust-once_cell.spec new file mode 100644 index 0000000..a69fc91 --- /dev/null +++ b/SPECS/rust-once_cell.spec @@ -0,0 +1,343 @@ +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate once_cell + +Name: rust-once_cell +Version: 1.20.2 +Release: %autorelease +Summary: Single assignment cells and lazy values + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/once_cell +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Single assignment cells and lazy values.} + +%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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+atomic-polyfill-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+atomic-polyfill-devel %{_description} + +This package contains library source intended for building other packages which +use the "atomic-polyfill" feature of the "%{crate}" crate. + +%files -n %{name}+atomic-polyfill-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+critical-section-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+critical-section-devel %{_description} + +This package contains library source intended for building other packages which +use the "critical-section" feature of the "%{crate}" crate. + +%files -n %{name}+critical-section-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+parking_lot-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parking_lot-devel %{_description} + +This package contains library source intended for building other packages which +use the "parking_lot" feature of the "%{crate}" crate. + +%files -n %{name}+parking_lot-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+portable-atomic-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+portable-atomic-devel %{_description} + +This package contains library source intended for building other packages which +use the "portable-atomic" feature of the "%{crate}" crate. + +%files -n %{name}+portable-atomic-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+race-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+race-devel %{_description} + +This package contains library source intended for building other packages which +use the "race" feature of the "%{crate}" crate. + +%files -n %{name}+race-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}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-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 - 1.20.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Oct 20 2024 Fabio Valentini - 1.20.2-1 +- Update to version 1.20.2; Fixes RHBZ#2316716 + +* Thu Oct 03 2024 Fabio Valentini - 1.20.1-1 +- Update to version 1.20.1; Fixes RHBZ#2315558 + +* Mon Sep 16 2024 Fabio Valentini - 1.20.0-1 +- Update to version 1.20.0; Fixes RHBZ#2312318 + +* Sat Jul 20 2024 Fedora Release Engineering - 1.19.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.19.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Dec 07 2023 Jan Staněk - 1.19.0-1 +- Update to version 1.19.0 (rhbz#2253436) + +* Fri Jul 21 2023 Fedora Release Engineering - 1.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 07 2023 Fabio Valentini - 1.18.0-1 +- Update to version 1.18.0; Fixes RHBZ#2212161 + +* Mon May 29 2023 Jan Staněk - 1.17.2-1 +- Update to version 1.17.2 + +* Sun Feb 19 2023 Fabio Valentini - 1.17.1-1 +- Update to version 1.17.1; Fixes RHBZ#2169769 + +* Mon Jan 30 2023 Fabio Valentini - 1.17.0-1 +- Update to version 1.17.0; Fixes RHBZ#2156952 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Dec 04 2022 Fabio Valentini - 1.16.0-1 +- Update to version 1.16.0; Fixes RHBZ#2138517 + +* Wed Oct 05 2022 Fabio Valentini - 1.15.0-1 +- Update to version 1.15.0; Fixes RHBZ#2127323 + +* Fri Sep 02 2022 Fabio Valentini - 1.14.0-1 +- Update to version 1.14.0; Fixes RHBZ#2123721 + +* Tue Aug 16 2022 Fabio Valentini - 1.13.1-1 +- Update to version 1.13.1; Fixes RHBZ#2118693 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.13.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 08 2022 Fabio Valentini - 1.13.0-1 +- Update to version 1.13.0; Fixes RHBZ#2103650 + +* Tue May 24 2022 Fabio Valentini - 1.12.0-2 +- Fix missing subpackage for the optional parking_lot_core feature + +* Tue May 24 2022 Jan Staněk - 1.12.0-1 +- update to 1.12.0 + +* Fri Mar 04 2022 Fabio Valentini - 1.10.0-1 +- Update to version 1.10.0; Fixes RHBZ#2060589 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 1.9.0-1 +- Update to version 1.9.0; Fixes RHBZ#2032465 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 15 2021 Jan Staněk - 1.8.0-1 +- Update to version 1.8.0 + +* Wed Mar 03 2021 Fabio Valentini - 1.7.2-1 +- Update to version 1.7.2. +- Fixes RHBZ#1934173 + +* Tue Mar 02 2021 Jan Staněk - 1.7.1-1 +- Update to version 1.7.1 + +* Thu Feb 25 2021 Jan Staněk - 1.7.0-1 +- Update to version 1.7.0 +- Add subpackage for the "race" feature + +* Mon Feb 22 2021 Jan Staněk - 1.6.0-1 +- Update to version 1.6.0 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Nov 12 2020 Fabio Valentini - 1.5.2-1 +- Update to version 1.5.2. +- Fixes RHBZ#1897157 + +* Wed Nov 11 2020 Fabio Valentini - 1.5.1-1 +- Update to version 1.5.1. +- Fixes RHBZ#1896604 + +* Tue Aug 18 2020 Jan Staněk - 1.4.1-1 +- Update to 1.4.1 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu May 14 2020 Josh Stone - 1.4.0-1 +- Update to 1.4.0 + +* Wed Apr 01 2020 Josh Stone - 1.3.1-3 +- Bump to crossbeam-utils 0.7 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 17 2020 Josh Stone - 1.3.1-1 +- Update to 1.3.1 + +* Wed Jan 15 2020 Josh Stone - 1.3.0-1 +- Update to 1.3.0 + +* Mon Sep 23 07:53:58 CEST 2019 Igor Gnatenko - 1.2.0-1 +- Update to 1.2.0 + +* Fri Sep 06 20:59:00 CEST 2019 Igor Gnatenko - 1.1.0-1 +- Update to 1.1.0 + +* Mon Sep 02 2019 Jan Staněk - 1.0.2-1 +- Update to 1.0.2 + +* Mon Sep 02 2019 Jan Staněk - 1.0.1-1 +- Update to 1.0.1 + +* Mon Aug 19 2019 Jan Staněk - 0.2.6-1 +- Update to 0.2.6 + +* Sun Aug 04 15:41:31 CEST 2019 Igor Gnatenko - 0.2.4-1 +- Update to 0.2.4 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jul 06 11:22:49 CEST 2019 Igor Gnatenko - 0.2.2-1 +- Update to 0.2.2 + +* Mon Jul 01 20:54:06 CEST 2019 Igor Gnatenko - 0.2.1-2 +- Regenerate + +* Thu Jun 06 2019 Josh Stone - 0.2.1-1 +- Update to 0.2.1 + +* Tue May 07 14:42:19 CEST 2019 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 + +* Tue May 07 07:37:55 CEST 2019 Igor Gnatenko - 0.1.8-3 +- Update parking_lot to 0.8 + +* Tue Feb 12 2019 Igor Gnatenko - 0.1.8-2 +- Adapt to new packaging + +* Thu Feb 07 2019 Jan Stanek - 0.1.8-1 +- Initial package + +## END: Generated by rpmautospec