diff --git a/.gitignore b/.gitignore index a9ddf27..7e494f7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /term-0.5.1.crate /term-0.5.2.crate /term-0.6.1.crate +/term-0.7.0.crate diff --git a/rust-term.spec b/rust-term.spec index 2c50814..f16383d 100644 --- a/rust-term.spec +++ b/rust-term.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 12 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate term Name: rust-%{crate} -Version: 0.6.1 +Version: 0.7.0 Release: %autorelease Summary: Terminal formatting library @@ -14,7 +14,7 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/term Source: %{crates_source} # Initial patched metadata -# * No windows +# * drop windows-specific dependencies Patch0: term-fix-metadata.diff ExclusiveArch: %{rust_arches} diff --git a/sources b/sources index a4a7e83..0b28338 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (term-0.6.1.crate) = 5e684eedfe522da12914d579fddf1b04720086325ab18498e56b0cc709b0c8a022f887731a2bba9d0ddf200c756d12948835bccdff5bfb2b19af7d071051eacd +SHA512 (term-0.7.0.crate) = 9de6e836f1fd205b3b58645ec880eaabfc0fd8991e3980ef90bc6184b370a14676edb688a2a75bce412dd8ebd97345aef742afe5b964250e2b6f84e6b15b486a diff --git a/term-fix-metadata.diff b/term-fix-metadata.diff index ee38abf..3567722 100644 --- a/term-fix-metadata.diff +++ b/term-fix-metadata.diff @@ -1,9 +1,12 @@ ---- term-0.6.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ term-0.6.1/Cargo.toml 2019-12-14T02:09:16.444716+00:00 -@@ -28,9 +28,6 @@ +--- term-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ term-0.7.0/Cargo.toml 2021-08-06T12:38:29.799369+00:00 +@@ -28,12 +28,7 @@ [features] default = [] +-[target."cfg(windows)".dependencies.rustversion] +-version = "1" + -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["consoleapi", "wincon", "handleapi", "fileapi"]