Disable example that requires unshipped file

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9 imports/e9/rust-tabled-0.12.0-2.el9
Michel Alexandre Salim 2 years ago
parent abf3b5c52d
commit 4bb811200c
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -12,6 +12,9 @@ Summary: Easy to use library for pretty print tables of Rust structs and
License: MIT
URL: https://crates.io/crates/tabled
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# disable table_width_2 example, requires file from github not in shipped crate
Patch: tabled-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@ -133,6 +136,8 @@ use the "tabled_derive" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
# requires file from github not in shipped crate
rm examples/table_width_2.rs
%cargo_prep
%generate_buildrequires

@ -0,0 +1,14 @@
--- tabled-0.12.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ tabled-0.12.0/Cargo.toml 2023-05-21T19:42:38.675968+00:00
@@ -225,11 +225,6 @@
required-features = ["std"]
[[example]]
-name = "table_width_2"
-path = "examples/table_width_2.rs"
-required-features = ["std"]
-
-[[example]]
name = "height"
path = "examples/height.rs"
required-features = ["std"]
Loading…
Cancel
Save