Blame rust-console.spec

a64175
# Generated by rust2rpm 10
dcddea
%bcond_without check
d5631b
%global debug_package %{nil}
d5631b
d5631b
%global crate console
d5631b
d5631b
Name:           rust-%{crate}
b679c3
Version:        0.7.7
1aadef
Release:        2%{?dist}
d5631b
Summary:        Terminal and console abstraction for Rust
d5631b
dcddea
# Upstream license specification: MIT
d5631b
License:        MIT
d5631b
URL:            https://crates.io/crates/console
c42de9
Source:         %{crates_source}
d5631b
# Initial patched metadata
d5631b
# * No Windows
d5631b
Patch0:         console-fix-metadata.diff
d5631b
d5631b
ExclusiveArch:  %{rust_arches}
dcddea
%if %{__cargo_skip_build}
dcddea
BuildArch:      noarch
dcddea
%endif
d5631b
d5631b
BuildRequires:  rust-packaging
aa0e53
dcddea
%global _description %{expand:
dcddea
Terminal and console abstraction for Rust.}
aa0e53
aa0e53
%description %{_description}
d5631b
d5631b
%package        devel
d5631b
Summary:        %{summary}
d5631b
BuildArch:      noarch
d5631b
aa0e53
%description    devel %{_description}
d5631b
d5631b
This package contains library source intended for building other packages
aa0e53
which use "%{crate}" crate.
aa0e53
aa0e53
%files          devel
aa0e53
%license LICENSE
aa0e53
%doc README.md
aa0e53
%{cargo_registry}/%{crate}-%{version}/
aa0e53
aa0e53
%package     -n %{name}+default-devel
aa0e53
Summary:        %{summary}
aa0e53
BuildArch:      noarch
aa0e53
aa0e53
%description -n %{name}+default-devel %{_description}
aa0e53
aa0e53
This package contains library source intended for building other packages
aa0e53
which use "default" feature of "%{crate}" crate.
aa0e53
aa0e53
%files       -n %{name}+default-devel
aa0e53
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
d5631b
d5631b
%prep
c42de9
%autosetup -n %{crate}-%{version_no_tilde} -p1
d5631b
%cargo_prep
d5631b
a64175
%generate_buildrequires
a64175
%cargo_generate_buildrequires
a64175
d5631b
%build
d5631b
%cargo_build
d5631b
d5631b
%install
d5631b
%cargo_install
d5631b
d5631b
%if %{with check}
d5631b
%check
d5631b
%cargo_test
d5631b
%endif
d5631b
d5631b
%changelog
1aadef
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-2
1aadef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1aadef
b679c3
* Thu Jun 20 11:03:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.7-1
b679c3
- Update to 0.7.7
b679c3
a64175
* Tue Jun 18 23:43:14 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.6-1
a64175
- Update to 0.7.6
a64175
dcddea
* Sun Jun 09 14:26:32 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.5-3
dcddea
- Regenerate
dcddea
d55773
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.5-2
d55773
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d55773
c42de9
* Mon Jan 28 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.5-1
c42de9
- Update to 0.7.5
c42de9
0f09a4
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.2-3
0f09a4
- Run tests in infrastructure
0f09a4
aa0e53
* Sat Nov 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.2-2
aa0e53
- Adapt to new packaging
aa0e53
e1c56b
* Tue Sep 11 2018 Josh Stone <jistone@redhat.com> - 0.6.2-1
e1c56b
- Update to 0.6.2
e1c56b
d5631b
* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-1
d5631b
- Initial package