diff --git a/backtrace-fix-metadata-auto.diff b/backtrace-fix-metadata-auto.diff index 9197998..31cdcee 100644 --- a/backtrace-fix-metadata-auto.diff +++ b/backtrace-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- backtrace-0.3.67/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.67/Cargo.toml 2023-03-30T18:24:56.581547+00:00 ++++ backtrace-0.3.67/Cargo.toml 2023-03-30T21:35:36.293509+00:00 @@ -127,18 +127,5 @@ std = [] unix-backtrace = [] diff --git a/backtrace-fix-metadata.diff b/backtrace-fix-metadata.diff index 8f057a5..b633fd9 100644 --- a/backtrace-fix-metadata.diff +++ b/backtrace-fix-metadata.diff @@ -1,5 +1,5 @@ --- backtrace-0.3.67/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.67/Cargo.toml 2023-03-30T18:25:14.041607+00:00 ++++ backtrace-0.3.67/Cargo.toml 2023-03-30T21:36:01.225600+00:00 @@ -25,6 +25,7 @@ readme = "README.md" license = "MIT OR Apache-2.0" @@ -8,15 +8,21 @@ [[example]] name = "backtrace" -@@ -44,11 +45,6 @@ +@@ -48,17 +49,7 @@ + edition = "2018" [[test]] - name = "smoke" +-name = "accuracy" -required-features = ["std"] -edition = "2018" - -[[test]] --name = "accuracy" + name = "concurrent-panics" +-harness = false +-required-features = ["std"] +- +-[[test]] +-name = "current-exe-mismatch" + harness = false required-features = ["std"] - edition = "2018" diff --git a/rust-backtrace.spec b/rust-backtrace.spec index a765b9e..6cbad10 100644 --- a/rust-backtrace.spec +++ b/rust-backtrace.spec @@ -15,7 +15,8 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: backtrace-fix-metadata-auto.diff # 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) # * exclude files for upstream CI Patch: backtrace-fix-metadata.diff @@ -152,8 +153,10 @@ use the "std" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -# drop accuracy test (requires stuff 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) rm -r tests/accuracy/ +rm tests/current-exe-mismatch.rs %cargo_prep %generate_buildrequires