From eaa07f6b9bd0563962ddbac16d13acb96c0f105f Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:19:36 +0300 Subject: [PATCH] import rust-maybe-rayon-0.1.1-4.el10 --- .gitignore | 1 + .rust-maybe-rayon.metadata | 1 + SPECS/rust-maybe-rayon.spec | 117 ++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-maybe-rayon.metadata create mode 100644 SPECS/rust-maybe-rayon.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4411dc0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/maybe-rayon-0.1.1.crate diff --git a/.rust-maybe-rayon.metadata b/.rust-maybe-rayon.metadata new file mode 100644 index 0000000..cc1dee4 --- /dev/null +++ b/.rust-maybe-rayon.metadata @@ -0,0 +1 @@ +4592b8c564e546b8629747db2cc3cbf3df24b0a6 SOURCES/maybe-rayon-0.1.1.crate diff --git a/SPECS/rust-maybe-rayon.spec b/SPECS/rust-maybe-rayon.spec new file mode 100644 index 0000000..3b30435 --- /dev/null +++ b/SPECS/rust-maybe-rayon.spec @@ -0,0 +1,117 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 maybe-rayon + +Name: rust-maybe-rayon +Version: 0.1.1 +Release: %autorelease +Summary: Either acts as rayon or creates a single-threaded facade + +License: MIT +URL: https://crates.io/crates/maybe-rayon +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Either acts as rayon or creates a single-threaded facade.} + +%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 +%{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}+rayon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rayon-devel %{_description} + +This package contains library source intended for building other packages which +use the "rayon" feature of the "%{crate}" crate. + +%files -n %{name}+rayon-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+threads-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+threads-devel %{_description} + +This package contains library source intended for building other packages which +use the "threads" feature of the "%{crate}" crate. + +%files -n %{name}+threads-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 +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.1.1-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 28 2023 Fabio Valentini - 0.1.1-1 +- Initial import (#2217973) +## END: Generated by rpmautospec