Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent 672d178892
commit 4ecf8c8b0e
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

@ -1,33 +1,27 @@
# Generated by rust2rpm 10
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate shared_child
Name: rust-%{crate}
Name: rust-shared_child
Version: 0.3.4
Release: %autorelease
Summary: Library for using child processes from multiple threads
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/shared_child
Source: %{crates_source}
# Initial patched metadata
# * No windows
Patch0: shared_child-fix-metadata.diff
# https://github.com/oconnor663/shared_child.rs/issues/16
Patch0001: 0001-Avoid-using-python-in-the-tests.patch
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
# Automatically generated patch to strip foreign dependencies
Patch: shared_child-fix-metadata-auto.diff
# * replace usage of /usr/bin/python with simple /usr/bin/sleep:
# https://github.com/oconnor663/shared_child.rs/issues/16
Patch: 0001-Avoid-using-python-in-the-tests.patch
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Library for using child processes from multiple threads.}
A library for using child processes from multiple threads.}
%description %{_description}
@ -37,13 +31,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -51,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
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 %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1,5 +1,5 @@
--- shared_child-0.3.4/Cargo.toml 1970-01-01T00:00:00+00:00
+++ shared_child-0.3.4/Cargo.toml 2019-09-08T13:57:19.508291+00:00
+++ shared_child-0.3.4/Cargo.toml 2023-04-12T16:58:16.048194+00:00
@@ -22,6 +22,3 @@
repository = "https://github.com/oconnor663/shared_child.rs"
[target."cfg(not(windows))".dependencies.libc]
Loading…
Cancel
Save