From 3be0d451c75b96c1abe39397d4651c3852aff9dc Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 12:55:51 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-inflate.spec | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/rust-inflate.spec b/rust-inflate.spec index 79a285b..536fc41 100644 --- a/rust-inflate.spec +++ b/rust-inflate.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate inflate @@ -9,17 +9,20 @@ Version: 0.4.5 Release: 1%{?dist} Summary: DEFLATE decoding +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/inflate Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(adler32/default) >= 1.0.2 with crate(adler32/default) < 2.0.0) -%global _description \ -DEFLATE decoding. +%global _description %{expand: +DEFLATE decoding.} %description %{_description} @@ -65,6 +68,9 @@ which use "unstable" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -77,5 +83,8 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 12:55:29 CEST 2019 Igor Gnatenko - 0.4.5-2 +- Regenerate + * Fri Mar 15 2019 Igor Gnatenko - 0.4.5-1 - Initial package