From bfd962b539dd503a0247c5472be0e8e4021f1542 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 20 Jul 2019 21:20:20 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-terminal_size.spec | 19 +++++++++++-------- terminal_size-fix-metadata.diff | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/rust-terminal_size.spec b/rust-terminal_size.spec index df60643..0441556 100644 --- a/rust-terminal_size.spec +++ b/rust-terminal_size.spec @@ -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 - 0.1.8-3 +- Regenerate + * Sun Jun 09 22:06:46 CEST 2019 Igor Gnatenko - 0.1.8-2 - Regenerate diff --git a/terminal_size-fix-metadata.diff b/terminal_size-fix-metadata.diff index a352ebd..96bdf40 100644 --- a/terminal_size-fix-metadata.diff +++ b/terminal_size-fix-metadata.diff @@ -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]