commit 013dd5eabb87a3cb0d6dc6e160ea4c1b7ceaea1c Author: tigro Date: Mon Jan 15 20:32:55 2024 +0300 import rust-async-process-2.0.1-1.el9 diff --git a/.rust-async-process.metadata b/.rust-async-process.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/async-process-2.0.1.crate b/SOURCES/async-process-2.0.1.crate new file mode 100644 index 0000000..3afc2c9 Binary files /dev/null and b/SOURCES/async-process-2.0.1.crate differ diff --git a/SOURCES/async-process-fix-metadata-auto.diff b/SOURCES/async-process-fix-metadata-auto.diff new file mode 100644 index 0000000..7ac095f --- /dev/null +++ b/SOURCES/async-process-fix-metadata-auto.diff @@ -0,0 +1,19 @@ +--- async-process-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-process-2.0.1/Cargo.toml 2024-01-05T20:42:25.696229+00:00 +@@ -64,16 +64,3 @@ + ] + default-features = false + +-[target."cfg(windows)".dependencies.async-channel] +-version = "2.0.0" +- +-[target."cfg(windows)".dependencies.blocking] +-version = "1.0.0" +- +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.52" +-features = [ +- "Win32_Foundation", +- "Win32_System_Threading", +-] +-default-features = false diff --git a/SPECS/rust-async-process.spec b/SPECS/rust-async-process.spec new file mode 100644 index 0000000..ae17cc9 --- /dev/null +++ b/SPECS/rust-async-process.spec @@ -0,0 +1,126 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate async-process + +Name: rust-async-process +Version: 2.0.1 +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 +* Mon Jan 15 2024 Arkady L. Shane - 2.0.1-1 +- Rebuilt for MSVSphere 9.3 + +* 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 +