diff --git a/rust-opaque-debug.spec b/rust-opaque-debug.spec index acfe28c..a61fb5c 100644 --- a/rust-opaque-debug.spec +++ b/rust-opaque-debug.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate opaque-debug Name: rust-%{crate} Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Macro for opaque Debug trait implementation # Upstream license specification: MIT OR Apache-2.0 @@ -15,11 +15,14 @@ URL: https://crates.io/crates/opaque-debug Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Macro for opaque Debug trait implementation. +%global _description %{expand: +Macro for opaque Debug trait implementation.} %description %{_description} @@ -52,6 +55,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 @@ -64,5 +70,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 10:45:45 CEST 2019 Igor Gnatenko - 0.2.2-2 +- Regenerate + * Fri Feb 15 2019 Igor Gnatenko - 0.2.2-1 - Initial package