diff --git a/.gitignore b/.gitignore index d6d3043..97e8be3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /lexical-core-0.7.3.crate /lexical-core-0.7.4.crate /lexical-core-0.7.6.crate +/lexical-core-0.8.2.crate diff --git a/lexical-core-fix-metadata.diff b/lexical-core-fix-metadata.diff new file mode 100644 index 0000000..6d2fe4b --- /dev/null +++ b/lexical-core-fix-metadata.diff @@ -0,0 +1,11 @@ +--- lexical-core-0.7.6/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ lexical-core-0.7.6/Cargo.toml 2021-11-14T11:46:47.051207+00:00 +@@ -71,7 +71,7 @@ + version = "1" + optional = true + [dev-dependencies.approx] +-version = "0.4.0" ++version = "0.5.0" + + [features] + correct = ["arrayvec", "static_assertions", "table"] diff --git a/rust-lexical-core.spec b/rust-lexical-core.spec index 412c157..366cc0e 100644 --- a/rust-lexical-core.spec +++ b/rust-lexical-core.spec @@ -1,6 +1,5 @@ -# Generated by rust2rpm 17 -# * approx ^0.4 dev-dependency too old / too new in Fedora -%bcond_with check +# Generated by rust2rpm 18 +%bcond_without check %global debug_package %{nil} %global crate lexical-core @@ -14,6 +13,9 @@ Summary: Lexical, to- and from-string conversion routines License: MIT or ASL 2.0 URL: https://crates.io/crates/lexical-core Source: %{crates_source} +# Initial patched metadata +# * Bump approx to 0.5.0 +Patch0: lexical-core-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build}