diff --git a/rust-signal-hook-registry.spec b/rust-signal-hook-registry.spec index bf595bf..a7fa7ed 100644 --- a/rust-signal-hook-registry.spec +++ b/rust-signal-hook-registry.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc30 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate signal-hook-registry Name: rust-%{crate} Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Backend crate for signal-hook # Upstream license specification: Apache-2.0/MIT @@ -15,17 +15,14 @@ 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: (crate(arc-swap/default) >= 0.3.5 with crate(arc-swap/default) < 0.4.0) -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -%if %{with check} -BuildRequires: (crate(signal-hook/default) >= 0.1.0 with crate(signal-hook/default) < 0.2.0) -BuildRequires: (crate(version-sync/default) >= 0.8.0 with crate(version-sync/default) < 0.9.0) -%endif -%global _description \ -Backend crate for signal-hook. +%global _description %{expand: +Backend crate for signal-hook.} %description %{_description} @@ -59,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 23 11:07:58 CEST 2019 Igor Gnatenko - 1.0.1-2 +- Regenerate + * Mon Jun 03 2019 Josh Stone - 1.0.1-1 - Update to 1.0.1