Blame rust-shlex.spec

5195641
# Generated by rust2rpm
5195641
%bcond_without check
5195641
%global debug_package %{nil}
5195641
5195641
%global crate shlex
5195641
5195641
Name:           rust-%{crate}
5195641
Version:        0.1.1
214cabd
Release:        5%{?dist}
5195641
Summary:        Split a string into shell words, like Python's shlex
5195641
214cabd
# Upstream license specification: MIT/Apache-2.0
5195641
# https://github.com/comex/rust-shlex/issues/2
5195641
License:        MIT or ASL 2.0
5195641
URL:            https://crates.io/crates/shlex
5195641
Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
5195641
5195641
ExclusiveArch:  %{rust_arches}
5195641
5195641
BuildRequires:  rust-packaging
5195641
214cabd
%global _description \
214cabd
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
5195641
This package contains library source intended for building other packages
214cabd
which use "%{crate}" crate.
214cabd
214cabd
%files          devel
214cabd
%{cargo_registry}/%{crate}-%{version}/
214cabd
214cabd
%package     -n %{name}+default-devel
214cabd
Summary:        %{summary}
214cabd
BuildArch:      noarch
214cabd
214cabd
%description -n %{name}+default-devel %{_description}
214cabd
214cabd
This package contains library source intended for building other packages
214cabd
which use "default" feature of "%{crate}" crate.
214cabd
214cabd
%files       -n %{name}+default-devel
214cabd
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
5195641
5195641
%prep
5195641
%autosetup -n %{crate}-%{version} -p1
5195641
%cargo_prep
5195641
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
214cabd
* Sun Nov 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-5
214cabd
- Adapt to new packaging
214cabd
b3a2a91
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
b3a2a91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3a2a91
6df7ad1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
6df7ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6df7ad1
f70a2ae
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-2
f70a2ae
- Rebuild for rust-packaging v5
f70a2ae
5195641
* Wed Nov 29 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.1-1
5195641
- Initial package