27b7b55
# Generated by rust2rpm 17
bfd962b
%bcond_without check
377b33c
%global debug_package %{nil}
377b33c
377b33c
%global crate terminal_size
377b33c
377b33c
Name:           rust-%{crate}
27b7b55
Version:        0.1.17
5b07934
Release:        2%{?dist}
377b33c
Summary:        Gets the size of your Linux or Windows terminal
377b33c
377b33c
# Upstream license specification: MIT OR Apache-2.0
377b33c
License:        MIT or ASL 2.0
377b33c
URL:            https://crates.io/crates/terminal_size
377b33c
Source:         %{crates_source}
377b33c
# Initial patched metadata
377b33c
# - Remove Windows-only dependencies
377b33c
Patch0:         terminal_size-fix-metadata.diff
377b33c
377b33c
ExclusiveArch:  %{rust_arches}
0f9ec7a
%if %{__cargo_skip_build}
0f9ec7a
BuildArch:      noarch
0f9ec7a
%endif
377b33c
377b33c
BuildRequires:  rust-packaging
377b33c
0f9ec7a
%global _description %{expand:
0f9ec7a
Gets the size of your Linux or Windows terminal.}
377b33c
377b33c
%description %{_description}
377b33c
377b33c
%package        devel
377b33c
Summary:        %{summary}
377b33c
BuildArch:      noarch
377b33c
377b33c
%description    devel %{_description}
377b33c
377b33c
This package contains library source intended for building other packages
377b33c
which use "%{crate}" crate.
377b33c
377b33c
%files          devel
377b33c
%license LICENSE-APACHE LICENSE-MIT
377b33c
%doc README.md
c89f606
%{cargo_registry}/%{crate}-%{version_no_tilde}/
377b33c
377b33c
%package     -n %{name}+default-devel
377b33c
Summary:        %{summary}
377b33c
BuildArch:      noarch
377b33c
377b33c
%description -n %{name}+default-devel %{_description}
377b33c
377b33c
This package contains library source intended for building other packages
377b33c
which use "default" feature of "%{crate}" crate.
377b33c
377b33c
%files       -n %{name}+default-devel
c89f606
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
377b33c
377b33c
%prep
377b33c
%autosetup -n %{crate}-%{version_no_tilde} -p1
377b33c
%cargo_prep
377b33c
bfd962b
%generate_buildrequires
bfd962b
%cargo_generate_buildrequires
bfd962b
377b33c
%build
377b33c
%cargo_build
377b33c
377b33c
%install
377b33c
%cargo_install
377b33c
377b33c
%if %{with check}
377b33c
%check
2db934f
# stty: /dev/stderr: Inappropriate ioctl for device
1686298
%cargo_test -- -- --skip unix::compare_with_stty
1686298
%endif
377b33c
377b33c
%changelog
5b07934
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-2
5b07934
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
5b07934
27b7b55
* Sun May 16 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.17-1
27b7b55
- Update to version 0.1.17.
27b7b55
- Fixes RHBZ#1960805
27b7b55
051ff5b
* Thu Mar 04 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.16-1
051ff5b
- Update to version 0.1.16.
051ff5b
- Fixes RHBZ#1917889
051ff5b
7c70138
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-2
7c70138
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
7c70138
85e4569
* Wed Dec 02 2020 Fabio Valentini <decathorpe@gmail.com> - 0.1.15-1
85e4569
- Update to version 0.1.15.
85e4569
- Fixes RHBZ#1897718
85e4569
52dbb16
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.13-3
52dbb16
- Second attempt - Rebuilt for
52dbb16
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
52dbb16
0557093
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.13-2
0557093
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0557093
99a44a7
* Fri Jul 10 2020 Josh Stone <jistone@redhat.com> - 0.1.13-1
99a44a7
- Update to 0.1.13
99a44a7
5ca7e03
* Wed Apr 29 2020 Josh Stone <jistone@redhat.com> - 0.1.12-1
5ca7e03
- Update to 0.1.12
5ca7e03
202222a
* Fri Mar 27 11:04:48 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.1.11-1
202222a
- Update to 0.1.11
202222a
a0bbe7e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-2
a0bbe7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a0bbe7e
34acd20
* Sat Jan 11 17:21:23 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.10-1
34acd20
- Update to 0.1.10
34acd20
c89f606
* Tue Jan 07 2020 Josh Stone <jistone@redhat.com> - 0.1.9-1
c89f606
- Update to 0.1.9
c89f606
10f4ad2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-4
10f4ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
10f4ad2
bfd962b
* Sat Jul 20 21:19:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-3
bfd962b
- Regenerate
bfd962b
0f9ec7a
* Sun Jun 09 22:06:46 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-2
0f9ec7a
- Regenerate
0f9ec7a
377b33c
* Thu Apr 25 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.8-1
377b33c
- Initial package