|
|
|
@ -1,22 +1,23 @@
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# * helper binaries for tests are not built
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
%global crate duct
|
|
|
|
|
|
|
|
|
|
Name: rust-duct
|
|
|
|
|
Version: 0.13.7
|
|
|
|
|
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: cargo-rpm-macros >= 26
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A library for running child processes.}
|
|
|
|
@ -50,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|