From f9febc76e77a309d9616638125e0cc1b242381c7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 22 Jul 2019 19:25:32 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- ...ix-metadata.diff => diff-fix-metadata.diff | 4 +-- rust-diff.spec | 29 +++++++++++-------- tests/.fmf/version | 1 + tests/provision.fmf | 5 ++++ tests/tests.yml | 13 +++++++++ 5 files changed, 38 insertions(+), 14 deletions(-) rename diff-0.1.11-fix-metadata.diff => diff-fix-metadata.diff (67%) create mode 100644 tests/.fmf/version create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/diff-0.1.11-fix-metadata.diff b/diff-fix-metadata.diff similarity index 67% rename from diff-0.1.11-fix-metadata.diff rename to diff-fix-metadata.diff index 0b8da06..b84557e 100644 --- a/diff-0.1.11-fix-metadata.diff +++ b/diff-fix-metadata.diff @@ -1,5 +1,5 @@ ---- diff-0.1.11/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ diff-0.1.11/Cargo.toml 2018-01-01T12:40:11.675068+01:00 +--- diff-0.1.11/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ diff-0.1.11/Cargo.toml 2019-07-22T17:24:39.397574+00:00 @@ -20,7 +20,7 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/utkarshkukreti/diff.rs" diff --git a/rust-diff.spec b/rust-diff.spec index 3fdae6f..dfef630 100644 --- a/rust-diff.spec +++ b/rust-diff.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm -# speculate is nightly +# Generated by rust2rpm 10 +# * speculate is not packaged %bcond_with check %global debug_package %{nil} @@ -7,27 +7,26 @@ Name: rust-%{crate} Version: 0.1.11 -Release: 8%{?dist} +Release: 9%{?dist} Summary: LCS based slice and string diffing implementation # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/diff -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * Bump quickcheck to 0.6, https://github.com/utkarshkukreti/diff.rs/pull/13 -Patch0: diff-0.1.11-fix-metadata.diff +Patch0: diff-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0) -BuildRequires: (crate(speculate/default) >= 0.0.25 with crate(speculate/default) < 0.0.26) -%endif -%global _description \ -An LCS based slice and string diffing implementation. +%global _description %{expand: +LCS based slice and string diffing implementation.} %description %{_description} @@ -59,9 +58,12 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -74,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Jul 22 19:24:39 CEST 2019 Igor Gnatenko - 0.1.11-9 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..28e3edb --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/rust.git" + dest: rust + tests: + - rust/cargo-test + environment: + pkg: rust-diff