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 %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate shared_child %global crate shared_child
Name: rust-%{crate} Name: rust-shared_child
Version: 0.3.4 Version: 0.3.4
Release: %autorelease Release: %autorelease
Summary: Library for using child processes from multiple threads Summary: Library for using child processes from multiple threads
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/shared_child URL: https://crates.io/crates/shared_child
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No windows Patch: shared_child-fix-metadata-auto.diff
Patch0: shared_child-fix-metadata.diff # * replace usage of /usr/bin/python with simple /usr/bin/sleep:
# https://github.com/oconnor663/shared_child.rs/issues/16 # https://github.com/oconnor663/shared_child.rs/issues/16
Patch0001: 0001-Avoid-using-python-in-the-tests.patch Patch: 0001-Avoid-using-python-in-the-tests.patch
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 using child processes from multiple threads.} A library for using child processes from multiple threads.}
%description %{_description} %description %{_description}
@ -37,13 +31,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}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,11 +45,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}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %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 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 @@ @@ -22,6 +22,3 @@
repository = "https://github.com/oconnor663/shared_child.rs" repository = "https://github.com/oconnor663/shared_child.rs"
[target."cfg(not(windows))".dependencies.libc] [target."cfg(not(windows))".dependencies.libc]
Loading…
Cancel
Save