Update to 0.2.8

epel9
Josh Stone 7 years ago
parent 224f0d8fe4
commit 846f7cfd4d

1
.gitignore vendored

@ -1,3 +1,4 @@
/structopt-0.1.7.crate
/structopt-0.2.5.crate
/structopt-0.2.7.crate
/structopt-0.2.8.crate

@ -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 <jistone@redhat.com> - 0.2.8-1
- Update to 0.2.8
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.2.7-1
- Update to 0.2.7

@ -1 +1 @@
SHA512 (structopt-0.2.7.crate) = 007dd63064162dcc5a00ff031b1d7fbd38554317558cc36c9a6b700dcba3523d88fd22475f60f00f3508ec2f678cfa2220359de70b2a63f94291fb4cb85eacb7
SHA512 (structopt-0.2.8.crate) = 6ddd018d38f7ea3db6d98decb8edce1a87e8e07ae4788addb4c505425a786f5f347439f76d2a6b8e430fb92f980fb61d47fcfb170a15b0d8ec8ff09cbbca1e90

@ -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"]
Loading…
Cancel
Save