From b9822fe7b7bd79756054f4459cc87375aeb10786 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 28 Feb 2023 21:15:10 +0100 Subject: [PATCH] Update to version 1.4.1; Fixes RHBZ#2169065 --- .gitignore | 1 + README.md | 3 --- rust-signal-hook-registry.spec | 28 ++++++++++++---------------- sources | 2 +- 4 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 2665f2b..59439c6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /signal-hook-registry-1.2.2.crate /signal-hook-registry-1.3.0.crate /signal-hook-registry-1.4.0.crate +/signal-hook-registry-1.4.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index 26cd4e9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-signal-hook-registry - -The rust-signal-hook-registry package \ No newline at end of file diff --git a/rust-signal-hook-registry.spec b/rust-signal-hook-registry.spec index 11f939d..4b6fdd0 100644 --- a/rust-signal-hook-registry.spec +++ b/rust-signal-hook-registry.spec @@ -1,26 +1,21 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 24 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate signal-hook-registry -Name: rust-%{crate} -Version: 1.4.0 +Name: rust-signal-hook-registry +Version: 1.4.1 Release: %autorelease Summary: Backend crate for signal-hook # Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/signal-hook-registry Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Backend crate for signal-hook.} @@ -34,12 +29,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,10 +44,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index b397117..7a3d036 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-registry-1.4.0.crate) = b564379e5df1061739734179a69897badf9e2e6b469e091954428b05c3c7143885396df4bd008d77e08dae53729d2267d50fc8563121b086e25d8a5adabf6d6d +SHA512 (signal-hook-registry-1.4.1.crate) = e83acec2b0083967555f6c659dfaacc32d851a9485c9f6f4b4cf257742ae3ffba8c14708c75f1a5520e9d132ea9e21d6eb65aba492eec481e8492af8b798c5d1