|
|
@ -1,21 +1,21 @@
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
%bcond check 1
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate terminal_size
|
|
|
|
%global crate terminal_size
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-terminal_size
|
|
|
|
Name: rust-terminal_size
|
|
|
|
Version: 0.4.1
|
|
|
|
Version: 0.3.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Gets the size of your Linux or Windows terminal
|
|
|
|
Summary: Gets the size of your Linux or Windows terminal
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/terminal_size
|
|
|
|
URL: https://crates.io/crates/terminal_size
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
Patch: terminal_size-fix-metadata-auto.diff
|
|
|
|
Patch: terminal_size-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Gets the size of your Linux or Windows terminal.}
|
|
|
|
Gets the size of your Linux or Windows terminal.}
|
|
|
@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|