|
|
|
@ -1,27 +1,25 @@
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
%bcond_without check
|
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
|
%bcond check 1
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate stacker
|
|
|
|
|
|
|
|
|
|
Name: rust-stacker
|
|
|
|
|
Version: 0.1.15
|
|
|
|
|
Version: 0.1.18
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Stack growth library useful when implementing deeply recursive algorithms
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/stacker
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: stacker-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Stack growth library useful when implementing deeply recursive algorithms that
|
|
|
|
|
may accidentally blow the stack.}
|
|
|
|
|
A stack growth library useful when implementing deeply recursive
|
|
|
|
|
algorithms that may accidentally blow the stack.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -53,7 +51,7 @@ use the "default" 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
|
|
|
|
|