commit 155562a8b3fb4a052d0f7341e1e369444f913ab4 Author: tigro Date: Mon Jan 15 21:03:18 2024 +0300 import rust-duct-0.13.6-1.el9 diff --git a/.rust-duct.metadata b/.rust-duct.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/duct-0.13.6.crate b/SOURCES/duct-0.13.6.crate new file mode 100644 index 0000000..77888bd Binary files /dev/null and b/SOURCES/duct-0.13.6.crate differ diff --git a/SOURCES/duct-fix-metadata.diff b/SOURCES/duct-fix-metadata.diff new file mode 100644 index 0000000..ad8a2c7 --- /dev/null +++ b/SOURCES/duct-fix-metadata.diff @@ -0,0 +1,10 @@ +--- duct-0.13.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ duct-0.13.6/Cargo.toml 2023-05-17T11:06:45.960536+00:00 +@@ -26,6 +26,7 @@ + ] + license = "MIT" + repository = "https://github.com/oconnor663/duct.rs" ++autobins = false + + [dependencies.once_cell] + version = "1.0.1" diff --git a/SPECS/rust-duct.spec b/SPECS/rust-duct.spec new file mode 100644 index 0000000..504f524 --- /dev/null +++ b/SPECS/rust-duct.spec @@ -0,0 +1,135 @@ +## 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 24 +# * helper binaries for tests are not built +%bcond_with check +%global debug_package %{nil} + +%global crate duct + +Name: rust-duct +Version: 0.13.6 +Release: %autorelease +Summary: Library for running child processes + +License: MIT +URL: https://crates.io/crates/duct +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * prevent test binaries from being built and shipped +Patch: duct-fix-metadata.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +A library for running child 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 +%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_no_tilde} -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 - 0.13.6-1 +- Rebuilt for MSVSphere 9.3 + +* Wed May 17 2023 Fabio Valentini - 0.13.6-1 +- Update to version 0.13.6; Fixes RHBZ#2149146 + +* Sun May 14 2023 Fabio Valentini - 0.13.5-6 +- Make dependency on /usr/bin/python3 for running tests explicit. + +* Fri Jan 20 2023 Fedora Release Engineering - 0.13.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.13.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.13.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.13.5-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Feb 07 2021 Fabio Valentini - 0.13.5-1 +- Update to version 0.13.5. +- Fixes RHBZ#1925327 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.13.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.13.4-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.13.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Apr 14 2020 Josh Stone - 0.13.4-1 +- Update to 0.13.4 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 19 2019 Josh Stone - 0.13.3-1 +- Update to 0.13.3 + +* Thu Sep 26 19:57:37 CEST 2019 Robert-André Mauchin - 0.13.0-1 +- Release 0.13.0 (#1754305) + +* Fri Jul 26 2019 Fedora Release Engineering - 0.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jul 07 16:23:40 CEST 2019 Igor Gnatenko - 0.12.0-1 +- Initial package +