|
|
|
@ -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 <ignatenkobrain@fedoraproject.org> - 0.2.16-1
|
|
|
|
|
- Update to 0.2.16
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.15-2
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|