From 900a9dcc6c9d018edf983a727cab57e338316631 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 20:27:25 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-line-wrap.spec | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/rust-line-wrap.spec b/rust-line-wrap.spec index 60b184f..5bb314e 100644 --- a/rust-line-wrap.spec +++ b/rust-line-wrap.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate line-wrap Name: rust-%{crate} Version: 0.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficiently insert line separators # Upstream license specification: Apache-2.0 @@ -15,15 +15,14 @@ URL: https://crates.io/crates/line-wrap Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(safemem/default) >= 0.3.0 with crate(safemem/default) < 0.4.0) -%if %{with check} -BuildRequires: (crate(rand/default) >= 0.5.5 with crate(rand/default) < 0.6.0) -%endif -%global _description \ -Efficiently insert line separators. +%global _description %{expand: +Efficiently insert line separators.} %description %{_description} @@ -57,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 @@ -69,5 +71,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 20:27:08 CEST 2019 Igor Gnatenko - 0.1.1-2 +- Regenerate + * Sun Feb 10 2019 Igor Gnatenko - 0.1.1-1 - Initial package