Update to version 3.2.4; Fixes RHBZ#2118149

epel9
Fabio Valentini 2 years ago
parent e4ca432267
commit dcaafec127
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -12,3 +12,4 @@
/ctrlc-3.2.0.crate
/ctrlc-3.2.1.crate
/ctrlc-3.2.2.crate
/ctrlc-3.2.4.crate

@ -0,0 +1,25 @@
--- ctrlc-3.2.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ctrlc-3.2.4/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -47,22 +47,3 @@
]
default-features = false
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.42"
-features = [
- "Win32_Foundation",
- "Win32_System_Threading",
- "Win32_Security",
- "Win32_System_WindowsProgramming",
- "Win32_System_Console",
-]
-
-[target."cfg(windows)".dev-dependencies.windows-sys]
-version = "0.42"
-features = [
- "Win32_Storage_FileSystem",
- "Win32_Foundation",
- "Win32_System_IO",
- "Win32_System_SystemServices",
- "Win32_System_Console",
-]

@ -1,12 +0,0 @@
--- ctrlc-3.2.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ctrlc-3.2.2/Cargo.toml 2022-05-25T14:02:14.814780+00:00
@@ -35,9 +35,3 @@
version = "0.24"
features = ["fs", "signal"]
default-features = false
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["consoleapi", "handleapi", "synchapi", "winbase"]
-[target."cfg(windows)".dev-dependencies.winapi]
-version = "0.3"
-features = ["fileapi", "processenv", "winnt"]

@ -1,23 +1,20 @@
# Generated by rust2rpm 21
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate ctrlc
Name: rust-%{crate}
Version: 3.2.2
Name: rust-ctrlc
Version: 3.2.4
Release: %autorelease
Summary: Easy Ctrl-C handler for Rust projects
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/ctrlc
Source: %{crates_source}
# Initial patched metadata
# * drop windows-specific dependencies
Patch0: ctrlc-fix-metadata.diff
ExclusiveArch: %{rust_arches}
# Automatically generated patch to strip foreign dependencies
Patch: ctrlc-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21

@ -1 +1 @@
SHA512 (ctrlc-3.2.2.crate) = 9536489c3b871685f20eabe7b8fa4a1a4db8e362e8e83b4b2fe244d98eb4da8f84737d26854505cbb53a311e6aab6327b0644689206a19dc5f7d3b88bac580d9
SHA512 (ctrlc-3.2.4.crate) = cc945d6092f8eed3e2a50fac82e54b132dd661d58819b9326dd23592c3848c919caa6c2490cda269154b8ddd0cdd47144df025461c72885b4fd6f5d33cdab242

Loading…
Cancel
Save