Update to version 5.7.0; Fixes RHBZ#2177963

epel9
Fabio Valentini 2 years ago
parent ed2ef2371d
commit d97cb91680
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/miette-4.4.0.crate /miette-4.4.0.crate
/miette-5.1.1.crate /miette-5.1.1.crate
/miette-5.5.0.crate /miette-5.5.0.crate
/miette-5.7.0.crate

@ -1,3 +0,0 @@
# rust-miette
The rust-miette package

@ -1,11 +0,0 @@
--- miette-5.1.1/src/lib.rs 1973-11-29 13:33:09.000000000 -0800
+++ miette-5.1.1-fix-handleropts-tests/src/lib.rs 2022-07-25 18:55:59.356397534 -0700
@@ -559,7 +559,7 @@
//!
//! Usage is like so:
//!
-//! ```rust
+//! ```ignore
//! miette::set_hook(Box::new(|_| {
//! Box::new(
//! miette::MietteHandlerOpts::new()

@ -0,0 +1,25 @@
--- miette-5.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ miette-5.7.0/Cargo.toml 2023-04-01T16:39:08.729275+00:00
@@ -32,10 +32,6 @@
[dependencies.backtrace]
version = "0.3.61"
-optional = true
-
-[dependencies.backtrace-ext]
-version = "0.2.1"
optional = true
[dependencies.is-terminal]
@@ -107,11 +103,6 @@
[features]
default = []
-fancy = [
- "fancy-no-backtrace",
- "backtrace",
- "backtrace-ext",
-]
fancy-no-backtrace = [
"owo-colors",
"is-terminal",

@ -1,25 +1,26 @@
# Generated by rust2rpm 23 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate miette %global crate miette
Name: rust-miette Name: rust-miette
Version: 5.5.0 Version: 5.7.0
Release: %autorelease Release: %autorelease
Summary: Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers Summary: Fancy diagnostic reporting library and protocol for us mere mortals
License: Apache-2.0 License: Apache-2.0
URL: https://crates.io/crates/miette URL: https://crates.io/crates/miette
Source: %{crates_source} Source: %{crates_source}
# fix https://github.com/zkat/miette/issues/88 # Manually created patch for downstream crate metadata changes
Patch: %{crate}-fix-handleropts-test.patch # * disable unused "fancy" feature with missing "backtrace-ext" dependency
Patch: miette-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Fancy diagnostic reporting library and protocol for us mere mortals who aren't Fancy diagnostic reporting library and protocol for us mere mortals who
compiler hackers.} aren't compiler hackers.}
%description %{_description} %description %{_description}
@ -52,18 +53,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+atty-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+atty-devel %{_description}
This package contains library source intended for building other packages which
use the "atty" feature of the "%{crate}" crate.
%files -n %{name}+atty-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+backtrace-devel %package -n %{name}+backtrace-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -76,28 +65,28 @@ use the "backtrace" feature of the "%{crate}" crate.
%files -n %{name}+backtrace-devel %files -n %{name}+backtrace-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+fancy-devel %package -n %{name}+fancy-no-backtrace-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+fancy-devel %{_description} %description -n %{name}+fancy-no-backtrace-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 "fancy" feature of the "%{crate}" crate. use the "fancy-no-backtrace" feature of the "%{crate}" crate.
%files -n %{name}+fancy-devel %files -n %{name}+fancy-no-backtrace-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+fancy-no-backtrace-devel %package -n %{name}+is-terminal-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+fancy-no-backtrace-devel %{_description} %description -n %{name}+is-terminal-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 "fancy-no-backtrace" feature of the "%{crate}" crate. use the "is-terminal" feature of the "%{crate}" crate.
%files -n %{name}+fancy-no-backtrace-devel %files -n %{name}+is-terminal-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+owo-colors-devel %package -n %{name}+owo-colors-devel

@ -1 +1 @@
SHA512 (miette-5.5.0.crate) = 1d1ad87a3f78fb06e1d50a9f9e58835f8b651aa8863e8629c81184fd756aa02ca36a8b6359dff93c855d7cedbd88567e82b09c18deead7fe9941d522e2ae26dd SHA512 (miette-5.7.0.crate) = 9dea5d23a3986d03e284b35e3ba03fcb13a1c2dc0f9d1f8776118f7ca6a987e1949fdee3abfaa906026d7814a0989ae9c2b93a29d664110d6cdebc6afec13c9c

Loading…
Cancel
Save