commit c83fb1d9986f4dac0d6dbb020aef04fb60455698 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:29:28 2024 +0300 import rust-fallible_collections-0.5.1-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bfdf6df --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fallible_collections-0.5.1.crate diff --git a/.rust-fallible_collections.metadata b/.rust-fallible_collections.metadata new file mode 100644 index 0000000..dd2cbed --- /dev/null +++ b/.rust-fallible_collections.metadata @@ -0,0 +1 @@ +d6e96256ec4a22c1c13ea9780194cc6b680cbff0 SOURCES/fallible_collections-0.5.1.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..1de3a10 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-fallible_collections + +The rust-fallible_collections package diff --git a/SPECS/rust-fallible_collections.spec b/SPECS/rust-fallible_collections.spec new file mode 100644 index 0000000..1306179 --- /dev/null +++ b/SPECS/rust-fallible_collections.spec @@ -0,0 +1,181 @@ +## 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 fallible_collections + +Name: rust-fallible_collections +Version: 0.5.1 +Release: %autorelease +Summary: Which adds fallible allocation api to std collections + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/fallible_collections +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A crate which adds fallible allocation api to std collections.} + +%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}+hashmap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hashmap-devel %{_description} + +This package contains library source intended for building other packages which +use the "hashmap" feature of the "%{crate}" crate. + +%files -n %{name}+hashmap-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rust_1_57-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rust_1_57-devel %{_description} + +This package contains library source intended for building other packages which +use the "rust_1_57" feature of the "%{crate}" crate. + +%files -n %{name}+rust_1_57-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}+std_io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std_io-devel %{_description} + +This package contains library source intended for building other packages which +use the "std_io" feature of the "%{crate}" crate. + +%files -n %{name}+std_io-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 +# * skip two tests that rely on UB and crash with recent Rust versions: +# https://github.com/vcombey/fallible_collections/issues/35 +%cargo_test -- -- --skip try_clone_oom --skip tryvec_try_clone_oom +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.5.1-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Nov 16 2024 Benjamin A. Beasley - 0.5.1-1 +- Update to version 0.5.1; Fixes RHBZ#2324311 + +* Sun Sep 15 2024 Benjamin A. Beasley - 0.4.9-5 +- Use hashbrown 0.14 instead of 0.13 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.4.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jul 02 2023 blinxen - 0.4.9-1 +- Update to version 0.4.9 (rhbz#2219129) + +* Tue Jun 13 2023 blinxen - 0.4.8-1 +- Update to version 0.4.8 + +* Sun Mar 05 2023 blinxen - 0.4.7-2 +- [skip changelog] Import new source + +* Sat Mar 04 2023 blinxen - 0.4.7-1 +- Update to 0.4.7 + +* Tue Feb 07 2023 Fabio Valentini - 0.4.6-5 +- Disable tests with in cargo test arguments instead of using a patch + +* Mon Feb 06 2023 blinxen - 0.4.6-4 +- [skip changelog] Don't use macro in name and url tag This makes it easier + to build scripts which help with maintaining this package + +* Fri Feb 03 2023 blinxen - 0.4.6-3 +- Remove not needed changelog file +## END: Generated by rpmautospec