From 16e7c2c293cc18dba65be1d8e45d75cd28bf5928 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 09:20:17 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-foreign-types.spec | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/rust-foreign-types.spec b/rust-foreign-types.spec index d2acc1f..b8da6cb 100644 --- a/rust-foreign-types.spec +++ b/rust-foreign-types.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 Name: rust-%{crate} Version: 0.3.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Framework for Rust wrappers over C APIs # Upstream license specification: MIT/Apache-2.0 @@ -15,12 +15,14 @@ URL: https://crates.io/crates/foreign-types Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(foreign-types-shared/default) >= 0.1.0 with crate(foreign-types-shared/default) < 0.2.0) -%global _description \ -A framework for Rust wrappers over C APIs. +%global _description %{expand: +Framework for Rust wrappers over C APIs.} %description %{_description} @@ -54,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 @@ -66,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 09:19:51 CEST 2019 Igor Gnatenko - 0.3.2-8 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.3.2-7 - Adapt to new packaging