|
|
@ -1,13 +1,12 @@
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * ENOTTY: stty: /dev/stderr: Inappropriate ioctl for device
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate terminal_size
|
|
|
|
%global crate terminal_size
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.8
|
|
|
|
Version: 0.1.8
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Gets the size of your Linux or Windows terminal
|
|
|
|
Summary: Gets the size of your Linux or Windows terminal
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
@ -24,9 +23,6 @@ BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Gets the size of your Linux or Windows terminal.}
|
|
|
|
Gets the size of your Linux or Windows terminal.}
|
|
|
@ -63,6 +59,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -71,10 +70,14 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
# stty: /dev/stderr: Inappropriate ioctl for device
|
|
|
|
|
|
|
|
%cargo_test -- -- --skip unix::compare_with_stty
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jul 20 21:19:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-3
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 22:06:46 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-2
|
|
|
|
* Sun Jun 09 22:06:46 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-2
|
|
|
|
- Regenerate
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|