diff --git a/rust-foreign-types-shared.spec b/rust-foreign-types-shared.spec index 61a5ce2..b683584 100644 --- a/rust-foreign-types-shared.spec +++ b/rust-foreign-types-shared.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate foreign-types-shared Name: rust-%{crate} Version: 0.1.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Internal crate used by foreign-types # Upstream license specification: MIT/Apache-2.0 @@ -15,11 +15,14 @@ URL: https://crates.io/crates/foreign-types-shared Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -An internal crate used by foreign-types. +%global _description %{expand: +Internal crate used by foreign-types.} %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,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 10:41:37 CEST 2019 Igor Gnatenko - 0.1.1-8 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.1.1-7 - Adapt to new packaging