From 846f7cfd4d6c4daf333cfa417bd933569c6eaff2 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 2 May 2018 14:58:43 -0700 Subject: [PATCH] Update to 0.2.8 --- .gitignore | 1 + rust-structopt.spec | 10 ++++++++-- sources | 2 +- structopt-0.2.8-fix-metadata.diff | 10 ++++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 structopt-0.2.8-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 63d0e79..612d70f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /structopt-0.1.7.crate /structopt-0.2.5.crate /structopt-0.2.7.crate +/structopt-0.2.8.crate diff --git a/rust-structopt.spec b/rust-structopt.spec index 321e5ea..5dec6e8 100644 --- a/rust-structopt.spec +++ b/rust-structopt.spec @@ -5,20 +5,23 @@ %global crate structopt Name: rust-%{crate} -Version: 0.2.7 +Version: 0.2.8 Release: 1%{?dist} Summary: Parse command line argument by defining a struct License: ASL 2.0 or MIT URL: https://crates.io/crates/structopt Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * remove feature lints -> clap/lints -> clippy (nightly only) +Patch0: structopt-0.2.8-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(clap) >= 2.20.0 with crate(clap) < 3.0.0) -BuildRequires: (crate(structopt-derive) >= 0.2.7 with crate(structopt-derive) < 0.3.0) +BuildRequires: (crate(structopt-derive) >= 0.2.8 with crate(structopt-derive) < 0.3.0) %description %{summary}. @@ -55,6 +58,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Wed May 02 2018 Josh Stone - 0.2.8-1 +- Update to 0.2.8 + * Tue Apr 17 2018 Josh Stone - 0.2.7-1 - Update to 0.2.7 diff --git a/sources b/sources index d0cfc63..362b2c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (structopt-0.2.7.crate) = 007dd63064162dcc5a00ff031b1d7fbd38554317558cc36c9a6b700dcba3523d88fd22475f60f00f3508ec2f678cfa2220359de70b2a63f94291fb4cb85eacb7 +SHA512 (structopt-0.2.8.crate) = 6ddd018d38f7ea3db6d98decb8edce1a87e8e07ae4788addb4c505425a786f5f347439f76d2a6b8e430fb92f980fb61d47fcfb170a15b0d8ec8ff09cbbca1e90 diff --git a/structopt-0.2.8-fix-metadata.diff b/structopt-0.2.8-fix-metadata.diff new file mode 100644 index 0000000..cabec39 --- /dev/null +++ b/structopt-0.2.8-fix-metadata.diff @@ -0,0 +1,10 @@ +--- structopt-0.2.8/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ structopt-0.2.8/Cargo.toml 2018-05-02T14:54:58.003314-07:00 +@@ -33,7 +33,6 @@ + debug = ["clap/debug"] + default = ["clap/default"] + doc = ["clap/doc"] +-lints = ["clap/lints"] + nightly = ["structopt-derive/nightly"] + no_cargo = ["clap/no_cargo"] + suggestions = ["clap/suggestions"]