|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.1
|
|
|
|
Version: 0.3.1
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Summary: Functions for determining terminal sizes and dimensions
|
|
|
|
Summary: Functions for determining terminal sizes and dimensions
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -14,7 +14,6 @@ License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/term_size
|
|
|
|
URL: https://crates.io/crates/term_size
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * clippy is nightly
|
|
|
|
|
|
|
|
# * No windows
|
|
|
|
# * No windows
|
|
|
|
# * Exclude useless files, https://github.com/clap-rs/term_size-rs/pull/22
|
|
|
|
# * Exclude useless files, https://github.com/clap-rs/term_size-rs/pull/22
|
|
|
|
Patch0: term_size-fix-metadata.diff
|
|
|
|
Patch0: term_size-fix-metadata.diff
|
|
|
@ -25,9 +24,6 @@ BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildRequires: (crate(libc/default) >= 0.2.20 with crate(libc/default) < 0.3.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Functions for determining terminal sizes and dimensions.}
|
|
|
|
Functions for determining terminal sizes and dimensions.}
|
|
|
@ -136,6 +132,9 @@ which use "unstable" 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
|
|
|
|
|
|
|
|
|
|
|
@ -148,6 +147,9 @@ which use "unstable" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 20 11:10:05 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-9
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 14:30:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-8
|
|
|
|
* Sun Jun 09 14:30:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-8
|
|
|
|
- Regenerate
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|