|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate backtrace
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.30
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -19,16 +19,14 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: backtrace-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(autocfg/default) >= 0.1.0 with crate(autocfg/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(backtrace-sys/default) >= 0.1.17 with crate(backtrace-sys/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(cfg-if/default) >= 0.1.6 with crate(cfg-if/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(libc) >= 0.2.45 with crate(libc) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(rustc-demangle/default) >= 0.1.4 with crate(rustc-demangle/default) < 0.2.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
A library to acquire a stack trace (backtrace) at runtime in a Rust program.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Library to acquire a stack trace (backtrace) at runtime in a Rust program.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -254,6 +252,9 @@ which use "unix-backtrace" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -262,11 +263,13 @@ which use "unix-backtrace" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# https://github.com/alexcrichton/backtrace-rs/issues/83
|
|
|
|
|
%cargo_test || :
|
|
|
|
|
%cargo_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jun 22 09:21:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.30-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Tue Jun 04 2019 Josh Stone <jistone@redhat.com> - 0.3.30-1
|
|
|
|
|
- Update to 0.3.30
|
|
|
|
|
|
|
|
|
|