From 5d8bbca3a819c9f0dab2938c7abf79d66689aa25 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 27 Jun 2019 17:23:14 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-rusty-fork.spec | 26 +++++++++++++++----------- rusty-fork-fix-metadata.diff | 10 ---------- 2 files changed, 15 insertions(+), 21 deletions(-) delete mode 100644 rusty-fork-fix-metadata.diff diff --git a/rust-rusty-fork.spec b/rust-rusty-fork.spec index 025a822..005ac5b 100644 --- a/rust-rusty-fork.spec +++ b/rust-rusty-fork.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate rusty-fork Name: rust-%{crate} Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for running Rust tests in sub-processes using a fork-like interface # Upstream license specification: MIT/Apache-2.0 @@ -16,16 +15,15 @@ URL: https://crates.io/crates/rusty-fork Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(fnv/default) >= 1.0.0 with crate(fnv/default) < 2.0.0) -BuildRequires: (crate(quick-error/default) >= 1.2.0 with crate(quick-error/default) < 2.0.0) -BuildRequires: (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) < 4.0.0) -BuildRequires: (crate(wait-timeout/default) >= 0.2.0 with crate(wait-timeout/default) < 0.3.0) -%global _description \ -Cross-platform library for running Rust tests in sub-processes\ -using a fork-like interface. +%global _description %{expand: +Cross-platform library for running Rust tests in sub-processes using a fork- +like interface.} %description %{_description} @@ -83,6 +81,9 @@ which use "wait-timeout" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -95,6 +96,9 @@ which use "wait-timeout" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 27 17:22:45 CEST 2019 Igor Gnatenko - 0.2.2-2 +- Regenerate + * Wed Apr 10 07:18:29 CEST 2019 Igor Gnatenko - 0.2.2-1 - Update to 0.2.2 diff --git a/rusty-fork-fix-metadata.diff b/rusty-fork-fix-metadata.diff deleted file mode 100644 index 8b8098e..0000000 --- a/rusty-fork-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- rusty-fork-0.2.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rusty-fork-0.2.1/Cargo.toml 2018-11-10T13:29:10.188464+01:00 -@@ -21,6 +21,7 @@ - categories = ["development-tools::testing"] - license = "MIT/Apache-2.0" - repository = "https://github.com/altsysrq/rusty-fork" -+exclude = ["/gen-readme.sh", "/readme-*.md"] - [dependencies.fnv] - version = "1.0" -