99d4a82
# Generated by rust2rpm 25
5195641
%bcond_without check
5195641
%global debug_package %{nil}
5195641
5195641
%global crate shlex
5195641
00cec03
Name:           rust-shlex
99d4a82
Version:        1.3.0
237e51d
Release:        %autorelease
5195641
Summary:        Split a string into shell words, like Python's shlex
5195641
00cec03
License:        MIT OR Apache-2.0
5195641
URL:            https://crates.io/crates/shlex
f191f1b
Source:         %{crates_source}
5195641
99d4a82
BuildRequires:  cargo-rpm-macros >= 24
5195641
f191f1b
%global _description %{expand:
f191f1b
Split a string into shell words, like Python's shlex.}
214cabd
214cabd
%description %{_description}
5195641
5195641
%package        devel
5195641
Summary:        %{summary}
5195641
BuildArch:      noarch
5195641
214cabd
%description    devel %{_description}
5195641
00cec03
This package contains library source intended for building other packages which
00cec03
use the "%{crate}" crate.
214cabd
214cabd
%files          devel
00cec03
%license %{crate_instdir}/LICENSE-APACHE
00cec03
%license %{crate_instdir}/LICENSE-MIT
00cec03
%doc %{crate_instdir}/CHANGELOG.md
00cec03
%doc %{crate_instdir}/README.md
00cec03
%{crate_instdir}/
214cabd
214cabd
%package     -n %{name}+default-devel
214cabd
Summary:        %{summary}
214cabd
BuildArch:      noarch
214cabd
214cabd
%description -n %{name}+default-devel %{_description}
214cabd
00cec03
This package contains library source intended for building other packages which
00cec03
use the "default" feature of the "%{crate}" crate.
214cabd
214cabd
%files       -n %{name}+default-devel
00cec03
%ghost %{crate_instdir}/Cargo.toml
a5b8a5b
a5b8a5b
%package     -n %{name}+std-devel
a5b8a5b
Summary:        %{summary}
a5b8a5b
BuildArch:      noarch
a5b8a5b
a5b8a5b
%description -n %{name}+std-devel %{_description}
a5b8a5b
00cec03
This package contains library source intended for building other packages which
00cec03
use the "std" feature of the "%{crate}" crate.
a5b8a5b
a5b8a5b
%files       -n %{name}+std-devel
00cec03
%ghost %{crate_instdir}/Cargo.toml
5195641
5195641
%prep
99d4a82
%autosetup -n %{crate}-%{version} -p1
5195641
%cargo_prep
5195641
f191f1b
%generate_buildrequires
f191f1b
%cargo_generate_buildrequires
f191f1b
5195641
%build
5195641
%cargo_build
5195641
5195641
%install
5195641
%cargo_install
5195641
5195641
%if %{with check}
5195641
%check
5195641
%cargo_test
5195641
%endif
5195641
5195641
%changelog
00cec03
%autochangelog