|
|
|
@ -1,14 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
%bcond_without check
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
# * tests require building the example binaries
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# https://github.com/oconnor663/os_pipe.rs/issues/18
|
|
|
|
|
%global __cargo_is_bin() false
|
|
|
|
|
|
|
|
|
|
%global crate os_pipe
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.9.2
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Cross-platform library for opening OS pipes
|
|
|
|
|
|
|
|
|
@ -17,13 +15,11 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/os_pipe
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * No windows
|
|
|
|
|
# * drop windows-specific dependencies
|
|
|
|
|
# * drop unwanted example binaries
|
|
|
|
|
Patch0: os_pipe-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
@ -38,8 +34,8 @@ 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
|
|
|
|
@ -52,8 +48,8 @@ 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_no_tilde}/Cargo.toml
|
|
|
|
|