Skip some doctests that fail to compile with thiserror 1.0.40

epel10
Fabio Valentini 2 years ago
parent dc0f92712f
commit 6e9ef01b81
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

@ -1,5 +1,5 @@
--- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00 --- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00
+++ eyre-0.6.8/Cargo.toml 2022-07-15T12:02:08.664203+00:00 +++ eyre-0.6.8/Cargo.toml 2023-04-20T19:05:23.324498+00:00
@@ -66,10 +66,6 @@ @@ -66,10 +66,6 @@
[dependencies.once_cell] [dependencies.once_cell]
version = "1.4.0" version = "1.4.0"

@ -1,23 +1,20 @@
# Generated by rust2rpm 21 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate eyre %global crate eyre
Name: rust-%{crate} Name: rust-eyre
Version: 0.6.8 Version: 0.6.8
Release: %autorelease Release: %autorelease
Summary: Flexible concrete Error Reporting type built on std::error::Error Summary: Flexible concrete Error Reporting type with customizable Reports
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/eyre URL: https://crates.io/crates/eyre
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * drop optional pyo3 dependencies (version does not match what is in Fedora) # * drop optional pyo3 dependencies (version does not match what is in Fedora)
Patch0: eyre-fix-metadata.diff Patch: eyre-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
@ -94,7 +91,9 @@ use the "track-caller" feature of the "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
%cargo_test # * some doctests fail to compile with thiserror 1.0.40:
# https://github.com/yaahc/eyre/issues/94
%cargo_test -- -- --skip "src/macros.rs"
%endif %endif
%changelog %changelog

Loading…
Cancel
Save