From a41a6efda1c09451ddd052f4b67e9872b2ccf7ca Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 1 Sep 2019 20:35:00 +0200 Subject: [PATCH] Update to 1.4.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-imgref.spec | 25 +++++++++++++++++-------- sources | 2 +- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 59fd921..df0af29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /imgref-1.3.5.crate +/imgref-1.4.0.crate diff --git a/rust-imgref.spec b/rust-imgref.spec index 3148b91..9948e0e 100644 --- a/rust-imgref.spec +++ b/rust-imgref.spec @@ -1,27 +1,29 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate imgref Name: rust-%{crate} -Version: 1.3.5 -Release: 2%{?dist} +Version: 1.4.0 +Release: 1%{?dist} Summary: Trivial Rust struct for interchange of pixel buffers with width -# No license file -# https://github.com/kornelski/imgref/pull/11 # Upstream license specification: CC0-1.0 License: CC0 URL: https://crates.io/crates/imgref Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -A trivial struct for interchange of pixel buffers with width, height & stride. +%global _description %{expand: +Trivial struct for interchange of 2d-dimensional pixel buffers with width, +height & stride.} %description %{_description} @@ -35,6 +37,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel +%license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version}/ @@ -54,6 +57,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 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Sep 01 20:31:54 CEST 2019 Igor Gnatenko - 1.4.0-1 +- Update to 1.4.0 + * Fri Jul 26 2019 Fedora Release Engineering - 1.3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index ae1c551..99be645 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (imgref-1.3.5.crate) = 836414d0c5eb13649447c6da5d84c384a8092c287990849be7bf47f7324d695c528755e6bb50ff492c8d91028bd4eab6282402da8275cb0dcb31afd28396c4dc +SHA512 (imgref-1.4.0.crate) = 7c454c00f190652947641104dd43505a91f1fdc5b31390e643cf593d06322158e6808d785bc9db19c1eb4bebf4424421e840f4a4c31ca518a5e8648324bcd9a8