diff --git a/rust-mac.spec b/rust-mac.spec index bca29d0..f6163f3 100644 --- a/rust-mac.spec +++ b/rust-mac.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate mac Name: rust-%{crate} Version: 0.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Collection of great and ubiqutitous macros # Upstream license specification: MIT/Apache-2.0 @@ -16,11 +16,14 @@ URL: https://crates.io/crates/mac Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -A collection of great and ubiqutitous macros. +%global _description %{expand: +Collection of great and ubiqutitous macros.} %description %{_description} @@ -53,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 @@ -65,5 +71,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 23 11:26:51 CEST 2019 Igor Gnatenko - 0.1.1-2 +- Regenerate + * Mon Mar 11 2019 Igor Gnatenko - 0.1.1-1 - Initial package