|
|
|
@ -1,25 +1,21 @@
|
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
|
# Generated by rust2rpm 22
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate structopt
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.25
|
|
|
|
|
Name: rust-structopt
|
|
|
|
|
Version: 0.3.26
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0 OR MIT
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
|
License: Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Parse command line argument by defining a struct.}
|
|
|
|
@ -32,13 +28,15 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
|
%doc examples README.md CHANGELOG.md examples/README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -46,11 +44,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+color-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -58,11 +56,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+color-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "color" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "color" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+color-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+debug-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -70,11 +68,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+debug-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "debug" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "debug" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+debug-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+doc-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -82,11 +80,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+doc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "doc" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "doc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+doc-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+no_cargo-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -94,11 +92,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+no_cargo-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "no_cargo" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "no_cargo" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+no_cargo-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+suggestions-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -106,11 +104,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+suggestions-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "suggestions" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "suggestions" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+suggestions-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+wrap_help-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -118,11 +116,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+wrap_help-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "wrap_help" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "wrap_help" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+wrap_help-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+yaml-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -130,11 +128,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+yaml-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "yaml" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "yaml" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+yaml-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|