The package rpms/rust-backtrace.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-backtrace.git/commit/?id=a2a432....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 6888184fc07391f4b45f30a589aa45dfc53be73a Author: Fabio Valentini decathorpe@gmail.com Date: Thu Mar 30 23:37:29 2023 +0200
Skip a test that fails on i686 for unknown reasons
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
commit a2a432fb322e53d1104fb60974fb743917b3f0f5 Author: Fabio Valentini decathorpe@gmail.com Date: Thu Mar 30 22:09:31 2023 +0200
Update to version 0.3.67; Fixes RHBZ#2153583
diff --git a/.gitignore b/.gitignore index a9e1a78..ef09a0a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /backtrace-0.3.61.crate /backtrace-0.3.64.crate /backtrace-0.3.66.crate +/backtrace-0.3.67.crate diff --git a/README.md b/README.md deleted file mode 100644 index b6f992f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-backtrace - -The rust-backtrace package \ No newline at end of file diff --git a/backtrace-fix-metadata-auto.diff b/backtrace-fix-metadata-auto.diff index 8341996..9197998 100644 --- a/backtrace-fix-metadata-auto.diff +++ b/backtrace-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- backtrace-0.3.66/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.66/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -121,18 +121,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 +@@ -127,18 +127,5 @@ std = [] unix-backtrace = [] verify-winapi = [ diff --git a/backtrace-fix-metadata.diff b/backtrace-fix-metadata.diff index 22d1ef2..8f057a5 100644 --- a/backtrace-fix-metadata.diff +++ b/backtrace-fix-metadata.diff @@ -1,29 +1,22 @@ ---- backtrace-0.3.66/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.66/Cargo.toml 2022-08-09T16:52:09.034297+00:00 +--- 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 @@ -25,6 +25,7 @@ readme = "README.md" - license = "MIT/Apache-2.0" + license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/backtrace-rs" +exclude = ["/ci/"]
[[example]] name = "backtrace" -@@ -48,17 +49,12 @@ - edition = "2018" +@@ -44,11 +45,6 @@
[[test]] --name = "accuracy" + name = "smoke" -required-features = ["std"] -edition = "2018" - -[[test]] - name = "concurrent-panics" - harness = false +-name = "accuracy" required-features = ["std"] + edition = "2018"
- [dependencies.addr2line] --version = "0.17.0" -+version = "0.18.0" - default-features = false - - [dependencies.cfg-if] diff --git a/rust-backtrace.spec b/rust-backtrace.spec index d9b99c6..a765b9e 100644 --- a/rust-backtrace.spec +++ b/rust-backtrace.spec @@ -1,32 +1,29 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil}
%global crate backtrace
Name: rust-backtrace -Version: 0.3.66 +Version: 0.3.67 Release: %autorelease Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
-# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/backtrace Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: backtrace-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * bump addr2line from 0.17.0 to 0.18.0 # * drop accuracy test (requires crates to be built in dylib mode) # * exclude files for upstream CI Patch: backtrace-fix-metadata.diff
-ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21
%global _description %{expand: -Library to acquire a stack trace (backtrace) at runtime in a Rust program.} +A library to acquire a stack trace (backtrace) at runtime in a Rust +program.}
%description %{_description}
diff --git a/sources b/sources index 5205a85..3454d56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (backtrace-0.3.66.crate) = 7370ce52d0b949a6faa05f91225f60928e42e52c00ed2ba4054ef7efd41cd65c77b0e67c8afb9d5bf834eb4b1451b642720521e17d1954be810e3c5fc70bf646 +SHA512 (backtrace-0.3.67.crate) = 8603a3b63f4f08be315176908134243680bf1a4b0e6cb26ed81f5fc1060279126ca0ef28f209a10289e1a85214b35db6b496affd71ad21524094f3ee3acd31b6
commit 52c23048d5779911156960195e12961579ba25a0 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 20 21:42:01 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit 04e1b08c3532c4a28630935e2dd488fd3cb3d84b Author: Fabio Valentini decathorpe@gmail.com Date: Wed Jan 11 20:35:29 2023 +0100
Skip a test that fails on x86_64 if frame pointers are enabled
diff --git a/rust-backtrace.spec b/rust-backtrace.spec index 8f7bb27..d9b99c6 100644 --- a/rust-backtrace.spec +++ b/rust-backtrace.spec @@ -171,9 +171,10 @@ rm -r tests/accuracy/ %if %{with check} %check # https://github.com/rust-lang/backtrace-rs/issues/204 -# * 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 # * backtrace_new_unresolved_should_start_with_call_site_trace: fails on aarch64, ppc64le, s390x -%cargo_test -- -- --skip smoke_test_frames --skip backtrace_new_unresolved_should_start_with_call_site_trace +%cargo_test -- -- --skip smoke_test_frames --skip sp_smoke_test --skip backtrace_new_unresolved_should_start_with_call_site_trace %endif
%changelog
arch-excludes@lists.fedoraproject.org