From 0dbf9c9060003af0cc0c1b773d10f58b738d7ddf Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Dec 2021 15:30:22 +0100 Subject: [PATCH 1/5] Update to version 0.3.12; Fixes RHBZ#2030015 --- rust-signal-hook.spec | 37 +++++++++++++++++-------------------- sources | 2 +- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/rust-signal-hook.spec b/rust-signal-hook.spec index cd8c6eb..3ef739a 100644 --- a/rust-signal-hook.spec +++ b/rust-signal-hook.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate signal-hook Name: rust-%{crate} -Version: 0.3.10 +Version: 0.3.12 Release: %autorelease Summary: Unix signal handling @@ -15,9 +15,6 @@ URL: https://crates.io/crates/signal-hook Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,12 @@ 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-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,8 +43,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 @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+cc-devel %{_description} -This package contains library source intended for building other packages -which use "cc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "cc" feature of the "%{crate}" crate. %files -n %{name}+cc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+channel-devel %{_description} -This package contains library source intended for building other packages -which use "channel" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "channel" feature of the "%{crate}" crate. %files -n %{name}+channel-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -82,8 +79,8 @@ BuildArch: noarch %description -n %{name}+extended-siginfo-devel %{_description} -This package contains library source intended for building other packages -which use "extended-siginfo" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "extended-siginfo" feature of the "%{crate}" crate. %files -n %{name}+extended-siginfo-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -94,8 +91,8 @@ BuildArch: noarch %description -n %{name}+extended-siginfo-raw-devel %{_description} -This package contains library source intended for building other packages -which use "extended-siginfo-raw" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "extended-siginfo-raw" feature of the "%{crate}" crate. %files -n %{name}+extended-siginfo-raw-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -106,8 +103,8 @@ BuildArch: noarch %description -n %{name}+iterator-devel %{_description} -This package contains library source intended for building other packages -which use "iterator" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "iterator" feature of the "%{crate}" crate. %files -n %{name}+iterator-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index b22ce41..ca7e169 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-0.3.10.crate) = 3b6949f4cad0a77e6cfba2fb16d7edaf52737419ebd525d5d1905152cc1c73e81d4adb676077b9b6c144b0812ac5059a0f1032fe2c5ed450be2c451b7cf32e9b +SHA512 (signal-hook-0.3.12.crate) = ccc8d02aa5bd226ddb26f098d458fc46b99397c6d4432c4ce43ecb117d0fa777b249f5fb202949f198e4e8885ed24d7cb1e24e538c7c6bf8b44eb21418519364 From 1ac72f7218761423ba3d6a95373678a889e68a55 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 20 Dec 2021 21:37:37 +0100 Subject: [PATCH 2/5] Update to version 0.3.13; Fixes RHBZ#2034227 --- rust-signal-hook.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-signal-hook.spec b/rust-signal-hook.spec index 3ef739a..97e39c4 100644 --- a/rust-signal-hook.spec +++ b/rust-signal-hook.spec @@ -5,7 +5,7 @@ %global crate signal-hook Name: rust-%{crate} -Version: 0.3.12 +Version: 0.3.13 Release: %autorelease Summary: Unix signal handling diff --git a/sources b/sources index ca7e169..91dffba 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-0.3.12.crate) = ccc8d02aa5bd226ddb26f098d458fc46b99397c6d4432c4ce43ecb117d0fa777b249f5fb202949f198e4e8885ed24d7cb1e24e538c7c6bf8b44eb21418519364 +SHA512 (signal-hook-0.3.13.crate) = c4632d31ca158fdfba5da44585f0d6211469ee17b7e22d86688af11b4ed976b0134e87e0ad686dc2e5a8fac0ecb08838108080ac875a7b55322e0735ff1ccfdb From 8928cba863a8a56f460f20516640627615de8238 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 23 May 2022 18:37:33 +0200 Subject: [PATCH 4/5] Update to version 0.3.14; Fixes RHBZ#2086888 --- rust-signal-hook.spec | 26 ++++++++++++++------------ sources | 2 +- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/rust-signal-hook.spec b/rust-signal-hook.spec index 97e39c4..38b7577 100644 --- a/rust-signal-hook.spec +++ b/rust-signal-hook.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate signal-hook Name: rust-%{crate} -Version: 0.3.13 +Version: 0.3.14 Release: %autorelease Summary: Unix signal handling @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Unix signal handling.} @@ -33,9 +33,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +49,7 @@ 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}+cc-devel Summary: %{summary} @@ -59,7 +61,7 @@ This package contains library source intended for building other packages which use the "cc" feature of the "%{crate}" crate. %files -n %{name}+cc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+channel-devel Summary: %{summary} @@ -71,7 +73,7 @@ This package contains library source intended for building other packages which use the "channel" feature of the "%{crate}" crate. %files -n %{name}+channel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extended-siginfo-devel Summary: %{summary} @@ -83,7 +85,7 @@ This package contains library source intended for building other packages which use the "extended-siginfo" feature of the "%{crate}" crate. %files -n %{name}+extended-siginfo-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extended-siginfo-raw-devel Summary: %{summary} @@ -95,7 +97,7 @@ This package contains library source intended for building other packages which use the "extended-siginfo-raw" feature of the "%{crate}" crate. %files -n %{name}+extended-siginfo-raw-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+iterator-devel Summary: %{summary} @@ -107,7 +109,7 @@ This package contains library source intended for building other packages which use the "iterator" feature of the "%{crate}" crate. %files -n %{name}+iterator-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 91dffba..d7faed3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-0.3.13.crate) = c4632d31ca158fdfba5da44585f0d6211469ee17b7e22d86688af11b4ed976b0134e87e0ad686dc2e5a8fac0ecb08838108080ac875a7b55322e0735ff1ccfdb +SHA512 (signal-hook-0.3.14.crate) = 32ecf012e46b94d3a87f2e56cd4c03a97886013309a4e52ef3e7769ed14b49ae2814bb6346cfc9766525dcf15db4182d260d3c9311134e3e6f5301c58729442a