From 5509729809b1de4ca1e449a207488565c2551e00 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 22 Apr 2024 18:37:37 +0200 Subject: [PATCH] Update to version 1.4.2; Fixes RHBZ#2276272 --- .gitignore | 1 + rust-signal-hook-registry.spec | 8 ++++---- rust2rpm.toml | 4 ++++ sources | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 59439c6..71cc6cc 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /signal-hook-registry-1.3.0.crate /signal-hook-registry-1.4.0.crate /signal-hook-registry-1.4.1.crate +/signal-hook-registry-1.4.2.crate diff --git a/rust-signal-hook-registry.spec b/rust-signal-hook-registry.spec index 4b6fdd0..30fe95d 100644 --- a/rust-signal-hook-registry.spec +++ b/rust-signal-hook-registry.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate signal-hook-registry Name: rust-signal-hook-registry -Version: 1.4.1 +Version: 1.4.2 Release: %autorelease Summary: Backend crate for signal-hook @@ -15,7 +15,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/signal-hook-registry Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Backend crate for signal-hook.} @@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/sources b/sources index 7a3d036..0ca93cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (signal-hook-registry-1.4.1.crate) = e83acec2b0083967555f6c659dfaacc32d851a9485c9f6f4b4cf257742ae3ffba8c14708c75f1a5520e9d132ea9e21d6eb65aba492eec481e8492af8b798c5d1 +SHA512 (signal-hook-registry-1.4.2.crate) = 16362d232b1d301007c069198d7716848aa73d898ef92e050422b36c09001b4334390dc95a6650e5315377fd8960d4336e5ae869b0a305e8525e977b8327c508