Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 0f9ec7a071
commit bfd962b539
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,13 +1,12 @@
# Generated by rust2rpm 9
# * ENOTTY: stty: /dev/stderr: Inappropriate ioctl for device
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate terminal_size
Name: rust-%{crate}
Version: 0.1.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Gets the size of your Linux or Windows terminal
# Upstream license specification: MIT OR Apache-2.0
@ -24,9 +23,6 @@ BuildArch: noarch
%endif
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:
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
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -71,10 +70,14 @@ which use "default" feature of "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# stty: /dev/stderr: Inappropriate ioctl for device
%cargo_test -- -- --skip unix::compare_with_stty
%endif
%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
- Regenerate

@ -1,5 +1,5 @@
--- terminal_size-0.1.8/Cargo.toml 1970-01-01T01:00:00+01:00
+++ terminal_size-0.1.8/Cargo.toml 2019-04-25T15:14:42.757257+02:00
--- terminal_size-0.1.8/Cargo.toml 1970-01-01T00:00:00+00:00
+++ terminal_size-0.1.8/Cargo.toml 2019-07-20T19:19:42.442504+00:00
@@ -21,6 +21,3 @@
repository = "https://github.com/eminence/terminal-size"
[dependencies.libc]

Loading…
Cancel
Save