|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate backtrace
|
|
|
|
%global crate backtrace
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-backtrace
|
|
|
|
Name: rust-backtrace
|
|
|
|
Version: 0.3.69
|
|
|
|
Version: 0.3.74
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
|
|
|
|
Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
|
|
|
|
|
|
|
|
|
|
|
@ -17,6 +17,7 @@ Patch: backtrace-fix-metadata-auto.diff
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop "accuracy" test (requires crates to be built in dylib mode)
|
|
|
|
# * drop "accuracy" test (requires crates to be built in dylib mode)
|
|
|
|
# * drop "current-exe-mismatch" test (fails on i686 for unknown reasons)
|
|
|
|
# * drop "current-exe-mismatch" test (fails on i686 for unknown reasons)
|
|
|
|
|
|
|
|
# * bump addr2line from 0.22.0 to 0.24.0
|
|
|
|
Patch: backtrace-fix-metadata.diff
|
|
|
|
Patch: backtrace-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
@ -66,40 +67,16 @@ use the "cpp_demangle" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+cpp_demangle-devel
|
|
|
|
%files -n %{name}+cpp_demangle-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+gimli-symbolize-devel
|
|
|
|
%package -n %{name}+dl_iterate_phdr-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+gimli-symbolize-devel %{_description}
|
|
|
|
%description -n %{name}+dl_iterate_phdr-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "gimli-symbolize" feature of the "%{crate}" crate.
|
|
|
|
use the "dl_iterate_phdr" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+gimli-symbolize-devel
|
|
|
|
%files -n %{name}+dl_iterate_phdr-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+libbacktrace-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+libbacktrace-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "libbacktrace" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+libbacktrace-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustc-serialize-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rustc-serialize-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "rustc-serialize" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rustc-serialize-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
@ -114,18 +91,6 @@ use the "serde" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serialize-rustc-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serialize-rustc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "serialize-rustc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serialize-rustc-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serialize-serde-devel
|
|
|
|
%package -n %{name}+serialize-serde-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -169,11 +134,14 @@ rm tests/current-exe-mismatch.rs
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# https://github.com/rust-lang/backtrace-rs/issues/204
|
|
|
|
# * https://github.com/rust-lang/backtrace-rs/issues/204
|
|
|
|
# * tests/smoke.rs/smoke_test_frames: fails on all architectures
|
|
|
|
# * tests/smoke.rs/smoke_test_frames: fails on all architectures
|
|
|
|
# * tests/smoke.rs/sp_smoke_test: crashes when frame pointers are enabled on x86_64
|
|
|
|
# * tests/smoke.rs/sp_smoke_test: crashes when frame pointers are enabled on
|
|
|
|
# * backtrace_new_unresolved_should_start_with_call_site_trace: fails on aarch64, ppc64le, s390x
|
|
|
|
# x86_64
|
|
|
|
%cargo_test -- -- --skip smoke_test_frames --skip sp_smoke_test --skip backtrace_new_unresolved_should_start_with_call_site_trace
|
|
|
|
# * backtrace_new_should_start_with_call_site_trace: fails on s390x
|
|
|
|
|
|
|
|
# * backtrace_new_unresolved_should_start_with_call_site_trace: fails on
|
|
|
|
|
|
|
|
# aarch64, ppc64le, s390x
|
|
|
|
|
|
|
|
%cargo_test -- -- --skip smoke_test_frames --skip sp_smoke_test --skip backtrace_new_should_start_with_call_site_trace --skip backtrace_new_unresolved_should_start_with_call_site_trace
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|