Blame rust-shellexpand.spec

688a4ab
# Generated by rust2rpm 16
3e0e1d8
%bcond_without check
3e0e1d8
%global debug_package %{nil}
3e0e1d8
3e0e1d8
%global crate shellexpand
3e0e1d8
3e0e1d8
Name:           rust-%{crate}
688a4ab
Version:        2.1.0
688a4ab
Release:        1%{?dist}
3e0e1d8
Summary:        Shell-like expansions in strings
3e0e1d8
3e0e1d8
# Upstream license specification: MIT/Apache-2.0
3e0e1d8
License:        MIT or ASL 2.0
3e0e1d8
URL:            https://crates.io/crates/shellexpand
3e0e1d8
Source:         %{crates_source}
3e0e1d8
3e0e1d8
ExclusiveArch:  %{rust_arches}
3e0e1d8
%if %{__cargo_skip_build}
3e0e1d8
BuildArch:      noarch
3e0e1d8
%endif
3e0e1d8
3e0e1d8
BuildRequires:  rust-packaging
3e0e1d8
3e0e1d8
%global _description %{expand:
3e0e1d8
Shell-like expansions in strings.}
3e0e1d8
3e0e1d8
%description %{_description}
3e0e1d8
3e0e1d8
%package        devel
3e0e1d8
Summary:        %{summary}
3e0e1d8
BuildArch:      noarch
3e0e1d8
3e0e1d8
%description    devel %{_description}
3e0e1d8
3e0e1d8
This package contains library source intended for building other packages
3e0e1d8
which use "%{crate}" crate.
3e0e1d8
3e0e1d8
%files          devel
3e0e1d8
%license LICENSE-MIT LICENSE-APACHE
3e0e1d8
%doc Readme.md
3e0e1d8
%{cargo_registry}/%{crate}-%{version_no_tilde}/
3e0e1d8
3e0e1d8
%package     -n %{name}+default-devel
3e0e1d8
Summary:        %{summary}
3e0e1d8
BuildArch:      noarch
3e0e1d8
3e0e1d8
%description -n %{name}+default-devel %{_description}
3e0e1d8
3e0e1d8
This package contains library source intended for building other packages
3e0e1d8
which use "default" feature of "%{crate}" crate.
3e0e1d8
3e0e1d8
%files       -n %{name}+default-devel
3e0e1d8
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
3e0e1d8
3e0e1d8
%prep
3e0e1d8
%autosetup -n %{crate}-%{version_no_tilde} -p1
3e0e1d8
%cargo_prep
3e0e1d8
3e0e1d8
%generate_buildrequires
3e0e1d8
%cargo_generate_buildrequires
3e0e1d8
3e0e1d8
%build
3e0e1d8
%cargo_build
3e0e1d8
3e0e1d8
%install
3e0e1d8
%cargo_install
3e0e1d8
3e0e1d8
%if %{with check}
3e0e1d8
%check
3e0e1d8
%cargo_test
3e0e1d8
%endif
3e0e1d8
3e0e1d8
%changelog
688a4ab
* Sun Dec 27 14:10:53 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 2.1.0-1
688a4ab
- Update to 2.1.0 (Fixes: RHBZ#1909966)
688a4ab
d79d9b8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
d79d9b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d79d9b8
3e0e1d8
* Sun Jun 07 12:25:22 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 2.0.0-1
3e0e1d8
- Initial package