Update to version 0.13.6; Fixes RHBZ#2149146

epel9 imports/e9/rust-duct-0.13.6-1.el9
Fabio Valentini 2 years ago
parent a0dfcdf06b
commit ecf6549cf0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/duct-0.13.3.crate /duct-0.13.3.crate
/duct-0.13.4.crate /duct-0.13.4.crate
/duct-0.13.5.crate /duct-0.13.5.crate
/duct-0.13.6.crate

@ -1,3 +0,0 @@
# rust-duct
The rust-duct package

@ -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"

@ -1,31 +1,26 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 24
%bcond_without check # * helper binaries for tests are not built
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
# https://github.com/oconnor663/duct.rs/issues/73
%global __cargo_is_bin() false
%global crate duct %global crate duct
Name: rust-%{crate} Name: rust-duct
Version: 0.13.5 Version: 0.13.6
Release: %autorelease Release: %autorelease
Summary: Library for running child processes Summary: Library for running child processes
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/duct URL: https://crates.io/crates/duct
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * prevent test binaries from being built and shipped
Patch: duct-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Library for running child processes.} A library for running child processes.}
%description %{_description} %description %{_description}
@ -35,13 +30,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +44,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
@ -61,9 +56,6 @@ which use "default" feature of "%{crate}" crate.
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
%if %{with check}
echo '/usr/bin/python3'
%endif
%build %build
%cargo_build %cargo_build

@ -1 +1 @@
SHA512 (duct-0.13.5.crate) = 5b8442d956f7eb1186235ac61018255590cb5a3178af90bd97b7610857959e35462e6a013e6aa9941916888e99d7d07c9a3553a8109284d9df03183ead507d89 SHA512 (duct-0.13.6.crate) = bf6a69fc2eda5dbf79dd785eea131d5c9ee38ffa3c99e7ffb9fcd47ef0beae8b3e5e75ef78172e54ef076531a38c4598880694a7b93573ffeffd3861e7776369

Loading…
Cancel
Save