commit 12e17fb966e7931838a429099a56addd084d9b61 Author: MSVSphere Packaging Team Date: Fri Dec 20 14:49:19 2024 +0300 import rust-async-process-2.3.0-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..11fea59 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/async-process-2.3.0.crate diff --git a/.rust-async-process.metadata b/.rust-async-process.metadata new file mode 100644 index 0000000..80ff31e --- /dev/null +++ b/.rust-async-process.metadata @@ -0,0 +1 @@ +363f633ec6b380c81aa02b514977471c875fbb2c SOURCES/async-process-2.3.0.crate diff --git a/SOURCES/async-process-fix-metadata-auto.diff b/SOURCES/async-process-fix-metadata-auto.diff new file mode 100644 index 0000000..27c8fc3 --- /dev/null +++ b/SOURCES/async-process-fix-metadata-auto.diff @@ -0,0 +1,38 @@ +--- async-process-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-process-2.3.0/Cargo.toml 2024-09-16T20:22:15.295098+00:00 +@@ -75,15 +75,6 @@ + [dev-dependencies.async-executor] + version = "1.5.1" + +-[target.'cfg(all(unix, not(target_os = "linux")))'.dependencies.rustix] +-version = "0.38" +-features = [ +- "std", +- "fs", +- "process", +-] +-default-features = false +- + [target.'cfg(any(windows, target_os = "linux"))'.dependencies.async-channel] + version = "2.0.0" + +@@ -101,18 +92,8 @@ + ] + default-features = false + +-[target."cfg(windows)".dependencies.blocking] +-version = "1.0.0" +- +-[target."cfg(windows)".dev-dependencies.windows-sys] +-version = "0.59" +-features = [ +- "Win32_Foundation", +- "Win32_System_Threading", +-] +-default-features = false +- + [lints.rust.unexpected_cfgs] + level = "warn" + priority = 0 + check-cfg = ["cfg(async_process_force_signal_backend)"] ++ diff --git a/SPECS/rust-async-process.spec b/SPECS/rust-async-process.spec new file mode 100644 index 0000000..22d0ae2 --- /dev/null +++ b/SPECS/rust-async-process.spec @@ -0,0 +1,146 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 async-process + +Name: rust-async-process +Version: 2.3.0 +Release: %autorelease +Summary: Async interface for working with processes + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/async-process +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: async-process-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Async interface for working with processes.} + +%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 + +%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 - 2.3.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Sep 16 2024 Fabio Valentini - 2.3.0-1 +- Update to version 2.3.0; Fixes RHBZ#2303982 + +* Fri Jul 19 2024 Fedora Release Engineering - 2.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jun 05 2024 Fabio Valentini - 2.2.3-1 +- Update to version 2.2.3; Fixes RHBZ#2284209 + +* Wed Apr 24 2024 Fabio Valentini - 2.2.2-1 +- Update to version 2.2.2; Fixes RHBZ#2276231 + +* Mon Apr 15 2024 Fabio Valentini - 2.2.1-1 +- Update to version 2.2.1; Fixes RHBZ#2264752 + +* Fri Jan 26 2024 Fedora Release Engineering - 2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 05 2024 Fabio Valentini - 2.0.1-1 +- Update to version 2.0.1; Fixes RHBZ#2240641 + +* Fri Nov 03 2023 Fabio Valentini - 1.8.1-1 +- Update to version 1.8.1 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Apr 15 2023 Fabio Valentini - 1.7.0-1 +- Update to version 1.7.0; Fixes RHBZ#2185280 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Dec 04 2022 Fabio Valentini - 1.6.0-1 +- Update to version 1.6.0; Fixes RHBZ#2148698 + +* Sun Aug 21 2022 Fabio Valentini - 1.5.0-1 +- Update to version 1.5.0; Fixes RHBZ#2120047 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu May 12 2022 Fabio Valentini - 1.4.0-1 +- Update to version 1.4.0; Fixes RHBZ#2080708 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Nov 11 2021 Fabio Valentini - 1.3.0-1 +- Update to version 1.3.0; Fixes RHBZ#2021920 + +* Sun Aug 08 2021 Fabio Valentini - 1.2.0-1 +- Update to version 1.2.0; Fixes RHBZ#1991104 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 28 2021 Fabio Valentini - 1.1.0-1 +- Initial package + +## END: Generated by rpmautospec