Update to version 0.4.0; Fixes RHBZ#2314578

epel10
Fabio Valentini 5 months ago
parent 58b5fbae85
commit 9ac53c5fa1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -11,3 +11,4 @@
/terminal_size-0.2.5.crate
/terminal_size-0.2.6.crate
/terminal_size-0.3.0.crate
/terminal_size-0.4.0.crate

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

@ -1 +1 @@
SHA512 (terminal_size-0.3.0.crate) = f3bc9144aa8a87556543584a2495df6267ce3bb017f3ed3d00fa43e89b5de783e1285ca62dbad9dd9c3b37e3a476a6f3ab0804eba2411cb594a569bbdb310681
SHA512 (terminal_size-0.4.0.crate) = b1a66cdf4e94997b5291f3becfac1e2a838f6c3f6c068faa1ff1aa775b2a97d41be2aff5460d88928786cfd7dc8dac5e2d46a62b475d40343e1fd517c6299897

@ -1,11 +1,11 @@
--- terminal_size-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ terminal_size-0.3.0/Cargo.toml 2023-09-20T09:57:36.789420+00:00
@@ -31,9 +31,3 @@
--- terminal_size-0.4.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ terminal_size-0.4.0/Cargo.toml 2024-10-04T20:11:30.138643+00:00
@@ -45,9 +45,3 @@
version = "0.38.0"
features = ["termios"]
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.48.0"
-version = "0.59.0"
-features = [
- "Win32_Foundation",
- "Win32_System_Console",

Loading…
Cancel
Save