|
|
|
@ -1,21 +1,21 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate io-lifetimes
|
|
|
|
|
|
|
|
|
|
Name: rust-io-lifetimes
|
|
|
|
|
Version: 1.0.11
|
|
|
|
|
Version: 2.0.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Low-level I/O ownership and borrowing library
|
|
|
|
|
|
|
|
|
|
License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/io-lifetimes
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: io-lifetimes-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
A low-level I/O ownership and borrowing library.}
|
|
|
|
@ -77,18 +77,6 @@ use the "close" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+close-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fs-err-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fs-err-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fs-err" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fs-err-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+libc-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -150,7 +138,7 @@ use the "tokio" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|