Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 093d803472
commit f9febc76e7
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
--- diff-0.1.11/Cargo.toml 1970-01-01T01:00:00+01:00 --- diff-0.1.11/Cargo.toml 1970-01-01T00:00:00+00:00
+++ diff-0.1.11/Cargo.toml 2018-01-01T12:40:11.675068+01:00 +++ diff-0.1.11/Cargo.toml 2019-07-22T17:24:39.397574+00:00
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/utkarshkukreti/diff.rs" repository = "https://github.com/utkarshkukreti/diff.rs"

@ -1,5 +1,5 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# speculate is nightly # * speculate is not packaged
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
@ -7,27 +7,26 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.11 Version: 0.1.11
Release: 8%{?dist} Release: 9%{?dist}
Summary: LCS based slice and string diffing implementation Summary: LCS based slice and string diffing implementation
# Upstream license specification: MIT OR Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/diff 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 # Initial patched metadata
# * Bump quickcheck to 0.6, https://github.com/utkarshkukreti/diff.rs/pull/13 # * 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} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging 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 \ %global _description %{expand:
An LCS based slice and string diffing implementation. LCS based slice and string diffing implementation.}
%description %{_description} %description %{_description}
@ -59,9 +58,12 @@ which use "default" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -74,6 +76,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Mon Jul 22 19:24:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.11-9
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-8 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -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
Loading…
Cancel
Save