From 859aa58a2cb645b6ea2636b76820eebcf93907e4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sep 08 2019 07:08:45 +0000 Subject: Update to 0.3.0 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 786ea8e..a7f5963 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gzip-header-0.2.0.crate +/gzip-header-0.3.0.crate diff --git a/rust-gzip-header.spec b/rust-gzip-header.spec index 7b26301..aaee118 100644 --- a/rust-gzip-header.spec +++ b/rust-gzip-header.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate gzip-header Name: rust-%{crate} -Version: 0.2.0 -Release: 7%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Crate for decoding and encoding the header part of gzip files # Upstream license specification: MIT/Apache-2.0 @@ -15,13 +15,15 @@ URL: https://crates.io/crates/gzip-header Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(crc/default) >= 1.5.0 with crate(crc/default) < 2.0.0) -%global _description \ -A crate for decoding and encoding the header part of gzip files based on the\ -gzip header implementation in the flate2 crate. +%global _description %{expand: +Crate for decoding and encoding the header part of gzip files based on the gzip +header implementation in the flate2 crate.} %description %{_description} @@ -55,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 @@ -67,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Sep 08 09:07:44 CEST 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 3f80207..ab1e65b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gzip-header-0.2.0.crate) = 448c6d7123406931d154b9a72c1c711be0b355643bd31e16b7683e61715a496c9f370db542bc06c615a033536334f32b63222700c61f68b7905719ce1c68a207 +SHA512 (gzip-header-0.3.0.crate) = 29ac184a5a3ea31235c597e29f40efdaf4c1aec5954019b05b2ab7fc3fcc680212860b4fe3cfbbb9ef3c6dec533f5ab599e46619d263268fc064a945381a78ec