From 206f3edd8580fb8287915b811e16ffefa895e260 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 10 Feb 2019 18:43:37 +0100 Subject: [PATCH] Update to 0.3.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-pretty_env_logger.spec | 20 ++++++++++---------- sources | 2 +- tests/.fmf/version | 1 + tests/provision.fmf | 5 +++++ tests/tests.yml | 13 +++++++++++++ 6 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 tests/.fmf/version create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 005ec69..dc052ca 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /pretty_env_logger-0.2.3.crate /pretty_env_logger-0.2.4.crate /pretty_env_logger-0.2.5.crate +/pretty_env_logger-0.3.0.crate diff --git a/rust-pretty_env_logger.spec b/rust-pretty_env_logger.spec index 9a249e9..facdc47 100644 --- a/rust-pretty_env_logger.spec +++ b/rust-pretty_env_logger.spec @@ -1,29 +1,28 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil} %global crate pretty_env_logger Name: rust-%{crate} -Version: 0.2.5 -Release: 2%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Visually pretty env_logger # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/pretty_env_logger -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(ansi_term/default) >= 0.11.0 with crate(ansi_term/default) < 0.12.0) BuildRequires: (crate(chrono/default) >= 0.4.4 with crate(chrono/default) < 0.5.0) -BuildRequires: (crate(env_logger/default) >= 0.5.0 with crate(env_logger/default) < 0.6.0) +BuildRequires: (crate(env_logger/default) >= 0.6.0 with crate(env_logger/default) < 0.7.0) BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) %global _description \ -a visually pretty env_logger +A visually pretty env_logger. %description %{_description} @@ -38,8 +37,6 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE -# https://github.com/seanmonstar/pretty-env-logger/pull/13 -#doc README.md %{cargo_registry}/%{crate}-%{version}/ %package -n %{name}+default-devel @@ -55,7 +52,7 @@ 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 %build @@ -70,6 +67,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index b0e071b..b1ed692 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pretty_env_logger-0.2.5.crate) = 0420cc68d00dee26023eeddd6d26d0efccc31302dc3108f037a1e7d054fa0086fac2afe85e70cb23bc5b43c7ed2296b278fc08d58bf79037b0175757ef5d457c +SHA512 (pretty_env_logger-0.3.0.crate) = 9aa7cda6b21a6367c1d7f5a038f10fb1c6e493551f4a741c3c80ce373e5b3500c3269a80721eaa814696e55b3018c89eeecdd4bbc0254068a85ac811bc21a3e4 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..726edc5 --- /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-pretty_env_logger