From 1336213a4ca1081db7cb5094b5adbb3afb231594 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 22 2019 14:14:57 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/rust-tar.spec b/rust-tar.spec index dae8990..c50ab12 100644 --- a/rust-tar.spec +++ b/rust-tar.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc30 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate tar Name: rust-%{crate} Version: 0.4.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust implementation of a TAR file reader and writer # Upstream license specification: MIT/Apache-2.0 @@ -18,20 +18,17 @@ Source: %{crates_source} Patch0: tar-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(filetime/default) >= 0.2.6 with crate(filetime/default) < 0.3.0) -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(xattr/default) >= 0.2.0 with crate(xattr/default) < 0.3.0) -%if %{with check} -BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0) -%endif -%global _description \ -A Rust implementation of a TAR file reader and writer. This library does not\ -currently handle compression, but it is abstract over all I/O readers and\ -writers. Additionally, great lengths are taken to ensure that the entire\ -contents are never required to be entirely resident in memory all at once. +%global _description %{expand: +Rust implementation of a TAR file reader and writer. This library does not +currently handle compression, but it is abstract over all I/O readers and +writers. Additionally, great lengths are taken to ensure that the entire +contents are never required to be entirely resident in memory all at once.} %description %{_description} @@ -77,6 +74,9 @@ which use "xattr" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -89,6 +89,9 @@ which use "xattr" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 16:14:23 CEST 2019 Igor Gnatenko - 0.4.26-2 +- Regenerate + * Fri May 31 2019 Josh Stone - 0.4.26-1 - Update to 0.4.26 diff --git a/tar-fix-metadata.diff b/tar-fix-metadata.diff index 1d63918..2be7100 100644 --- a/tar-fix-metadata.diff +++ b/tar-fix-metadata.diff @@ -1,5 +1,5 @@ ---- tar-0.4.25/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ tar-0.4.25/Cargo.toml 2019-05-12T09:17:06.663767+00:00 +--- tar-0.4.26/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ tar-0.4.26/Cargo.toml 2019-06-22T14:14:23.013552+00:00 @@ -30,8 +30,6 @@ [features]