diff --git a/.gitignore b/.gitignore index 398b6c7..2481793 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /ctrlc-3.1.8.crate /ctrlc-3.1.9.crate /ctrlc-3.2.0.crate +/ctrlc-3.2.1.crate diff --git a/ctrlc-fix-metadata.diff b/ctrlc-fix-metadata.diff index bf59369..33138e5 100644 --- a/ctrlc-fix-metadata.diff +++ b/ctrlc-fix-metadata.diff @@ -1,9 +1,9 @@ ---- ctrlc-3.2.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ ctrlc-3.2.0/Cargo.toml 2021-08-11T19:02:37.988612+00:00 +--- ctrlc-3.2.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ ctrlc-3.2.1/Cargo.toml 2022-01-14T16:32:20.004590+00:00 @@ -34,9 +34,3 @@ termination = [] [target."cfg(unix)".dependencies.nix] - version = "0.22" + version = "0.23" -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["consoleapi", "handleapi", "synchapi", "winbase"] diff --git a/rust-ctrlc.spec b/rust-ctrlc.spec index a62f66a..e37dfd1 100644 --- a/rust-ctrlc.spec +++ b/rust-ctrlc.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate ctrlc Name: rust-%{crate} -Version: 3.2.0 +Version: 3.2.1 Release: %autorelease Summary: Easy Ctrl-C handler for Rust projects @@ -18,9 +18,6 @@ Source: %{crates_source} Patch0: ctrlc-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -35,11 +32,11 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -49,8 +46,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 @@ -61,8 +58,8 @@ BuildArch: noarch %description -n %{name}+termination-devel %{_description} -This package contains library source intended for building other packages -which use "termination" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "termination" feature of the "%{crate}" crate. %files -n %{name}+termination-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 63185ab..d5a279d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ctrlc-3.2.0.crate) = 8ee32c5ee0706efc064ae1cc85ed4aa6dc156fb95988e7122c208ea9469f2feae2eb76e7e01156fdad9198146e3a6e4e2b05c16cfe9929a4f7330cfe36935969 +SHA512 (ctrlc-3.2.1.crate) = 7305e97a3f161db942ddc194d14f670087f88e3ccb5b94114fbd6afba04b4ac1cb063cf87ccf6fdf4678bb667b02f3cb2e6fc1ca8bc47b6ed8e36620cc4a1a8b