diff --git a/rust-structopt.spec b/rust-structopt.spec index 9d75810..61026d0 100644 --- a/rust-structopt.spec +++ b/rust-structopt.spec @@ -13,6 +13,9 @@ Summary: Parse command line argument by defining a struct License: ASL 2.0 or MIT URL: https://crates.io/crates/structopt Source: %{crates_source} +# Initial patched metadata +# * Update rustversion to 1, https://github.com/TeXitoi/structopt/pull/308 +Patch0: structopt-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/structopt-fix-metadata.diff b/structopt-fix-metadata.diff new file mode 100644 index 0000000..8f18294 --- /dev/null +++ b/structopt-fix-metadata.diff @@ -0,0 +1,11 @@ +--- structopt-0.3.5/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ structopt-0.3.5/Cargo.toml 2019-12-17T08:47:33.531788+00:00 +@@ -29,7 +29,7 @@ + [dependencies.structopt-derive] + version = "0.3.5" + [dev-dependencies.rustversion] +-version = "0.1" ++version = "1" + + [dev-dependencies.trybuild] + version = "1.0.5"