From 647ba5a42d61be744687da01de6e23fde889d297 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 3 Feb 2022 23:49:22 +0100 Subject: [PATCH] Update to version 0.3.64; Fixes RHBZ#2016017 --- .gitignore | 1 + backtrace-fix-metadata.diff | 16 ++++++------ rust-backtrace.spec | 49 +++++++++++++++++-------------------- sources | 2 +- 4 files changed, 33 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index e963355..d49e300 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /backtrace-0.3.55.crate /backtrace-0.3.59.crate /backtrace-0.3.61.crate +/backtrace-0.3.64.crate diff --git a/backtrace-fix-metadata.diff b/backtrace-fix-metadata.diff index aeaf936..504279f 100644 --- a/backtrace-fix-metadata.diff +++ b/backtrace-fix-metadata.diff @@ -1,18 +1,18 @@ ---- backtrace-0.3.61/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ backtrace-0.3.61/Cargo.toml 2021-09-21T21:18:07.275197+00:00 -@@ -47,11 +47,6 @@ - edition = "2018" +--- backtrace-0.3.64/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ backtrace-0.3.64/Cargo.toml 2022-02-03T14:55:24.935091+00:00 +@@ -42,11 +42,6 @@ [[test]] --name = "accuracy" + name = "smoke" -required-features = ["std"] -edition = "2018" - -[[test]] - name = "concurrent-panics" - harness = false +-name = "accuracy" required-features = ["std"] -@@ -97,19 +92,9 @@ + edition = "2018" + +@@ -96,19 +91,9 @@ version = "1.0.67" [features] diff --git a/rust-backtrace.spec b/rust-backtrace.spec index c38fbb5..e92677d 100644 --- a/rust-backtrace.spec +++ b/rust-backtrace.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate backtrace Name: rust-%{crate} -Version: 0.3.61 +Version: 0.3.64 Release: %autorelease Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program @@ -19,9 +19,6 @@ Source: %{crates_source} Patch0: backtrace-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -36,11 +33,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/ci/ @@ -51,8 +48,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -63,8 +60,8 @@ BuildArch: noarch %description -n %{name}+cpp_demangle-devel %{_description} -This package contains library source intended for building other packages -which use "cpp_demangle" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "cpp_demangle" feature of the "%{crate}" crate. %files -n %{name}+cpp_demangle-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -75,8 +72,8 @@ BuildArch: noarch %description -n %{name}+gimli-symbolize-devel %{_description} -This package contains library source intended for building other packages -which use "gimli-symbolize" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "gimli-symbolize" feature of the "%{crate}" crate. %files -n %{name}+gimli-symbolize-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -87,8 +84,8 @@ BuildArch: noarch %description -n %{name}+libbacktrace-devel %{_description} -This package contains library source intended for building other packages -which use "libbacktrace" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -99,8 +96,8 @@ BuildArch: noarch %description -n %{name}+rustc-serialize-devel %{_description} -This package contains library source intended for building other packages -which use "rustc-serialize" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -111,8 +108,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -123,8 +120,8 @@ BuildArch: noarch %description -n %{name}+serialize-rustc-devel %{_description} -This package contains library source intended for building other packages -which use "serialize-rustc" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -135,8 +132,8 @@ BuildArch: noarch %description -n %{name}+serialize-serde-devel %{_description} -This package contains library source intended for building other packages -which use "serialize-serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serialize-serde" feature of the "%{crate}" crate. %files -n %{name}+serialize-serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -147,8 +144,8 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 23fbd8a..e981e91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (backtrace-0.3.61.crate) = 209105f135720b54d584c7ccecdb16b49381cc7531c94b81ff7279a44752ee11075cd85960f86f809a22ecb3dac6728afa05903c1d355df3ad8abf4503eec861 +SHA512 (backtrace-0.3.64.crate) = 37435cca0587c1c7b511536478ff448914d423c9cf6152ec8bb884c19d1c2466c377b270ebce2028960b4a380f3152fbfeb940de943ef4071ed271c7cd576f2e