From 8073d74d8c680ee5ba8b7ece536e788c8ae02711 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 23 Jun 2019 10:28:45 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-tiff.spec | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/rust-tiff.spec b/rust-tiff.spec index 4e17d26..53cf8c4 100644 --- a/rust-tiff.spec +++ b/rust-tiff.spec @@ -1,28 +1,28 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate tiff Name: rust-%{crate} Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: TIFF decoding and encoding library in pure Rust +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/tiff Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(byteorder/default) >= 1.2.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(lzw/default) >= 0.10.0 with crate(lzw/default) < 0.11.0) -BuildRequires: (crate(num-derive/default) >= 0.2.0 with crate(num-derive/default) < 0.3.0) -BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0) -%global _description \ -TIFF decoding and encoding library in pure Rust. +%global _description %{expand: +TIFF decoding and encoding library in pure Rust.} %description %{_description} @@ -56,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 @@ -68,5 +71,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 23 10:28:28 CEST 2019 Igor Gnatenko - 0.2.2-2 +- Regenerate + * Fri Mar 15 2019 Igor Gnatenko - 0.2.2-1 - Initial package