Update to version 0.6.12; Fixes RHBZ#2263949

epel10
Fabio Valentini 1 year ago
parent 3bc65a8784
commit 1ecbf272cb
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/eyre-0.6.8.crate /eyre-0.6.8.crate
/eyre-0.6.12.crate

@ -1,24 +1,25 @@
--- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00 --- eyre-0.6.12/Cargo.toml 1970-01-01T00:00:01+00:00
+++ eyre-0.6.8/Cargo.toml 2023-04-20T19:05:23.324498+00:00 +++ eyre-0.6.12/Cargo.toml 2024-02-14T15:54:41.554088+00:00
@@ -66,10 +66,6 @@ @@ -41,11 +41,6 @@
[dependencies.once_cell] [dependencies.once_cell]
version = "1.4.0" version = "1.18.0"
-[dependencies.pyo3] -[dependencies.pyo3]
-version = "0.13" -version = "0.20"
-optional = true -optional = true
-default-features = false -default-features = false
-
[dev-dependencies.anyhow] [dev-dependencies.anyhow]
version = "1.0.28" version = "1.0.28"
@@ -78,11 +74,6 @@ @@ -54,11 +49,6 @@
[dev-dependencies.futures] [dev-dependencies.futures]
version = "0.3" version = "0.3"
-default-features = false -default-features = false
- -
-[dev-dependencies.pyo3] -[dev-dependencies.pyo3]
-version = "0.13" -version = "0.20"
-features = ["auto-initialize"] -features = ["auto-initialize"]
default-features = false default-features = false

@ -1,11 +1,11 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate eyre %global crate eyre
Name: rust-eyre Name: rust-eyre
Version: 0.6.8 Version: 0.6.12
Release: %autorelease Release: %autorelease
Summary: Flexible concrete Error Reporting type with customizable Reports Summary: Flexible concrete Error Reporting type with customizable Reports
@ -13,10 +13,10 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/eyre URL: https://crates.io/crates/eyre
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * drop optional pyo3 dependencies (version does not match what is in Fedora) # * drop optional support for PyO3
Patch: eyre-fix-metadata.diff Patch: eyre-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Flexible concrete Error Reporting type built on std::error::Error with Flexible concrete Error Reporting type built on std::error::Error with
@ -77,7 +77,7 @@ use the "track-caller" 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 %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -91,9 +91,7 @@ use the "track-caller" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# * some doctests fail to compile with thiserror 1.0.40: %cargo_test
# https://github.com/yaahc/eyre/issues/94
%cargo_test -- -- --skip "src/macros.rs"
%endif %endif
%changelog %changelog

@ -0,0 +1,3 @@
[package]
summary = "Flexible concrete Error Reporting type with customizable Reports"

@ -1 +1 @@
SHA512 (eyre-0.6.8.crate) = 0a54e2ce9d58e80596ab7d55f0f913fe3d9bad6cdc5f56b9aa4683732e2d409e288a579e89b300e35a822f56017524b2ebbc0e60860b9dd6e479080f7cb14324 SHA512 (eyre-0.6.12.crate) = 6d5e3bcc138189e958693dda0c2300c6a30567f60f65432c4f24e41a3def7431366e45de62f74f21485d678daf831e77ab04ba80346c57cffb694a179380e769

Loading…
Cancel
Save