diff --git a/rust-svgtypes.spec b/rust-svgtypes.spec index 955f1b2..85bcbf2 100644 --- a/rust-svgtypes.spec +++ b/rust-svgtypes.spec @@ -13,6 +13,10 @@ Summary: SVG types parser and writer License: MIT or ASL 2.0 URL: https://crates.io/crates/svgtypes Source: %{crates_source} +# Initial patched metadata +# * bump float-cmp from 0.8 to 0.9: +# https://github.com/RazrFalcon/svgtypes/pull/12 +Patch0: svgtypes-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/svgtypes-fix-metadata.diff b/svgtypes-fix-metadata.diff new file mode 100644 index 0000000..61168ef --- /dev/null +++ b/svgtypes-fix-metadata.diff @@ -0,0 +1,11 @@ +--- svgtypes-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ svgtypes-0.6.0/Cargo.toml 2021-08-26T13:53:53.318246+00:00 +@@ -23,7 +23,7 @@ + license = "MIT/Apache-2.0" + repository = "https://github.com/RazrFalcon/svgtypes" + [dependencies.float-cmp] +-version = "0.8" ++version = "0.9" + features = ["std"] + default-features = false +