|
|
@ -1,14 +1,12 @@
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
# * tests require building the example binaries
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
|
|
|
|
%global cargo_install_bin 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate os_pipe
|
|
|
|
%global crate os_pipe
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-os_pipe
|
|
|
|
Name: rust-os_pipe
|
|
|
|
Version: 1.2.1
|
|
|
|
Version: 1.1.5
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Cross-platform library for opening OS pipes
|
|
|
|
Summary: Cross-platform library for opening OS pipes
|
|
|
|
|
|
|
|
|
|
|
@ -17,11 +15,11 @@ URL: https://crates.io/crates/os_pipe
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
Patch: os_pipe-fix-metadata-auto.diff
|
|
|
|
Patch: os_pipe-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
|
|
|
# * drop unwanted example binaries
|
|
|
|
|
|
|
|
Patch: os_pipe-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 26
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: /usr/bin/python
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A cross-platform library for opening OS pipes.}
|
|
|
|
A cross-platform library for opening OS pipes.}
|
|
|
|