From af6cad057ec97e1f549b1997ba7efd5b1a9b6dde Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 23:17:11 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-signal-hook.spec | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/rust-signal-hook.spec b/rust-signal-hook.spec index 5ede571..a3f1a9c 100644 --- a/rust-signal-hook.spec +++ b/rust-signal-hook.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate signal-hook Name: rust-%{crate} Version: 0.1.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Unix signal handling # Upstream license specification: Apache-2.0/MIT @@ -15,17 +15,14 @@ URL: https://crates.io/crates/signal-hook Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(signal-hook-registry/default) >= 1.0.0 with crate(signal-hook-registry/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(tokio/default) >= 0.1.0 with crate(tokio/default) < 0.2.0) -BuildRequires: (crate(version-sync/default) >= 0.8.0 with crate(version-sync/default) < 0.9.0) -%endif -%global _description \ -Unix signal handling. +%global _description %{expand: +Unix signal handling.} %description %{_description} @@ -131,6 +128,9 @@ which use "tokio-support" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -143,6 +143,9 @@ which use "tokio-support" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 23:16:52 CEST 2019 Igor Gnatenko - 0.1.9-2 +- Regenerate + * Sun Apr 28 20:37:32 CEST 2019 Igor Gnatenko - 0.1.9-1 - Update to 0.1.9