From 58f86fd2581edcc17dd1208e80a6a758af9dd149 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 23 Jun 2019 10:27:47 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-tendril.spec | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/rust-tendril.spec b/rust-tendril.spec index cf9c4af..1e864b3 100644 --- a/rust-tendril.spec +++ b/rust-tendril.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate tendril Name: rust-%{crate} Version: 0.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Compact buffer/string type for zero-copy parsing # Upstream license specification: MIT/Apache-2.0 @@ -15,17 +15,14 @@ URL: https://crates.io/crates/tendril Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(futf/default) >= 0.1.1 with crate(futf/default) < 0.2.0) -BuildRequires: (crate(mac/default) >= 0.1.0 with crate(mac/default) < 0.2.0) -BuildRequires: (crate(utf-8/default) >= 0.7.0 with crate(utf-8/default) < 0.8.0) -%if %{with check} -BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0) -%endif -%global _description \ -Compact buffer/string type for zero-copy parsing. +%global _description %{expand: +Compact buffer/string type for zero-copy parsing.} %description %{_description} @@ -95,6 +92,9 @@ which use "encoding_rs" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -107,5 +107,8 @@ which use "encoding_rs" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 23 10:27:28 CEST 2019 Igor Gnatenko - 0.4.1-2 +- Regenerate + * Mon Mar 11 2019 Igor Gnatenko - 0.4.1-1 - Initial package