From 42ebe447ed2fabf3370a7c7c9030ac95f7e04526 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 30 May 2019 17:34:49 +0200 Subject: [PATCH] Update to 0.2.16 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-structopt.spec | 39 +++++++++++++++++++++++++++++++++------ sources | 2 +- 3 files changed, 35 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ca46448..6375b15 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /structopt-0.2.13.crate /structopt-0.2.14.crate /structopt-0.2.15.crate +/structopt-0.2.16.crate diff --git a/rust-structopt.spec b/rust-structopt.spec index 6219667..6e6878d 100644 --- a/rust-structopt.spec +++ b/rust-structopt.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm +# Generated by rust2rpm 9 %bcond_with check %global debug_package %{nil} %global crate structopt Name: rust-%{crate} -Version: 0.2.15 -Release: 2%{?dist} +Version: 0.2.16 +Release: 1%{?dist} Summary: Parse command line argument by defining a struct # Upstream license specification: Apache-2.0/MIT @@ -19,10 +19,10 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(clap) >= 2.21.0 with crate(clap) < 3.0.0) BuildRequires: (crate(clap/default) >= 2.21.0 with crate(clap/default) < 3.0.0) -BuildRequires: (crate(structopt-derive/default) >= 0.2.15 with crate(structopt-derive/default) < 0.3.0) +BuildRequires: (crate(structopt-derive/default) >= 0.2.16 with crate(structopt-derive/default) < 0.3.0) -%global _description \ -Parse command line argument by defining a struct. +%global _description %{expand: +Parse command line argument by defining a struct.} %description %{_description} @@ -88,6 +88,30 @@ which use "doc" feature of "%{crate}" crate. %files -n %{name}+doc-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+lints-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lints-devel %{_description} + +This package contains library source intended for building other packages +which use "lints" feature of "%{crate}" crate. + +%files -n %{name}+lints-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+no_cargo-devel Summary: %{summary} BuildArch: noarch @@ -153,6 +177,9 @@ which use "yaml" feature of "%{crate}" crate. %endif %changelog +* Thu May 30 17:34:06 CEST 2019 Igor Gnatenko - 0.2.16-1 +- Update to 0.2.16 + * Sun Mar 10 2019 Igor Gnatenko - 0.2.15-2 - Do not pull optional dependencies diff --git a/sources b/sources index a4d5ffb..2d62d23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (structopt-0.2.15.crate) = b9428ab6cf47d4f768422e100ced57bf38c4e32adf4adbd00b03575e0dfa8130162f45a76ea45a3156d149ec908121acec3c5011526c43c693653313814e6cc2 +SHA512 (structopt-0.2.16.crate) = 3154f168dabdb6476989970e75d43c8d730f73b567171c0d3bedaa1549ffa13dc543c28b25174efdbb90637b972e9e857dbf2422b95fb55ed9dabbde069e191e