From 96f863d6a13be60398b6bf7beb5238ff7be88f0a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 16:20:01 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- fs2-fix-metadata.diff | 4 ++-- rust-fs2.spec | 24 ++++++++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/fs2-fix-metadata.diff b/fs2-fix-metadata.diff index bcbfcb5..4867f06 100644 --- a/fs2-fix-metadata.diff +++ b/fs2-fix-metadata.diff @@ -1,5 +1,5 @@ ---- fs2-0.4.3/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ fs2-0.4.3/Cargo.toml 2019-03-14T10:08:29.064745+01:00 +--- fs2-0.4.3/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ fs2-0.4.3/Cargo.toml 2019-06-22T14:19:15.931399+00:00 @@ -23,9 +23,6 @@ version = "0.3" [target."cfg(unix)".dependencies.libc] diff --git a/rust-fs2.spec b/rust-fs2.spec index ba3d650..fb3ffe4 100644 --- a/rust-fs2.spec +++ b/rust-fs2.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests require nightly compiler -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate fs2 Name: rust-%{crate} Version: 0.4.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Cross-platform file locks and file duplication # Upstream license specification: MIT/Apache-2.0 @@ -19,15 +18,14 @@ Source: %{crates_source} Patch0: fs2-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.30 with crate(libc/default) < 0.3.0) -%if %{with check} -BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0) -%endif -%global _description \ -Cross-platform file locks and file duplication. +%global _description %{expand: +Cross-platform file locks and file duplication.} %description %{_description} @@ -61,6 +59,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 @@ -73,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 16:19:16 CEST 2019 Igor Gnatenko - 0.4.3-7 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.4.3-6 - Adapt to new packaging