From f731ed12b104667b07822cd30b3b454974a60d53 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 21 2019 09:38:43 +0000 Subject: Update to 1.7.0 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 832ec0f..fa90108 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /extprim-1.5.0.crate /extprim-1.5.1.crate /extprim-1.6.0.crate +/extprim-1.7.0.crate diff --git a/rust-extprim.spec b/rust-extprim.spec index 2fda8af..a36a656 100644 --- a/rust-extprim.spec +++ b/rust-extprim.spec @@ -1,25 +1,24 @@ # Generated by rust2rpm -# extprim(dev) -> extprim_literals -> extprim_literals_macros -> extprim %bcond_with check %global debug_package %{nil} %global crate extprim Name: rust-%{crate} -Version: 1.6.0 -Release: 4%{?dist} +Version: 1.7.0 +Release: 1%{?dist} Summary: Extra primitive types (u128, i128) # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/extprim -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0) -BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0) +BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0) BuildRequires: (crate(semver/default) >= 0.9.0 with crate(semver/default) < 0.10.0) BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) @@ -96,7 +95,7 @@ which use "use-std" 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 %build @@ -111,6 +110,9 @@ which use "use-std" feature of "%{crate}" crate. %endif %changelog +* Sun Apr 21 11:36:51 CEST 2019 Igor Gnatenko - 1.7.0-1 +- Update to 1.7.0 + * Sat Feb 02 2019 Fedora Release Engineering - 1.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 489f164..b46131e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (extprim-1.6.0.crate) = e077a4147370673af5df545c3b45cd2af9d5754a30b148a1621324b857369597b5d1d473f7ff7d96a14127b77b3ca1999457e674c2f644f5492e9bc2a8d99882 +SHA512 (extprim-1.7.0.crate) = ea39eac90f4a8c6c84bb7e328c114179bc363c4e186a5112de48c4407fa0765c51ac246c59741c232cfdfbc70a3ce0774182686de08fb4d9b3cd073d2c1041f4 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..0e8d521 --- /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-extprim