Blame rust-clap.spec

0a59d8f
# Generated by rust2rpm 21
0a59d8f
# * missing dev-dependencies: snapbox, trycmd
4e69951
%bcond_with check
317048d
%global debug_package %{nil}
317048d
317048d
%global crate clap
317048d
317048d
Name:           rust-%{crate}
7830094
Version:        3.2.8
99b4e33
Release:        %autorelease
80783fe
Summary:        Simple to use, efficient, and full-featured Command Line Argument Parser
317048d
54a977c
# Upstream license specification: MIT OR Apache-2.0
7830094
License:        MIT OR Apache-2.0
317048d
URL:            https://crates.io/crates/clap
7097cef
Source:         %{crates_source}
0a59d8f
# Initial patched metadata
0a59d8f
# * disable building a test fixture binary
0a59d8f
Patch0:         clap-fix-metadata.diff
317048d
317048d
ExclusiveArch:  %{rust_arches}
317048d
0a59d8f
BuildRequires:  rust-packaging >= 21
317048d
80783fe
%global _description %{expand:
80783fe
Simple to use, efficient, and full-featured Command Line Argument Parser.}
6a5b0bb
6a5b0bb
%description %{_description}
317048d
317048d
%package        devel
317048d
Summary:        %{summary}
317048d
BuildArch:      noarch
317048d
685521d
# Feature was dropped upstream
685521d
Obsoletes:      %{name}+lazy_static-devel < 3.2.8
685521d
6a5b0bb
%description    devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files          devel
0a59d8f
%license %{crate_instdir}/LICENSE-APACHE
0a59d8f
%license %{crate_instdir}/LICENSE-MIT
0a59d8f
%doc %{crate_instdir}/README.md
0a59d8f
%{crate_instdir}/
6a5b0bb
6a5b0bb
%package     -n %{name}+default-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+default-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "default" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+default-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
54a977c
%package     -n %{name}+atty-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
54a977c
%description -n %{name}+atty-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "atty" feature of the "%{crate}" crate.
6a5b0bb
54a977c
%files       -n %{name}+atty-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
c89d3d6
%package     -n %{name}+backtrace-devel
c89d3d6
Summary:        %{summary}
c89d3d6
BuildArch:      noarch
c89d3d6
c89d3d6
%description -n %{name}+backtrace-devel %{_description}
c89d3d6
4e69951
This package contains library source intended for building other packages which
4e69951
use the "backtrace" feature of the "%{crate}" crate.
c89d3d6
c89d3d6
%files       -n %{name}+backtrace-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
c89d3d6
54a977c
%package     -n %{name}+cargo-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
54a977c
%description -n %{name}+cargo-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "cargo" feature of the "%{crate}" crate.
6a5b0bb
54a977c
%files       -n %{name}+cargo-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
54a977c
%package     -n %{name}+clap_derive-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
54a977c
%description -n %{name}+clap_derive-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
4e69951
use the "clap_derive" feature of the "%{crate}" crate.
54a977c
54a977c
%files       -n %{name}+clap_derive-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+color-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+color-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "color" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+color-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+debug-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+debug-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "debug" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+debug-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
7830094
%package     -n %{name}+deprecated-devel
7830094
Summary:        %{summary}
7830094
BuildArch:      noarch
7830094
7830094
%description -n %{name}+deprecated-devel %{_description}
7830094
7830094
This package contains library source intended for building other packages which
7830094
use the "deprecated" feature of the "%{crate}" crate.
7830094
7830094
%files       -n %{name}+deprecated-devel
7830094
%ghost %{crate_instdir}/Cargo.toml
7830094
54a977c
%package     -n %{name}+derive-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
54a977c
%description -n %{name}+derive-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
4e69951
use the "derive" feature of the "%{crate}" crate.
54a977c
54a977c
%files       -n %{name}+derive-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
c89d3d6
%package     -n %{name}+env-devel
49f0406
Summary:        %{summary}
49f0406
BuildArch:      noarch
49f0406
c89d3d6
%description -n %{name}+env-devel %{_description}
49f0406
4e69951
This package contains library source intended for building other packages which
4e69951
use the "env" feature of the "%{crate}" crate.
49f0406
c89d3d6
%files       -n %{name}+env-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
49f0406
7830094
%package     -n %{name}+once_cell-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
7830094
%description -n %{name}+once_cell-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
7830094
use the "once_cell" feature of the "%{crate}" crate.
6a5b0bb
7830094
%files       -n %{name}+once_cell-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
54a977c
%package     -n %{name}+regex-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
54a977c
%description -n %{name}+regex-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
4e69951
use the "regex" feature of the "%{crate}" crate.
54a977c
54a977c
%files       -n %{name}+regex-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
54a977c
54a977c
%package     -n %{name}+std-devel
54a977c
Summary:        %{summary}
54a977c
BuildArch:      noarch
54a977c
54a977c
%description -n %{name}+std-devel %{_description}
54a977c
4e69951
This package contains library source intended for building other packages which
4e69951
use the "std" feature of the "%{crate}" crate.
54a977c
54a977c
%files       -n %{name}+std-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+strsim-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+strsim-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "strsim" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+strsim-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+suggestions-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+suggestions-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "suggestions" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+suggestions-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
54a977c
%package     -n %{name}+termcolor-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
54a977c
%description -n %{name}+termcolor-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "termcolor" feature of the "%{crate}" crate.
6a5b0bb
54a977c
%files       -n %{name}+termcolor-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
54a977c
%package     -n %{name}+terminal_size-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
54a977c
%description -n %{name}+terminal_size-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "terminal_size" feature of the "%{crate}" crate.
6a5b0bb
54a977c
%files       -n %{name}+terminal_size-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
c89d3d6
%package     -n %{name}+unicase-devel
c89d3d6
Summary:        %{summary}
c89d3d6
BuildArch:      noarch
c89d3d6
c89d3d6
%description -n %{name}+unicase-devel %{_description}
c89d3d6
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unicase" feature of the "%{crate}" crate.
c89d3d6
c89d3d6
%files       -n %{name}+unicase-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
c89d3d6
c89d3d6
%package     -n %{name}+unicode-devel
c89d3d6
Summary:        %{summary}
c89d3d6
BuildArch:      noarch
c89d3d6
c89d3d6
%description -n %{name}+unicode-devel %{_description}
c89d3d6
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unicode" feature of the "%{crate}" crate.
c89d3d6
c89d3d6
%files       -n %{name}+unicode-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
c89d3d6
4e69951
%package     -n %{name}+unstable-doc-devel
4e69951
Summary:        %{summary}
4e69951
BuildArch:      noarch
4e69951
4e69951
%description -n %{name}+unstable-doc-devel %{_description}
4e69951
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unstable-doc" feature of the "%{crate}" crate.
4e69951
4e69951
%files       -n %{name}+unstable-doc-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
4e69951
4e69951
%package     -n %{name}+unstable-grouped-devel
4e69951
Summary:        %{summary}
4e69951
BuildArch:      noarch
4e69951
4e69951
%description -n %{name}+unstable-grouped-devel %{_description}
4e69951
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unstable-grouped" feature of the "%{crate}" crate.
4e69951
4e69951
%files       -n %{name}+unstable-grouped-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
c89d3d6
c89d3d6
%package     -n %{name}+unstable-replace-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
c89d3d6
%description -n %{name}+unstable-replace-devel %{_description}
317048d
4e69951
This package contains library source intended for building other packages which
4e69951
use the "unstable-replace" feature of the "%{crate}" crate.
6a5b0bb
c89d3d6
%files       -n %{name}+unstable-replace-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
0a59d8f
0a59d8f
%package     -n %{name}+unstable-v4-devel
0a59d8f
Summary:        %{summary}
0a59d8f
BuildArch:      noarch
0a59d8f
0a59d8f
%description -n %{name}+unstable-v4-devel %{_description}
0a59d8f
0a59d8f
This package contains library source intended for building other packages which
0a59d8f
use the "unstable-v4" feature of the "%{crate}" crate.
0a59d8f
0a59d8f
%files       -n %{name}+unstable-v4-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+wrap_help-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+wrap_help-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "wrap_help" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+wrap_help-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+yaml-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+yaml-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "yaml" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+yaml-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
6a5b0bb
6a5b0bb
%package     -n %{name}+yaml-rust-devel
6a5b0bb
Summary:        %{summary}
6a5b0bb
BuildArch:      noarch
6a5b0bb
6a5b0bb
%description -n %{name}+yaml-rust-devel %{_description}
6a5b0bb
4e69951
This package contains library source intended for building other packages which
4e69951
use the "yaml-rust" feature of the "%{crate}" crate.
6a5b0bb
6a5b0bb
%files       -n %{name}+yaml-rust-devel
0a59d8f
%ghost %{crate_instdir}/Cargo.toml
317048d
317048d
%prep
7097cef
%autosetup -n %{crate}-%{version_no_tilde} -p1
317048d
%cargo_prep
317048d
baf9bc6
%generate_buildrequires
baf9bc6
%cargo_generate_buildrequires
baf9bc6
317048d
%build
317048d
%cargo_build
317048d
317048d
%install
317048d
%cargo_install
317048d
317048d
%if %{with check}
317048d
%check
317048d
%cargo_test
317048d
%endif
317048d
317048d
%changelog
99b4e33
%autochangelog