import rust-backtrace-0.3.69-1.el9

i9ce changed/i9ce/rust-backtrace-0.3.69-1.el9
MSVSphere Packaging Team 1 year ago
parent f0dfb818c7
commit 382f173f21

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/backtrace-0.3.69.crate

@ -0,0 +1 @@
ff7485b6226bc3f3d52686cfbbe55aed48fa4812 SOURCES/backtrace-0.3.69.crate

Binary file not shown.

@ -1,6 +1,6 @@
--- backtrace-0.3.67/Cargo.toml 1970-01-01T00:00:01+00:00 --- backtrace-0.3.69/Cargo.toml 1970-01-01T00:00:01+00:00
+++ backtrace-0.3.67/Cargo.toml 2023-03-30T21:35:36.293509+00:00 +++ backtrace-0.3.69/Cargo.toml 2023-11-29T18:35:10.063960+00:00
@@ -127,18 +127,5 @@ @@ -104,16 +104,6 @@
std = [] std = []
unix-backtrace = [] unix-backtrace = []
verify-winapi = [ verify-winapi = [
@ -16,6 +16,11 @@
- "winapi/winnt", - "winapi/winnt",
] ]
[target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.addr2line]
@@ -140,6 +130,3 @@
]
default-features = false
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9" -version = "0.3.9"
-optional = true -optional = true

@ -1,14 +1,6 @@
--- backtrace-0.3.67/Cargo.toml 1970-01-01T00:00:01+00:00 --- backtrace-0.3.69/Cargo.toml 1970-01-01T00:00:01+00:00
+++ backtrace-0.3.67/Cargo.toml 2023-03-30T21:36:01.225600+00:00 +++ backtrace-0.3.69/Cargo.toml 2023-11-29T18:35:41.541100+00:00
@@ -25,6 +25,7 @@ @@ -49,17 +49,7 @@
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/backtrace-rs"
+exclude = ["/ci/"]
[[example]]
name = "backtrace"
@@ -48,17 +49,7 @@
edition = "2018" edition = "2018"
[[test]] [[test]]

@ -0,0 +1,14 @@
[package]
summary = "Library to acquire a stack trace (backtrace) at runtime in a Rust program"
[features]
hide = [
"coresymbolication",
"dbghelp",
"dladdr",
"kernel32",
"libunwind",
"unix-backtrace",
"verify-winapi",
]

@ -2,35 +2,34 @@
## (rpmautospec version 0.3.5) ## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog ## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2; release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1); print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%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.67 Version: 0.3.69
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
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/backtrace URL: https://crates.io/crates/backtrace
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies # Automatically generated patch to strip dependencies and normalize metadata
Patch: backtrace-fix-metadata-auto.diff 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)
# * exclude files for upstream CI
Patch: backtrace-fix-metadata.diff Patch: backtrace-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A library to acquire a stack trace (backtrace) at runtime in a Rust A library to acquire a stack trace (backtrace) at runtime in a Rust
@ -162,12 +161,12 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep
# 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)
rm -r tests/accuracy/ rm -r tests/accuracy/
rm tests/current-exe-mismatch.rs rm tests/current-exe-mismatch.rs
%cargo_prep
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires
@ -188,9 +187,15 @@ rm tests/current-exe-mismatch.rs
%endif %endif
%changelog %changelog
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.67-2 * Wed Nov 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.69-1
- Update to version 0.3.69; Fixes RHBZ#2218705
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.67-3
- Rebuilt for MSVSphere 9.2 - Rebuilt for MSVSphere 9.2
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.67-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.67-2 * Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.67-2
- Skip a test that fails on i686 for unknown reasons - Skip a test that fails on i686 for unknown reasons

Loading…
Cancel
Save