Update to version 0.25.0; Fixes RHBZ#1970468

epel9
Fabio Valentini 2 years ago
parent 72413c6ca7
commit 13624573c1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -21,3 +21,4 @@
/crossterm-0.19.0.crate
/crossterm-0.20.0.crate
/crossterm-0.22.1.crate
/crossterm-0.25.0.crate

@ -0,0 +1,15 @@
--- crossterm-0.25.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ crossterm-0.25.0/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -106,12 +106,3 @@
version = "0.2.3"
features = ["support-v0_8"]
-[target."cfg(windows)".dependencies.crossterm_winapi]
-version = "0.9"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-features = [
- "winuser",
- "winerror",
-]

@ -1,12 +0,0 @@
--- crossterm-0.22.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ crossterm-0.22.1/Cargo.toml 2022-02-13T11:47:33.053433+00:00
@@ -84,9 +84,3 @@
[target."cfg(unix)".dependencies.signal-hook-mio]
version = "0.2.1"
features = ["support-v0_7"]
-[target."cfg(windows)".dependencies.crossterm_winapi]
-version = "0.9"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-features = ["winuser"]

@ -1,25 +1,21 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate crossterm
Name: rust-%{crate}
Version: 0.22.1
Name: rust-crossterm
Version: 0.25.0
Release: %autorelease
Summary: Crossplatform terminal library for manipulating terminals
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/crossterm
Source: %{crates_source}
# Initial patched metadata
# * drop windows-specific dependencies
Patch0: crossterm-fix-metadata.diff
# Automatically generated patch to strip foreign dependencies
Patch: crossterm-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Crossplatform terminal library for manipulating terminals.}
@ -36,9 +32,10 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,7 +47,19 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bracketed-paste-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bracketed-paste-devel %{_description}
This package contains library source intended for building other packages which
use the "bracketed-paste" feature of the "%{crate}" crate.
%files -n %{name}+bracketed-paste-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+event-stream-devel
Summary: %{summary}
@ -62,7 +71,7 @@ This package contains library source intended for building other packages which
use the "event-stream" feature of the "%{crate}" crate.
%files -n %{name}+event-stream-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-core-devel
Summary: %{summary}
@ -74,7 +83,7 @@ This package contains library source intended for building other packages which
use the "futures-core" feature of the "%{crate}" crate.
%files -n %{name}+futures-core-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@ -86,7 +95,7 @@ This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (crossterm-0.22.1.crate) = 2a8534a12bb119be583d491b3595259d164de6922ce2a17bbe6f19fcff93339a6d0d8c08398958a7592d6aa765eb2ebc6e61b54211080785357c711b2c454d91
SHA512 (crossterm-0.25.0.crate) = fdf2b5b4bdcbc8c7dc4e8c5e0cdf68cacdb97886b52087dde1f1be9b869c00965c0cf9db64b700801b0d1274b913703ade66a92d47aa8da604121693b8701201

Loading…
Cancel
Save