From d212392039184a6c4de0b860b855e1acebd2127a Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:12:33 +0300 Subject: [PATCH] import rust-crossbeam-channel-0.5.14-1.el10 --- .gitignore | 1 + .rust-crossbeam-channel.metadata | 1 + SOURCES/rust2rpm.toml | 5 + SPECS/rust-crossbeam-channel.spec | 225 ++++++++++++++++++++++++++++++ 4 files changed, 232 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-crossbeam-channel.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-crossbeam-channel.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ddc68d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/crossbeam-channel-0.5.14.crate diff --git a/.rust-crossbeam-channel.metadata b/.rust-crossbeam-channel.metadata new file mode 100644 index 0000000..88e72eb --- /dev/null +++ b/.rust-crossbeam-channel.metadata @@ -0,0 +1 @@ +4d966b70a83ecf562a757c3afc8fcf6915b81f2d SOURCES/crossbeam-channel-0.5.14.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..a61aa06 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,5 @@ +[tests] +skip = ["fairness2", "select2::main"] +skip-exact = true +comments = ["skip unreliable tests: https://github.com/crossbeam-rs/crossbeam/pull/474#issuecomment-589250957"] + diff --git a/SPECS/rust-crossbeam-channel.spec b/SPECS/rust-crossbeam-channel.spec new file mode 100644 index 0000000..8e14721 --- /dev/null +++ b/SPECS/rust-crossbeam-channel.spec @@ -0,0 +1,225 @@ +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate crossbeam-channel + +Name: rust-crossbeam-channel +Version: 0.5.14 +Release: %autorelease +Summary: Multi-producer multi-consumer channels for message passing + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/crossbeam-channel +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Multi-producer multi-consumer channels for message passing.} + +%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 +%license %{crate_instdir}/LICENSE-THIRD-PARTY +%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}+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 + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +# * skip unreliable tests: +# https://github.com/crossbeam-rs/crossbeam/pull/474#issuecomment-589250957 +%{cargo_test -- -- --exact %{shrink: + --skip fairness2 + --skip select2::main +}} +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.5.14-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Dec 15 2024 Fabio Valentini - 0.5.14-1 +- Update to version 0.5.14; Fixes RHBZ#2332480 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.5.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jun 11 2024 Fabio Valentini - 0.5.13-1 +- Update to version 0.5.13; Fixes RHBZ#2281539 + +* Tue Mar 05 2024 Fabio Valentini - 0.5.12-1 +- Update to version 0.5.12; Fixes RHBZ#2266635 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 11 2024 Fabio Valentini - 0.5.11-1 +- Update to version 0.5.11; Fixes RHBZ#2257264 + +* Wed Dec 27 2023 Fabio Valentini - 0.5.10-1 +- Update to version 0.5.10; Fixes RHBZ#2254354 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Apr 14 2023 Fabio Valentini - 0.5.8-1 +- Update to version 0.5.8; Fixes RHBZ#2185444 + +* Tue Feb 28 2023 Fabio Valentini - 0.5.7-1 +- Update to version 0.5.7; Fixes RHBZ#2173987 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.5.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 27 2022 Fabio Valentini - 0.5.6-1 +- Update to version 0.5.6; Fixes RHBZ#2110071 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Fabio Valentini - 0.5.5-1 +- Update to version 0.5.5; Fixes RHBZ#2097836 + +* Tue Mar 29 2022 Fabio Valentini - 0.5.4-1 +- Update to version 0.5.4; Fixes RHBZ#2064277 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Jan 10 2022 Fabio Valentini - 0.5.2-1 +- Update to version 0.5.2; Fixes RHBZ#2038604 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Apr 29 2021 Fabio Valentini - 0.5.1-1 +- Update to version 0.5.1. +- Fixes RHBZ#1948206 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Nov 12 2020 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0. +- Fixes RHBZ#1887297 + +* Mon Sep 21 2020 Fabio Valentini - 0.4.4-1 +- Update to version 0.4.4. + +* Sat Aug 01 2020 Fedora Release Engineering - 0.4.3-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 22 2020 Josh Stone - 0.4.3-1 +- Update to 0.4.3 + +* Sun Feb 23 11:25:39 CET 2020 Igor Raits - 0.4.2-1 +- Update to 0.4.2 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 19 11:22:46 CET 2019 Igor Gnatenko - 0.4.0-1 +- Update to 0.4.0 + +* Sun Jul 28 20:39:15 CEST 2019 Igor Gnatenko - 0.3.9-1 +- Update to 0.3.9 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 11:30:26 CEST 2019 Igor Gnatenko - 0.3.8-5 +- Regenerate + +* Sun Jun 09 00:00:41 CEST 2019 Igor Gnatenko - 0.3.8-4 +- Regenerate + +* Sun Feb 10 2019 Igor Gnatenko - 0.3.8-3 +- Run tests in infrastructure + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 29 2019 Josh Stone - 0.3.8-1 +- Update to 0.3.8 + +* Mon Jan 28 2019 Josh Stone - 0.3.7-1 +- Update to 0.3.7 + +* Tue Jan 08 2019 Josh Stone - 0.3.6-1 +- Update to 0.3.6 + +* Sat Dec 15 2018 Igor Gnatenko - 0.3.3-1 +- Update to 0.3.3 + +* Sun Oct 28 2018 Igor Gnatenko - 0.2.6-1 +- Update to 0.2.6 + +* Sat Sep 08 2018 Igor Gnatenko - 0.2.4-1 +- Initial package + +## END: Generated by rpmautospec