diff --git a/rust-slog.spec b/rust-slog.spec index 0336f3d..a1017ea 100644 --- a/rust-slog.spec +++ b/rust-slog.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate slog Name: rust-%{crate} Version: 2.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Structured, extensible, composable logging for Rust # Upstream license specification: MPL-2.0/MIT/Apache-2.0 @@ -15,11 +15,14 @@ URL: https://crates.io/crates/slog Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Structured, extensible, composable logging for Rust. +%global _description %{expand: +Structured, extensible, composable logging for Rust.} %description %{_description} @@ -245,6 +248,9 @@ which use "std" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -257,5 +263,8 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 10:14:16 CEST 2019 Igor Gnatenko - 2.4.1-2 +- Regenerate + * Wed Mar 13 2019 Igor Gnatenko - 2.4.1-1 - Initial package